Could be Binary Protocol?

Abel6 years ago

Hi there,

I've been trying to connect a new chinese device, named TR09, and I tried everything.
First of all, I tried all ports on your Chinese clones page.
Then I tried to identify protocol by myself, but when converting Hex to Text, appears some extrange simbols.
The Hex code is the following on the tracker-server.log

78780d0103975180159134620012fe7d0d0a

I tried to find a match on the file, but nothing showed up.

On the thread https://github.com/tananaev/traccar/issues/1452 the user acvardar posted an image, that it's exactly the same device, and thanks to the image, I could find the device password, and I also tried same port as the user said, but still nothing.

Any ideas how to identify the protocol, I tried 20 different ones by now and going up!

Thanks for all your job an attention!

Anton Tananaev6 years ago

It's GT06 protocol, port 5023 in Traccar.

Abel6 years ago

By the way, I also tried the 12 digit ID.

Abel6 years ago

Already tried 5023!

Anton Tananaev6 years ago

OK, show us the logs with port 5023.

Abel6 years ago
2018-02-23 03:07:26 DEBUG: [C30352B3: 5023 < 213.4.164.198] HEX: 78780d0103975180159134620007b9510d0a
Anton Tananaev6 years ago

If you don't know what lines in the log are relevant, please provide full log. Obviously don't post full log into comment directly. Upload it somewhere.

Abel6 years ago

Those are the last four lines, since I changed the port again.

2018-02-23 03:07:24  INFO: [C30352B3] connected
2018-02-23 03:07:26 DEBUG: [C30352B3: 5023 < 213.4.164.198] HEX: 78780d0103975180159134620007b9510d0a
2018-02-23 03:07:26 DEBUG: [C30352B3: 5023 > 213.4.164.198] HEX: 787805010001d9dc0d0a
2018-02-23 03:07:26  INFO: [C30352B3] disconnected
Anton Tananaev6 years ago

It looks like your device sends login message and disconnects straight away.

Abel6 years ago

There we go!

I think I was so fast checking each port, now it's fully working with 5023.

Thank you so much for your quick responses Anton.

Thanks again.