ZX302

Miliaris5 years ago

Hi guys, I just installed last distribution on Windows and tried to use it with Android Traccar Client (it works! :-).
Then I tried with a Topin ZX302 but I can’t seem to make it work properly.
I tried everything listed on https://www.traccar.org/troubleshooting/ but without results.
Ports are open and server is reachable by ZX302 but It seems to me that protocol is not understood (am I missing something?):

(these are logs from Topin ZX302)
2020-02-11 17:09:46 INFO: [b924b24b] connected
2020-02-11 17:09:46 INFO: [b924b24b: osmand < 109.118.125.241] HEX: 78780d010359339075240394510d0a
2020-02-11 17:09:46 INFO: [b924b24b: osmand > 109.118.125.241] HEX: 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a (HTTP/1.1 400 Bad Request)
2020-02-11 17:09:46 INFO: [b924b24b: osmand < 109.118.125.241] HEX: 787801080d0a (heartbeat packet)
2020-02-11 17:10:34 INFO: [b924b24b: osmand < 109.118.125.241] HEX: 787801080d0a (heartbeat packet)
2020-02-11 17:11:22 INFO: [b924b24b: osmand < 109.118.125.241] HEX: 787801080d0a (heartbeat packet)
2020-02-11 17:11:26 INFO: [e7400ec2] connected
2020-02-11 17:11:26 INFO: [e7400ec2: osmand < 198.98.57.246] HEX: 05020002
2020-02-11 17:11:34 INFO: [8258662b] connected
2020-02-11 17:11:34 INFO: [8258662b: osmand < 198.98.57.246] HEX: 05020002
2020-02-11 17:11:42 INFO: [b3e6f1d9] connected
2020-02-11 17:11:43 INFO: [b3e6f1d9: osmand < 93.70.119.196] HEX: 03
2020-02-11 17:11:52 INFO: [8258662b] disconnected
2020-02-11 17:11:52 INFO: [e7400ec2] disconnected
2020-02-11 17:12:12 INFO: [b924b24b: osmand < 109.118.125.241] HEX: 787801080d0a
2020-02-11 17:13:03 INFO: [b924b24b: osmand < 109.118.125.241] HEX: 787801080d0a

Is there anything else I could try?

Thank you in advance

Anton Tananaev5 years ago

Why are you using OsmAnd protocol for this device? Read this:

https://www.traccar.org/clones/

Correct port is most like likely 5023.

Miliaris5 years ago

My fault, I did not understand that each device/protocol used a dedicated port (I were redirecting all devices to 5055 port).
Using port 5023 did the trick (even if timestamp was 1970-01-01 and GPS position was 0,0).

Thank you

Anton Tananaev5 years ago

What did you think we have different ports for? Why did you pick 5055?

Miliaris5 years ago

I simply ran Traccar out if the box after watching the video on the homepage. Since port 5055 is used fot Traccar Client - and since port is configurable via SMS on the ZX302 - I thought I could use the same port. My mistake, sorry.