GT06 - pick the right port

andrey9 years ago

Hi

i've got GT06. It transmits strings looking like the tk103 protocol but the 5002 port associated with this protocol doesn't seem to work as the logs show "WARN: Unknown device" error.
when i try 5023 or 5026 which seem to fit for GT06 the "Unknown device" is gone from the logs but my device is still not being recognized by the server as it doesn't show its position on the map although it should.
I used the trackers IMEI as the identifier.
Cannot figure out what am I doing wrong..

2016-02-07 12:40:09  INFO: [06C5320B] connected
2016-02-07 12:40:10 DEBUG: [06C5320B: 5002 < 46.211.141.8] HEX: 283032373034333736393434374250303533353532323730343337363934343729
2016-02-07 12:40:10 DEBUG: [06C5320B: 5002 > 46.211.141.8] HEX: 283032373034333736393434374150303529
2016-02-07 12:40:19 DEBUG: [06C5320B: 5002 < 46.211.141.8] HEX: 283032373034333736393434374250303033353532323730343337363934343748534f31613429
2016-02-07 12:40:19 DEBUG: [06C5320B: 5002 > 46.211.141.8] HEX: 283032373034333736393434374150303131613429
2016-02-07 12:40:24 DEBUG: [06C5320B: 5002 < 46.211.141.8] HEX: 28303237303433373639343437425a30302c3235352c3030332c32373030392c34383033322c32373030392c34303033322c32373030392c34303033312c303030303030313029
2016-02-07 12:40:24  WARN: Unknown device - 027043769447 (46.211.141.8)
2016-02-07 12:40:38 DEBUG: [06C5320B: 5002 < 46.211.141.8] HEX: 28303237303433373639343437425a30302c3235352c3030332c32373030392c34383033322c32373030392c34303033322c32373030392c34303033312c303030303030313029
2016-02-07 12:40:38  WARN: Unknown device - 027043769447 (46.211.141.8)
2016-02-07 12:40:53 DEBUG: [06C5320B: 5002 < 46.211.141.8] HEX: 28303237303433373639343437425a30302c3235352c3030332c32373030392c34383033322c32373030392c34303033322c32373030392c34303033312c303030303030313029
2016-02-07 12:40:53  WARN: Unknown device - 027043769447 (46.211.141.8)


2016-02-07 13:31:34  INFO: [0DDACD6B] connected
2016-02-07 13:31:35 DEBUG: [0DDACD6B: 5023 < 46.211.253.143] HEX: 283032373034333736393434374250303533353532323730343337363934343729
2016-02-07 13:31:41 DEBUG: [0DDACD6B: 5023 < 46.211.253.143] HEX: 283032373034333736393434374250303033353532323730343337363934343748534f31613429
2016-02-07 13:31:48 DEBUG: [0DDACD6B: 5023 < 46.211.253.143] HEX: 28303237303433373639343437425a30302c3235352c3030332c32373030392c34303033322c32373030392c34383033322c32373030392c34303033312c303030303030313029
2016-02-07 13:32:03 DEBUG: [0DDACD6B: 5023 < 46.211.253.143] HEX: 28303237303433373639343437425a30302c3235352c3030332c32373030392c34303033322c32373030392c34383033322c32373030392c34303033312c303030303030313029


2016-02-07 13:15:54  INFO: [5A064B29] connected
2016-02-07 13:15:55 DEBUG: [5A064B29: 5026 < 46.211.143.150] HEX: 283032373034333736393434374250303533353532323730343337363934343731353132313056323233342e343337354e31313335332e30323339453030302e303039333434343030302e303030303030303031304c303030303030303029
2016-02-07 13:16:02 DEBUG: [5A064B29: 5026 < 46.211.143.150] HEX: 283032373034333736393434374250303033353532323730343337363934343748534f31613429
2016-02-07 13:16:30 DEBUG: [5A064B29: 5026 < 46.211.143.150] HEX: 283032373034333736393434374250303033353532323730343337363934343748534f31393829
Anton Tananaev9 years ago

Port 5002 is the right one. You need to use the id reported in the log (027043769447) instead of IMEI number.

andrey9 years ago

Perfect! It now shows the coordinates on the map.
just donated 5 bucks. Your product and efforts to make it better are definately worth much more than that!
Thanks

Anton Tananaev9 years ago

Thanks for support. Did you donate via bitcoin? I don't see any PayPal transactions.

andrey9 years ago

PayPal, have sent you a confirmation to your gmail. :)

bharat9 years ago

can u help me sir ..nw im trying ti run traccar on net beans bt it shows me some error...

bharat9 years ago

it shows me error like

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project traccar: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
'cmd' is not recognized as an internal or external command,
operable program or batch file.

plzz sir if any solution is there thenn plzz mail me if possible that solution;
mail id: pawarbr13@gmail.com