vscphlp_convertEventToCanal

bool vscphlp_convertEventToCanal( canalMsg *pcanalMsg, 
                        const vscpEvent *pvscpEvent )
xxxx

Parameters

pcanalMsg

CANAL message that will hold result.

pvscpEvent

VSCP event that will be converted.

Return Value

VSCP_ERROR_SUCCESS on succes.

Description

Convert VSCP event to CANAL message.

Example

if ( VSCP_ERROR_SUCCESS == vscphlp_convertEventToCanal( &canalMsg, pEvent ) ) {
    printf( "OK vscphlp_convertEventToCanal id=%08X\n", canalMsg.id );
}
else {
    printf( "\aError: vscphlp_convertEventToCanal\n");
}

See Also

vscphlp_convertCanalToEvent
vscphlp_convertCanalToEventEx


Very Simple Control Protocol
Wed Jul 04 2018 19:49:59 GMT+0000 (UTC)
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).

results matching ""

    No results matching ""