GpsTracker / servers / tk103 /
@Nick Fox Nick Fox authored on 22 Oct 2015
..
coban GPRS protocol.pdf finished the tk103 server 9 years ago
gps306a_b-user manual.pdf finished the tk103 server 9 years ago
readme.md updated tk103 readme 9 years ago
socket-client.php almost completed tk103 server, part 2 9 years ago
tk103-server.php reformatted tk103 server file 9 years ago
readme.md

Please note that I have included 2 PDF manuals within this directory. The first, gps306a_b-user manual, is the actual manual that came with the device we were testing. The second, coban GPRS protocol, is NOT the manual for the device but it is for a very similar device. The reason I have included it is because it explains the gprs protocol and messages very well and is useful knowledge.

tk103-server.php is the actual server. I will explain in a tutorial how it works.

socket-client.php can be used to test the server but is not required once the server is setup and running properly.

this is a log of 3 gps data points received from the ODB gps device we were testing.

root@gps-tracker:~/gps-tracker# php tk103-server.php

new connection: 72.143.228.226:51380

total clients: 1

data: ##,imei:359710049095095,A;

sent LOAD to client

data: 359710049095095;

sent ON to client

data: imei:359710049095095,tracker,151022031050,,F,191050.000,A,5105.9833,N,11404.9573,W,0.01,0.00,,0,0,,,;

data: 359710049095095;

sent ON to client

data: imei:359710049095095,tracker,151022031150,,F,191150.000,A,5105.9832,N,11404.9571,W,0.02,0.00,,0,0,,,;

data: 359710049095095;

sent ON to client

data: imei:359710049095095,tracker,151022031250,,F,191250.000,A,5105.9832,N,11404.9571,W,0.02,0.00,,0,0,,,;