H02 protocol gets decoded sometimes.

David Fuller5 months ago

Hi there,

I have some issue using a H02 protocol device, The device is capable to send data every seccond. Data is received by the server but the content is decoded only sometimes. Maybe the protocol is changed for this device. The device is a TK820 form Tkstar. I have received a document as the protocol but as some of china protocol documentation is a mess.

2024-06-14 08:41:57  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740541511406244623712256022580143e014126fffffbff0000000000e20a2a30a9d710000000000000000000000000000000000000000000000000000000000000004b
2024-06-14 08:41:59  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740541521406244623710656022580198e015106fffffbff0000000000e20a2a30a9d710000000000000000000000000000000000000000000000000000000000000004c
2024-06-14 08:42:01  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740541541406244623707156022580307e013118fffffbff0000000000e20a2a30a9d710000000000000000000000000000000000000000000000000000000000000004d
2024-06-14 08:42:03  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740541561406244623705356022580336e003149fffffbff0000000000e20a2a30a9d710000000000000000000000000000000000000000000000000000000000000004e
2024-06-14 08:42:05  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740542031406244623700956022580345e012162fffffbff0000000000e20a2a30a9d710000000000000000000000000000000000000000000000000000000000000004f
2024-06-14 08:42:09  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740542071406244623684556022580428e017145fffffbff0000000000e20a2a30a9d7100000000000000000000000000000000000000000000000000000000000000050
2024-06-14 08:42:11  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740542091406244623677756022580528e018122fffffbff0000000000e20a2a30a9d7100000000000000000000000000000000000000000000000000000000000000051
2024-06-14 08:42:13  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740542101406244623675856022580598e019106fffffbff0000000000e20a2a30a9d7100000000000000000000000000000000000000000000000000000000000000052
2024-06-14 08:42:15  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740542121406244623674556022580771e020091fffffbff0000000000e20a2a30a9d7100000000000000000000000000000000000000000000000000000000000000053
2024-06-14 08:42:15  INFO: [T1ffd0f6e] id: 7028982574, time: 2024-06-14 08:42:12, lat: 46.39458, lon: 22.96795, speed: 20.0, course: 91.0
2024-06-14 08:42:23  INFO: [T1ffd0f6e: h02 < 90.134.39.252] 2470289825740542221406244623679456022581620e022076fffffbff0000000000e20a2a30a9d7190000000000000000000000000000000000000000000000000000000000000054
David Fuller5 months ago

solved the issue using the <entry key='h02.messageLength'>47</entry>