Zane zTrack One Operating Manual page 12

Table of Contents

Advertisement

Motion GPS fix
o
Sample Payload:
Payload structure (11 bytes):
Port: 204
Payload:
43ad230f7343007f027148
latitude (3
bytes),
battery (1 byte)
LAT_MSB, LAT_CSB,
TEMP_MSB,
TEMP_LSB,
Latitude: 24 bit long signed hexadecimal number. Positive number means North,
negative means South.
Formula to get latitude from given payload:
latitude = (lat_value/8388606) *90
In our example 43ad23(hex)= 4435235(dec)
latitude = (4435235/8388606) *90=47.584920
Longitude: 24 bit long signed hexadecimal number. Positive number means East,
negative means West.
The formula to get longitude from given payload:
longitude = (lon_value/8388606) * 180
In our example 0f7343(hex) = 1012547(dec)
longitude = (1012547 / 8388606) * 180 = 21.726906
Altitude: 16-bit unsigned hexadecimal number.
In our example 007f(hex) means 127m altitude as decimal value.
Temperature:
-
1. character indicates negative or positive temperature (0 – positive, 1 – negative)
-
2. and 3. character is integer part of temperature
-
4. character is fractional part of temperature
In our example the temperature is 27.1 °C
Battery:
-
battery status in percentage (1% - 99%)
In our example the battery level is on 48%.
LLLNNNAATTB
longitude (3
bytes),
altitude (2
LAT_LSB,
LON_MSB, LON_CSB,
BAT
bytes),
temperature (2
bytes),
LON_MSB,
ALT_MSB,
ALT_LSB,
www.zane.hu
12

Advertisement

Table of Contents
loading

Related Products for Zane zTrack One

Table of Contents