Do you have protocol documentation?
Dear Anton,
Thanks for your prompt response. I've requested the manufacturer several times to share the protocol information yet for some reason I haven't received any information. The closest document I could refer was the one I downloaded from your website "h02_cantrack_secumore.pdf" (thank you for that).
I could actually point the device to your server if that could be of any use. Again I highly doubt that you'll have the time to investigate on this issue and I also feel that its too much to ask. So I'll keep looking for the right protocol documentation and will share with you. Meanwihile, let me try to intercept the communication between the device and secumore server using a redirecting software like DDE server and see if I could gather any info on the protocol.
Thanks again!
-Anto
Dear Anton,
Greetings!
Given below is the link to the revised version of cantrack_h02_protocol file, revised on Nov, 2018 and the changes are highlighted in yellow.
please note that the manufacturer calls this as A3 protocol and is applicable to G01 G02 G02M G05 GT06 G200 TK100 TK200A type of devices.
Kindly review the above protocol if time permits and help me fix the issue.
Thanks a lot for your support.
-Anto
I don't see this format anywhere in the doc:
*HQ,865205037766861,HTBT,40#
Neither do I. Yet this is what the manufacturer had given. :(
Thanks for reviewing
-Anto
Dear Anton,
Greetings!
After some investigation, I found that the last paramter in the below message (i.e. 40) actually represents the battery percentage of the device. And the device doesn't send battery info along with the periodic location information message. Perhaps that's why traccar isn't displaying the battery percentage. And I'm still trying to figure out the offline issue. I'll post more details once I figure out a way to fix the issue.
*HQ,865205037766861,HTBT,40#
Thanks for your support.
-Anto
Dear Anton, I too have problems with the H02 protocol for the G200 device, I contacted Cantrack and managed to obtain the protocol:
Attentions: Server MUST response to
login packet and heartbeat packet, or
else data may failed to upload server.
Heartbeat data:
Model: All Models except G200
*XX,YYYYYYYYYYYYYYY, HTBT#
*HQ,135790246811220,HTBT#
Model: G200
*XX,YYYYYYYYYYYYYYY, HTBT,Bat_Percent#
*HQ,135790246811220,HTBT,100#
Login data:
*HQ, YYYYYYYYYYYYYYY,V0#
*HQ,135790246811220,V0#
Could you update the protocol file and send it to me?
Thanks for your time
Luciano
If you are interested in sponsoring the work - sure. Please send us an email to discuss details.
Hello Luciano, release 4.12 has a fix to the issue. Kindly update if you haven't updated already. Also now the battery percentage of G200 is being properly updated.
Thanks Anto!
Hello to all, latest traccar version includes the heartbeat at h02 protocol?
Because i have 3 devices which use 5013 port and when they goes to sleep and sending only heartbeat, not recognized from traccar, shows them unknown and after some hours offline until they move or ignition on again.
Logs?
Nothing there when in sleep mode, like device not communicating at all.
Only when starts moving they send.
867232055409099 h02 2a48512c3836373233323035353430393039392c56312c3133313432332c562c333830342e35383331332c4e2c30323333362e37323434332c452c3030302e30302c3030302c3136303432342c464646464646464623
867232055409099 h02 2a48512c3836373233323035353430393039392c56312c3133313531322c412c333830342e36313536332c4e2c30323333362e37323038382c452c3030332e37382c3333392c3136303432342c464646464646464623
Sounds like the situation is very different from this topic, so it's unrelated.
Hello supporters,
Greetings!
I have a battery operated tracker device (G200) that works on H02 protocol and It's running fine on secumore server. However on traccar, the device goes offline after say 30 hours and remains offline until the device was manually restarted.
In the traccar server log I found the device has been sending the following heartbeat once in every 2 minutes
hex:
2a48512c3836353230353033373736363836312c485442542c343023
Equivalent String:
*HQ,865205037766861,HTBT,40#
Note:
*XX,YYYYYYYYYYYYYYY, HTBT#
is the data structure that was mentioned in the protocol document https://www.traccar.org/protocols/ h02_cantrack_secumore.pdf . ( i.e. without any parameter after HTBT)For some reason traccar isn't recognizing/acknowledging the above. And I suspect that could be the reason why the device goes offline after few hours.
I'd really appreciate if someone sheds light on this issue.
Thanks!