|
由"飞翔的企鹅"编写的USB串口通信,在接收长数据时,会出现接收不完整的情况,只有数据的后半段,哪位大神有解决办法,跪求.实际数据:
68 06 00 10 79 05 00 49 20 ED 3A B7 AA 00 25 14 00 1C 0A 16 34 36 30 31 31 33 31 31 31 38 37 33 36 38 30 38 36 31 32 38 32 30 34 32 31 39 38 31 30 33 37 22 0C 01 20 00 68 01 16 7F 00 00 00 0A 00 00 00 B9 22 00 00 BB 22 00 00 02 00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 E5 16
有时接收到数据:
00 00 00 B9 22 00 00 BB 22 00 00 02 00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 E0 16
有时接收到数据:
36 38 30 38 36 31 32 38 32 30 34 32 31 39 38 31 30 33 37 22 0C 01 20 00 69 01 0B 7F 00 00 00 0A 00 00 00 B9 22 00 00 BB 22 00 00 02 00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 CF 16
|
|