Check_CrcXOR2Comp

Description:

This method calculates the CRC by XORing the data bytes and taking the 2's complement of the sum.

Parameters:

[Required]

Int

"First byte to include (0=first byte in layer)"


[Required]

Int

"Seed"


[Optional]

List

"Swap Result"

(Default value: NoSwap)

List values:

NoSwap

Swap

Example:

FIELD crc (Fixed 2) (Hex) "CRC" VERIFY (Check_CrcXOR2comp 0)