vscphlp_getCANALidFromVSCPevent

unsigned long 
vscphlp_getCANALidFromVSCPevent( const vscpEvent *pEvent )

Parameters

pEvent

VSCP event.

Return Value

CANAL (CAN) id.

Description

Get CANAL id (CAN id) from VSCP event.

Example

constr_canal_id2 = vscphlp_getCANALidFromVSCPevent( pEvent ); 
if ( 0x0c0a0600 == constr_canal_id2 ) {
    printf("Nickname = %08X\n", constr_canal_id2 );
}
else {
    printf("\aError: vscphlp_getCANALidFromVSCPevent = %08X\n", constr_canal_id2 );
}

See Also

vscphlp_getCANALidFromVSCPeventEx


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