Digitel MPC Manual
Page 51 of 72
CRC Checksum Error
The following is an example of the CRC checksum calculation.
1.
The response from the DIGITEL MPC to command 01 is:
00 OK 00 DIGITEL MPC DC
2.
Table III-8 gives the values of the response.
3.
Add all values in Table III-10 to get 4DCh
4.
Divide by 100h (256d). 4DCh
÷
100h = 4h with a remainder of DCh.
5.
The remainder, DCh, is the CRC.
Table III-10. CRC Checksum Calculation.
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.