Download Print this page

AcSiP S76G Command Reference Manual page 55

Commands set reference

Advertisement

b)
North or South:
Bit31 is fixed at 1, Bit30 indicates it's showing North or South (1: N, 0: S).
c)
Calculate Latitude as DD (decimal degree) format.
So change Bit31 & Bit30 as 0  "0000 1110 1010 1000 1001 1011 1100 0110"
0xcea89bc6 becomes 0x0ea89bc6, and its decimal value is 245930950
245930950 / 10^7 = 24 (deg)
245930950 Modulo 10^7 = 5930950, 5930950 / 100000 = 59.30950 (minute)
59.30950 (minute) / 60 = 0.988492 (deg)
So the latitude is North, 24.988492 (deg), and it's showing by DD format.
3.
Calculate Latitude: (e.g. 625b3bc8, 0x62 is 8
a)
Change endian as below:
c8 3b 5b 62  0xc83b5b62 (hex)  "1100 1000 0011 1011 0101 1011 0110 0010"
b)
East or West:
Bit31 indicates it's showing East or West (1: E, 0: W).
c)
Calculate Latitude as DD (decimal degree) format.
So change Bit31 & Bit30 as 0  "0000 1110 1010 1000 1001 1011 1100 0110"
0xc83b5b62 becomes 0x483b5b62, and its decimal value is 1211849570
1211849570 / 10^7 = 121 (deg)
1211849570 Modulo 10^7 = 1849570, 1849570 / 100000 = 18.49570 (minute)
18.49570 (minute) / 60 = 0.308261 (deg)
So the longitude is East, 121.308261 (deg), and it's showing by DD format.
Example:
gps set_format_uplink utc_pos
>> Ok
3.3.5 gps set_positioning_cycle <Time>
<Time>: A decimal string representing the SONY CXD5603GF GPS positioning cycle time, it can be
1000 to 600000 milliseconds.
Response: Ok, if <Interval> string is valid.
Invalid, if <Interval> string is not valid.
Purpose: Set a GPS cycle time that is used to tell how soon GPS will update its coordinates.
Example:
th
bytes of the payload, 0xc8 is 11
S76G/S78G Commands Set Reference
Product Name
Version
v1.6.5
Doc No
Date
July 2, 2018
Page
54 of 73
th
)

Advertisement

loading

This manual is also suitable for:

S78g