104Pro (Rewire Security UK) Heading, Altitude, Battery

Jonathan Adams 6 years ago

I have a 104Pro from Rewire Security in the UK (https://www.rewiresecurity.co.uk/gps-tracker-tk-104-vehicle-car-tracker). I have successfully got this to connect to my Traccar instance using the gps103 driver but I am struggling to get some information out of the device:

  • Heading (Just shows East in the Traccar interface no matter if the device is moving or not)
  • Altitude (no reading given)
  • Battery

Here is the decoded HEX out of the logs (redacted):

imei:864925030157534,001,200625010931,,F,010931.00,A,5X34.X65XX,N,0014X.XX782,W,0.129,100%,0,,,,,,;

The tracking interface that Rewire Security use (https://gpslive.co.uk/) seem to be able to get the information i desire.

Is anyone able to shed some light or help please?

Images
https://imgur.com/ghU9s9K
https://imgur.com/heRY6Cs
https://imgur.com/h0YNgf8

Jonathan Adams 6 years ago

Top photo is Traccar button two are the interface of the other company.

Anton Tananaev 6 years ago

Do you have protocol documentation?

Jonathan Adams 6 years ago
Anton Tananaev 6 years ago

The parameters in question are these ones: 100%,0,,,,,,;. Unfortunately the document doesn't explain those fields.

Jonathan Adams 6 years ago

Yes that documentation does appear to be wrong. I have emailed the manufacture to see if they can send me the protocol documentation.

Jonathan Adams 6 years ago

I went out for a little drive today while a packet capture was running on the port the tracker is sending data into my network on.

Here are a couple of readouts:

imei:864925030157534,001,200625165017,,F,165017.00,A,{LAT REDACTED},N,{LON REDACTED},W,17.646,100%,351.09,,,,,,;
imei:864925030157534,001,200625172927,,F,172927.00,A,{LAT REDACTED},N,{LON REDACTED},W,28.599,100%,191.07,,,,,,;

I can now say that I think the 100% is battery level of the tracker & the next figure is the heading (0 if stationary). I don't think my device reports altitude.

This is what i have worked out so far:

Index Explanation Expected Notes
Header Header imei
ID IMEI Number :{IMEI Number}
1 Keywords ,
2 Time ,
3 SIM Card Number ,
4 GPS Validity ,F/L F = GPS data is valid, L = No GPS signal
5 ??? ,
6 ??? ,A/V Related to Index 4: If F this = A, If L this = V
7 Lattitude ,
8 Lattitude Hemisphere ,N/S
9 Longitude ,
10 Longitude Hesisphere ,E/W
11 Speed ,
12 ??? , Likely tracker battery reading
13 Course , Course/Heading Degrees
14 ??? ,
15 ??? ,
16 ??? ,
17 ??? ,
18 ??? ,
19 ??? ,
Terminator Terminator ;

I'm not a Java programmer so don't really have a clue how to start testing/implamenting a new decoder.

Anton Tananaev 6 years ago

You don't need a new decoder. You just need to update existing one. Is heading still not decoded? It seems like that's the only actionable item here.

Jonathan Adams 6 years ago

Yes it seems like heading is still not decoded.

In the absence of the protocol thats probably the only fix at the moment.