MPCe/LPCe Users Manual
37
CRC Checksum Error
The following is an example of the CRC checksum calculation.
1. The response from the controller to command 01 is:
00 OK 00 DIGITEL MPC DC
2. The table below gives the values of the response.
3. Add all values below to get 4DCh
1
.
4. Divide by 100h (256d). 4DCh
÷
100h = 4h with a remainder of DCh.
5. The remainder, DCh, is the CRC.
Response
Value (hex)
0
30
0
30
space
20
O
4F
K
4B
space
20
0
30
0
30
space
20
D
44
I
49
G
47
I
49
T
54
E
45
L
4C
space
20
M
4D
P
50
C
43
space
20
1
h
indicates a hexadecimal (base 16) value while
d
indicates a decimal (base 10) value.