vscphlp_convertEventExToCanal

vscphlp_xxx

bool vscphlp_convertEventExToCanal( canalMsg *pcanalMsg, 
                                       const vscpEventEx *pvscpEvent )

Parameters

pcanalMsg

CANAL message that will hold result.

pvscpEvent

VSCP ex event that will be converted.

Return Value

VSCP_ERROR_SUCCESS on succes.

Description

Convert VSCP event ex to CANAL message.

Example

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

See Also

vscphlp_convertCanalToEvent vscphlp_convertCanalToEventEx vscphlp_convertEventToCanal


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 ""