check-packet

gabbapeople/simple-byte-protocol/check-packet

Calculates a packet "checksum". If the calculated "checksum" matches the one mentioned in a packet, then a packet arrived undamaged
check-packet
@/check-packet
Calculates a packet "checksum". If the calculated "checksum" matches the one mentioned in a packet, then a packet arrived undamaged
IN@/packet
CHCKpulse
Triggers a new packet check
CSBbyte
A "checksum" byte value
check-packet
IN
OUT
CHCK
CSB
OK
BAD
BADpulse
Fires on a broken packet
OKpulse
Fires if a packet arrived undamaged
OUT@/packet
To use the node in your project you should have the gabbapeople/simple-byte-protocol library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.