vscphlp_calc_crc_Event

short vscphlp_calc_crc_Event ( vscpEvent *pEvent, 
                                int bSet )

Parameters

pEvent

VSCP event.

bSet

If true (non zero) write the CRC into the event structure crc member.

Return Value

VSCP CRC.

Description

Calculate VSCP CRC and optionally set it.

Example

mmmm

unsigned short crc = vscphlp_calc_crc_Event( pEvent, false );
printf("CRC = %04X\n", crc );

See Also

vscphlp_calc_crc_Event


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