io field values

Grunt 4 years ago

I have an ST-901L that reports fields io1-5 with various numbers, how can I figure out what those mean?

Anton Tananaev 4 years ago

You can probably check protocol documentation.

Grunt 4 years ago

Ok, so assuming https://www.traccar.org/protocol/5013-h02/document.pdf is the correct documentation, how do I get an output to manually parse based on what's in the documentation and how do I know what traccar is mapping to a given field?

Anton Tananaev 4 years ago

There are a lot of variations of this protocol, so you need the one for your specific device. That's the reason those values are decoded as generic "io" because different devices use it for different things.

Grunt 4 years ago

I got the protocol documentation, how do I go about getting it in the....command structure?

Grunt 4 years ago

Alright, I figured out the command in the logs is in hex format and needs to be decoded into text. However, I've gotten as far as speed on the decoded text and am now lost. Any chance someone can look at the attached protocol document and fill in the remaining fields? https://www.mediafire.com/file/nmvxss0ovsmkl7m/SinoTrack_TQ.pdf/file

*HQ,0123456789,V1,002852,A,0123.4567,N,12345.6789,W,023.22,041,130722,FFFFDFFF,310,00,44926,31127553#

Manufacturer
Tracker ID
CMD
Time (HHMMSS)
Data Validity
Latitude
Latitude Direction
Longitude
Longitude Direction
Speed

Grunt 4 years ago

I think i've figured out all the fields, but I can't make sense of the vehicle status field, what would FF:FF:DF:FF be?

Manufacturer
Tracker ID
CMD
HHMMSS Time
Data Validity
Latitude
Latitude Direction
Longitude
Longitude Direction
Speed
Vehicle Heading
DDMMYY
vehicle_status
net_mcc
net_mnc
net_lac
net_cellid

Anton Tananaev 4 years ago

It's a bit mask.