Specifications

Title: RF Protocol
Doc.#: XCT-RFP-EV100 (Rev. 1)
[CONFIDENTIAL]
Page 9 of 26
Check Sum
1
Hex
See “Check Sum calculation
method”
ETX
1
03
Hex
End Data
Check Sum Calculation method
Check Sum = (BYTE)(Command1 + Command2 + Length(0) + Length(1) + Data(0) +
Data(1) + Data(n) )
Example 1:
0x01 0x00 0x16 0x00 0x00 0x16 0x03
CMD1 CMD2 Length(0) Length(1) Check Sum
0x00 + 0x16 + 0x00 + 0x00 0x16
0x16 = 0x00 + 0x16 + 0x00 + 0x00
Excluding Stx, Etx, CheckSum
Check Sum = (BYTE)(Command1 + Command2 + STATE + Length(0) + Length(1) +
Data(0) + Data(1) + Data(n) )
Example 1:
0x01 0x00 0x16 0x01 0x00 0x00 0x16 0x03
CMD1 CMD2 STATE Length(0) Length(1) Check Sum
0x00 + 0x16 + 0x01 + 0x00 + 0x00 0x17
0x17 = 0x00 + 0x16 + 0x01 + 0x00 + 0x00
Excluding Stx, Etx, CheckSum