User Guide to PL131
Document Number 1155-4713 Rev E
Page 10
C
ONFID
ENTIA
L
In
fo
rm
a
ti
o
n
c
la
s
s
ifi
e
d
Co
n
fi
d
e
n
ti
a
l
-
Do
n
o
t
c
o
p
y
(Se
e
l
a
s
t
p
a
g
e
f
o
r o
b
lig
a
ti
o
n
s
)
This document contains confidential and proprietary information of Quake Global corporation. It may be used by recipient only for the purpose for which it was transmitted
and will be returned upon request or when no longer needed by recipient. Disclosure to unauthorized third parties or duplication without the express written permission of
Quake Global is prohibited. © 2013-2015 QUAKE GLOBAL, INC. - All rights reserved.
4.1.2 Status
This message is an MO message.
Table 4-2: Status message
Field Name
Data
Type
Size
Notes
Message opcode 0x61
U8
1 byte
Status message
Location
Geodetic compressed
Lat / Lon. If no fix is
available, the status bit
is set (see Reason
field in this table) and
the last known location
is used.
U8[6]
(3 Bytes Lat +
3 Bytes Lon)
6 bytes
Lat/Lon conversion to geodetic:
long double lat, lon, lon_code, lat_code;
l
at = 90.0 - ((unsigned long)lat_code /
((double)0XFFFFFF)) *180.0;
lon = ((unsigned long)lon_code /
((double)0XFFFFFF))*360.0;
if(lon > 180.0)
lon = lon - 360.0;
.
Speed
Kilometers/Hour
U8
1 byte
0-255 km/h
Cog
2 degrees per bit
U8
1 byte
0-358
Battery voltage
1000ths of volts
U16
2 bytes Range:
0 - 0xFFFD,
error - 0xFFFF
overflow - 0xFFFE
0 to 65.534 volts (sent in millivolts)
Signal strength
(rssi)
Received Signal
Strength Indication
Value between 0 - 99
(The server will map
this value to power
level (dBm) or “Signal
Value”.)
U8
1 byte
To convert the rssi to dBm use the
following formula: (rssi * 2)
– 113
For example:
0
-
(-113) dBm or less
1
-
(-111) dBm
2..30
-
(-109)dBm.(-53)dBm / 2 dBm
per step
31
- (-51) dBm or greater
99
- Not known or not detectable
Temperature
Ambient temp (C)
I8
1 byte
-128C MIN / 127C MAX
Reason
The reason for the
transmittal of the
status message. This
is a bit field. If the bit
is set, the status was
true. (See example in
.)
U8
1 byte
Reason
Value Bit
Scheduled
1
0
Defaulted Configuration
2
1
Motion Detected
4
2
Estimated Time
8
3
Network Time
16
4
No Fix
32
5
Min Fix
64
6
Unused
128
7