Traccar Client Protocol
This protocol is used only by old versions of Traccar Client. New versions use the
OsmAnd protocol.
The protocol uses TCP as a transport layer. Messages are separated by carriage return and line feed characters (\r\n).
Login (sent once a TCP connection is establshed):
$PGID,123456789012345*0F\r\n (where 123456789012345 - IMEI or other unique id)
Simple location report format is just a standard NMEA GPRMC sentence:
$GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68\r\n
- 225446 - Time of fix 22:54:46 UTC
- A - Navigation receiver warning A = OK, V = warning
- 4916.45,N - Latitude 49 deg. 16.45 min North
- 12311.12,W - Longitude 123 deg. 11.12 min West
- 000.5 - Speed over ground, Knots
- 054.7 - Course Made Good, True
- 191194 - Date of fix 19 November 1994
- 020.3,E - Magnetic variation 20.3 deg East
- *68 - Checksum
Extended location report format:
$TRCCR,20140111000000.000,A,60.000000,60.000000,0.00,0.00,0.00,50,*3a\r\n
- 20140111000000.000 - Date and tim of fix 2014-01-11 00:00:00.000 UTC
- A - Navigation receiver warning A = OK, V = warning
- 60.000000 - Latitude in degrees 60 deg (negative for south hemisphere)
- 60.000000 - Longitude in degrees 60 deg (negative for west hemisphere)
- 0.00 - Speed over ground, Knots
- 0.00 - Course Made Good, True
- 0.00 - Altitude in meters
- 50 - Battery level