NEWBIE HERE and have newbie question problems connecting china gps device

dhingdong7 years ago

SIR ANTON GOOD DAY

I'm new in gps server setup, the Tracar Server is really nice development project of yours

I got a problem tracking my china gps device TK103 (port 5001,5002) with 12 digit codes adding 0 on the first digit still no luck....

I installed it on my own VPS (ubunto OS)

true my phone i can connect to its specific port 5055

but those china devices i can't really see even in server-logs seems no where to find them

checking the port if its open its open ( using your port check tool)

I already saw the troubleshoot guide please help for this

Anton Tananaev7 years ago

if you followed the troubleshooting guide, you should have your answer. From what you said, it seems like a device issue.

dhingdong7 years ago

sir anton do you skype or gmail something so that you can help me with i already found the error seems the port but im not sure which port i already decode but i dont know how to use the tool Tk103ProtocolDecoderTest.java

Anton Tananaev7 years ago

Can I see the HEX messages from the log?

dhingdong7 years ago
2017-01-25 10:12:23  INFO: [B2D19B4A] connected
2017-01-25 10:12:23 DEBUG: [B2D19B4A: 5003 < 112.198.101.161] HEX: 23232c696d65693a3836383638333032353431303235332c413b
Anton Tananaev7 years ago

It uses GPS103 protocol, so correct port is 5001. Use full IMEI as a device id. Also check this page:

https://www.traccar.org/ports-for-tk-gt-and-other-gps-devices/

dhingdong7 years ago

ohhh so i thought its a tk because my gps device is a tk103 well sure chinese maybe sometimes wrong in the description btw sir anthon thank you for your help much appreciated

chmanos6 years ago

Hi,

I have a chineze iwondlex watch.

I just connected a device on port 5001 and got the following on log file

2018-05-30 18:22:54 DEBUG: [CD90635A: 5001 < 188.73.255.118] HEX: 5b33472a363230393137323338382a303030392a4c4b2c302c302c39395d
2018-05-30 18:23:14  INFO: [CD90635A] disconnected
2018-05-30 18:23:47  INFO: [9799D0F1] connected
2018-05-30 18:23:47 DEBUG: [9799D0F1: 5001 < 188.73.195.74] HEX: 5b33472a363230393137323338382a303030392a4c4b2c302c302c39395d

How would I know which is the correct port to use?
The HEX tool gives this [3G*6209172388*0009*LK,0,0,97]

Anton Tananaev6 years ago

Read this:

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

Your device uses watch protocol, port 5093.