AT08 Totem Protocol

davidfungf2 years ago

The GPS device uses totem protocol (tcp port 5007). The data is well received on the Traccar server. Both IMEI (867648043842168) and GPS coordinates are found in the log file. How do I config my device id in the GUI? I tried different combinations without success.

2022-07-28 09:00:47  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303030303032323037323830393030343634313230343746334237393030323232323130303039392e3930303030303030323231382e383739394e31313431332e3031363345303534353635

After decode

$$0103AA867648043842168|08000000220728090046412047F3B79002222100099.900000002218.8799N11413.0163E054565
Anton Tananaev2 years ago

Both IMEI (867648043842168) and GPS coordinates are found in the log file.

Doesn't it mean you already configured everything? Or maybe I'm misunderstanding something.

davidfungf2 years ago

Yes, everything looks fine except I don't how to config the device identifier. I tried 0103AA867648, 867648043842, 867648043842168 ... without success. The device is still offline in the GUI even though the device data is found in the log file.

$$0103AA867648043842168|08000000220728090046412047F3B79002222100099.900000002218.8799N11413.0163E054565

Server log

2022-07-28 13:42:05  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303030303032323037323831333432303334303330343746334237393030323232323130303039392e3930303030303030323231382e383739394e31313431332e3031363345313130383635
2022-07-28 13:42:34  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303030303032323037323831333432333334303330343746334237393030323232323130303039392e3930303030303030323231382e383739394e31313431332e3031363345313130393637
2022-07-28 13:43:05  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303030303032323037323831333433303334303330343746334237393030323232323130303039392e3930303030303030323231382e383739394e31313431332e3031363345313131303644
2022-07-28 13:43:34  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303030303032323037323831333433333334303430343746334237393030323232323130303039392e3930303030303030323231382e383739394e31313431332e3031363345313131313638
Anton Tananaev2 years ago

OK, so you don't actually see coordinates in the log. You just see the raw hex data. That was the confusing part.

I'm pretty sure 867648043842168 is the right id, but it doesn't look like the data is decoded, so my guess is the format is not supported.

davidfungf2 years ago

I am afraid we have to implement a new protocol or develop an adapter to translate the protocol by ourselves. Thank you!

2022-07-28 14:27:04  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343237303234303230343746334237393035323232343230303030322e3930303030303030323231382e373737394e31313431332e3036353645313139383645
2022-07-28 14:27:33  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343237333234303230343746334237393035323232343230303030312e3530303030303030323231382e373737394e31313431332e3036353645313139393633
2022-07-28 14:28:04  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343238303234303230343746334237393033323232343230303030322e3830303030303030323231382e373737394e31313431332e3036353645313230303634
2022-07-28 14:28:33  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303030303032323037323831343238333234303230343746334237393030323232343230303039392e3930303030303030323231382e373737394e31313431332e3036353645313230313632
2022-07-28 14:29:04  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343239303234303130343746334237393035323232373630303030312e3630303030303030323231382e373737394e31313431332e3036353645313230323638
2022-07-28 14:29:33  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343239333234303230343746334237393035323232373630303030322e3130303030303030323231382e373737394e31313431332e3036353645313230333644
2022-07-28 14:30:04  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343330303234303230343746334237393034323232373630303030322e3830303030303030323231382e383032304e31313431332e3033343045313230343646
2022-07-28 14:30:33  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343330333234303230343746334237393035323232373630303030322e3130303030303030323231382e383032304e31313431332e3033343045313230353635
2022-07-28 14:31:04  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343331303234303230343746334237393034323232373630303030322e3830303030303030323231382e383032304e31313431332e3033343045313230363643
2022-07-28 14:31:33  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303030303032323037323831343331333234303230343746334237393030323232373630303039392e3930303030303030323231382e383032304e31313431332e3033343045313230373644
2022-07-28 14:32:04  INFO: [T9978cbd8: totem < 58.64.210.135] 24243031303341413836373634383034333834323136387c303830303430303032323037323831343332303234303230343746334237393034323232373630303030322e3730303030303030323231382e383032304e31313431332e3033343045313230383645
Anton Tananaev2 years ago

Send a pull request if you manage to implement it.