
Watson Industries, Inc.
DMS-SGP02 Rev K 03/22/2018
31
Convert from hexadecimal to decimal counts:
Correct data items for the sign:
Latitude & Longitude:
If >2147483647 [(2
31
)-1] then subtract 4294967296 (2
32
) from the data
Velocity:
If >32767[(2
15
)-1] then subtract 65536 (2
16
) from the data
Altitude is not signed
Multiply the data (in counts) by the scale factor
Convert to units: counts * scale factor
For Latitude:
Scale factor is: 180 ˚ / 2
31
or 2147483648 counts = 535248752 counts * (180 ˚/2
31
counts) =
44.86403 ˚
For Longitude:
Scale factor is: 180 ˚ / 2
31
or 2147483648 counts = -1091240048 counts * (180 ˚/2
31
counts) = -
91.46668 ˚
For Altitude:
Scale factor is 32768 feet/ (2
16
) or 65536 counts = 1788counts * (32768 ft /2
16
counts) = 894 ft
For Velocity: Scale factor is 400kph / (2
15
) 32768 counts = 656 counts * (400 kph /2
15
counts) = 8.007 kph
Latitude
Longitude
Altitude
Velocity
0x1FE73F70
0xBEF4FF90
0x06FC
0x0290
Latitude
Longitude
Altitude
Velocity
535248752
3203727248
1788
656
Latitude
Longitude
Altitude
Velocity
535248752
-1091240048
1788
656
Latitude
Longitude
Altitude
Velocity
44.86403
-91.46668
894 ft
8.007 kph