Y
ybbaps
Unregistered / Unconfirmed
GUEST, unregistred user!
48 42 08 00 00 40 00 00 cd 07
48 42 08 00 00 41 00 00 dd 26
48 42 08 00 00 41 01 00 dc 26
48 42 08 00 00 42 00 00 ed 45
48 42 08 00 00 42 01 00 ec 45
48 42 08 00 00 43 00 00 fd 64
48 42 08 00 00 43 01 00 fc 64
48 42 08 00 00 46 00 00 ad c1
48 42 08 00 00 46 01 00 ac c1
48 42 08 00 00 44 00 00 8d 83
48 42 08 00 00 44 01 00 8c 83
48 42 08 00 00 03 00 00 b5 a0
48 42 08 00 00 03 05 00 b0 a0
48 42 08 00 00 03 06 00 b3 a0
48 42 08 00 00 03 01 00 b4 a0
48 42 08 00 00 03 01 01 b4 a1
48 42 08 00 00 03 00 00 b5 a0
上面16组数为串口实测所得.
1、知前面的2个数据为数据头,接着的6个数为数据,最后两个数为CRC16检验码.
2、前面的2个数据即数据头不参加CRC16计算
请问如何知道该CRC检验码是如何计算出来的.
请各位大侠拔刀相助,拉我一把.
48 42 08 00 00 41 00 00 dd 26
48 42 08 00 00 41 01 00 dc 26
48 42 08 00 00 42 00 00 ed 45
48 42 08 00 00 42 01 00 ec 45
48 42 08 00 00 43 00 00 fd 64
48 42 08 00 00 43 01 00 fc 64
48 42 08 00 00 46 00 00 ad c1
48 42 08 00 00 46 01 00 ac c1
48 42 08 00 00 44 00 00 8d 83
48 42 08 00 00 44 01 00 8c 83
48 42 08 00 00 03 00 00 b5 a0
48 42 08 00 00 03 05 00 b0 a0
48 42 08 00 00 03 06 00 b3 a0
48 42 08 00 00 03 01 00 b4 a0
48 42 08 00 00 03 01 01 b4 a1
48 42 08 00 00 03 00 00 b5 a0
上面16组数为串口实测所得.
1、知前面的2个数据为数据头,接着的6个数为数据,最后两个数为CRC16检验码.
2、前面的2个数据即数据头不参加CRC16计算
请问如何知道该CRC检验码是如何计算出来的.
请各位大侠拔刀相助,拉我一把.