I have got an older Xexun device connected to port 5006. Tracking is OK but when device is idle it is show as online. When the device is not moving it only send hearbeats which does not seem to get recognised.
Here some info from the log:
Line 5635: 2018-05-10 09:25:39 INFO: [8507A53B] connected
Line 5636: 2018-05-10 09:25:40 DEBUG: [8507A53B: 5006 < 89.200.6.224] HEX: 484920303133323236303034313235303135
Line 5737: 2018-05-10 09:35:38 DEBUG: [8507A53B: 5006 < 89.200.6.224] HEX: 484920303133323236303034313235303135
Line 5881: 2018-05-10 09:45:37 DEBUG: [8507A53B: 5006 < 89.200.6.224] HEX: 484920303133323236303034313235303135
Line 6065: 2018-05-10 10:05:36 DEBUG: [8507A53B: 5006 < 89.200.6.224] HEX: 484920303133323236303034313235303135
Line 6237: 2018-05-10 10:15:36 DEBUG: [8507A53B: 5006 < 89.200.6.224] HEX: 484920303133323236303034313235303135
... Device is still shown offline even if tcp/ip session is up.
Line 14062: 2018-05-10 21:35:18 DEBUG: [8507A53B: 5006 < 89.200.6.224] HEX: 484920303133323236303034313235303135
... here I force the device to send its position
Line 14090: 2018-05-10 21:38:53 DEBUG: [8507A53B: 5006 < 89.200.6.224] HEX: 3138303531303231333835302c2b33313635343235363930352c4750524d432c3139333835302e3030302c412c353232332e343730332c4e2c30303531302e383030352c452c302e30302c3230312e36352c3130303531382c2c2c412a36412c462c2c20696d65693a3031333232363030343132353031352c30362c47534d3a31382c2d352e392c463a342e3238562c312c3134362c32393336362c3230342c30382c304432412c434141360a0d
Line 14091: 2018-05-10 21:38:53 INFO: [8507A53B] id: 013226004125015, time: 2018-05-10 21:38:50, lat: 52.39117, lon: 5.18001, speed: 0.0, course: 201.7
... And now it shows online.
As the heartbeat does contain the imei nr., is it possible to have the heartbeat recognised as online signal?
Lex
Do you have protocol documentation?
I do have a manual with some protocol documentation from the device manufacturer and additional documentation from the dutch importer of the device. It may have customized firmware in it. I got the device years ago from tracktrack.nl. Probably it is a xexun tk101 or clone.
Lex
I have got an older Xexun device connected to port 5006. Tracking is OK but when device is idle it is show as online. When the device is not moving it only send hearbeats which does not seem to get recognised.
Here some info from the log:
... Device is still shown offline even if tcp/ip session is up.
... here I force the device to send its position
... And now it shows online.
As the heartbeat does contain the imei nr., is it possible to have the heartbeat recognised as online signal?
Lex