Hello,
I have a GPS tracker that sends the following message in HEX
/ First 32 bits is floating number for Latitude or Temperature
// Next 32 bits is floating number for Longitude or Pressure
// Next 13 bits is integer number for altitude (0-8191m)
// Next 7 bits is integer number for battery level in percent
// Next 7 bits is integer number for speed with S = (S-60)*3 if S > 90
// Next 2 bits is integer number for direction "N","E","S","W"
// Last 3 bits is integer number for operating mode or message composition
Data bd534f4287228a40610d0800
I get the longtitude and latitude with the hex to float with byteconverter but how do i get the 13 bits and 7 bits value?
Thanks in advance for your help.
Philip
I have a GPS tracker that sends the following message in HEX
/ First 32 bits is floating number for Latitude or Temperature
// Next 32 bits is floating number for Longitude or Pressure
// Next 13 bits is integer number for altitude (0-8191m)
// Next 7 bits is integer number for battery level in percent
// Next 7 bits is integer number for speed with S = (S-60)*3 if S > 90
// Next 2 bits is integer number for direction "N","E","S","W"
// Last 3 bits is integer number for operating mode or message composition
Data bd534f4287228a40610d0800
I get the longtitude and latitude with the hex to float with byteconverter but how do i get the 13 bits and 7 bits value?
Thanks in advance for your help.
Philip