I’ve uploaded the universal tracker code on my SODAQONE beta board from March.
The trackers seems to work pretty good as long as you keep the original settings in place.
I’ve connected it to the KPN thingpark and get the following data readout in the wlogger:
MType : UnconfirmedDataUp
Flags : ADR : 1, ADRAckReq : 0, ACK : 0
Mac (hex) :
Data (hex) : e5319257ff206f55f31e2d64ab02ffff09009005ff
On the Sodaq Universal Tracker Github page it says that the data should read as follows:
LoRa Frame content
Description Length
Epoch Timestamp long (4)
Battery voltage (between 3 and 4.5 V) uint8 (1)
Board Temperature (degrees celcius) int8 (1)
Lat long (4)
Long long (4)
Altitude (MSL in meters below sea level is set to FFFF) uint16 (2)
Speed (SOG * 100 km/h) uint16 (2)
Course (COG) uint8 (1)
Number of satellites uint8 (1)
Time to fix (seconds, FF = no fix, in that case the above position is the last known) uint8 (1)
Plus 0 - 3 of the following 10 bytes:
Previous fix (seconds ago, FFFF means longer than) uint16 (2)
Lat long (4)
Long long(4)
I’m new to converting HEX data etc. So all help is welcome.
Right now I can’t find the GPS coordinates within the data.
How do you all read and convert this data?
Is there an easy way to convert it with a PHP script for on my server?