Hex decodes to junk string and does device have to use port 5XXX?

Gareth Curtis6 years ago

Hi there,

Maybe I'm missing something but I have one of those cheap Chinese watches (Wonlex GW100) and I'm trying to get it to work with Traccar. I have tried all of the ports in the Chinese clones page and I can always see the Hex messages but they always decode to junk strings. I wondered if some encryption was present but a) this is a cheap watch and b) I read that Anton said very few hardware GPS devices offer encryption so it's this.

This is an example of what I get:

ff41515348002b0100000074d4a89052bca31ec5a5d811a087e6b8b766b21adfa520206398f331af829f765ce04a67aa

Translates to:

[REMOVED BINARY DATA]

I did notice this page:

http://www.gps-trace.live/index.php?do=devices

Says it uses port 3359. And actually, all those devices in that pages use ports of 3XXX yet Traccar says all ports are 5XXX so again, please can someone tell me what I'm missing.

Does Traccar only support a device if it's port is 5XXX?

Any help much appreciated.

Thank you,

Gareth.

Anton Tananaev6 years ago

Do you have protocol documentation?

Gareth Curtis6 years ago

Hi Anton - no sorry. Been doing some searching online to try and find some but to no avail....

Gareth Curtis6 years ago

Just found this!

https://www.traccar.org/forums/topic/watch-gps-device-from-wonlex/

So it is maybe encrypted by the looks of it.....

Gareth Curtis6 years ago

Would you mind answering the question about the numbers though - does Traccar only support connections in the range 5XXX? Thanks.

Anton Tananaev6 years ago

I fail to see the relevance of this question. You can configure Traccar to use any ports you want.

Gareth Curtis6 years ago

Yes, I realise that. But I'm asking what the point of this page is then:

https://www.traccar.org/devices/

All your supported devices start with 5.

Yet on that other page I reference above, they all start with 3. What does that mean then?

Sorry - I don't understand why. I'm sorry if it's a silly question.

Anton Tananaev6 years ago

I really don't understand why not. Every software vendor picked their own port numbers. There is no standard about numbering ports.

Gareth Curtis6 years ago

OK. I just find it weird that if that's the case then as I say, why all yours start with 5 and all those others start with 3. Some others use 8. If all the manufactures were picking numbers and there is no standard, I'd just expect it to be more random, that's all.

And I didn't know if your supported devices page meant that it HAD to have a 5X port number, that's all.

Thanks for the help.

Anton Tananaev6 years ago

Supported devices list helps you to figure out Traccar port number for specific device model. That's basically the main purpose of the page.