GatorProtocol Duplicate Data packets

hageethr8 years ago

Hi Anton,

I have few M508 devices that use GatorProtocol and its communicate via UDP.
I got multiple duplicate location packets in every 7 seconds for about 1min after that location is changed and sends duplicate location packets for new location.
im greatly appreciate If you can look into this.
Thanks.

Anton Tananaev8 years ago

I need server log file and protocol documentation.

hageethr8 years ago

I have found the Error, we have to send reply to every position packet that sent by device.i think that part not included in traccar server(for Gator protocol).
you already have below protocol documents in your https://www.traccar.org/protocols/ page

(Gator vehicle tracker communication protocol.doc)
(S208 S228 protocolENGLISH-st.doc)

please refer GPRS data echo instruction-21
for more details.

Anton Tananaev8 years ago

As far as I can see, it's already implemented in Traccar server.

hageethr8 years ago

But device sends same packet for one minute.

Anton Tananaev8 years ago

Documentation is not very clean on when server has to send acknowledgement message.

hageethr8 years ago

I have contacted technical support of manufacture they said reply must sends to every position packet.

Anton Tananaev8 years ago

I have added response to every message.

hageethr8 years ago

Please tell me which traccar server update has this feature.

Anton Tananaev8 years ago

You can either wait for next release of compile it from source.

hageethr8 years ago

I can compile it from source where can i get it?
and also please leave a small guide to how to do it.
thanks lot

Anton Tananaev8 years ago

Have you tried to search for that information?

https://www.traccar.org/build/

hageethr8 years ago

Thanks I have gone through that page,
if i download https://github.com/tananaev/traccar, will it have the new update?

Anton Tananaev8 years ago

Yes.

Jon Thorne7 years ago

Hi Anton,

I am having a similar problem with the gator protocol. I am getting the position data, but it is sending multiple times at it is not receiving the acknowledgement response from the server. I have checked the code and it is sending a response and the log below show that it tries to respond but there seem to be an error sending. The device is using a UDP protocol, perhaps the problem is that it cannot send a reply because of UDP? Can you please let me know your thoughts on this? Is there anything else I should check?

2018-04-25 07:38:09 DEBUG: [0093592F: 5052 < 114.125.8.45] HEX: 24248000310ca23282180425153709000322371412180900000000c04700005a0b070000020300ff000000030000000000000000640d
2018-04-25 07:38:09 DEBUG: [0093592F: 5052 > null] HEX: 2424210005640000010d
2018-04-25 07:38:09  WARN: [0093592F] error - NotYetConnectedException (... < GatorProtocolDecoder:70 < *:88 < ExtendedObjectDecoder:58 < ...)
2018-04-25 07:38:09  INFO: [0093592F] id: 13512345002, time: 2018-04-25 15:37:09, lat: 0.111111, lon: 111.111111, speed: 0.0, course: 0.0