Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the protocol of GPS tracking device TK103?

Tags:

location

gps

I am currently working on getting a location of a vehicle to a server. I am using TK103 as my GPS device. It is sending ##,imei:<my_imei>,A; to the server when the server is started.

This is the only document of the protocol I could find on internet: https://web.archive.org/web/20140401000000*/http://www.zhyichina.com/en/gpstracking/gprs-data-protocol.xls

I followed it. But it does not work properly. It needs to send "ON" command many times to work and any of other commands did not work. Could you please help me to identify the problem.

like image 359
user3218743 Avatar asked Jan 21 '14 10:01

user3218743


1 Answers

When you get message like ##,imei:123456789012345,A; you need to respond with LOAD.

When you receive just IMEI number like 123456789012345; you need to respond with ON.

Here you can find the source code of the decoder for this protocol: https://github.com/tananaev/traccar/blob/master/src/org/traccar/protocol/Gps103ProtocolDecoder.java

like image 166
Anton Tananaev Avatar answered Sep 25 '22 12:09

Anton Tananaev