S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
51 of 73
Product Name
Version
Doc No
Date
Page
Invalid
, if input argument is not valid.
<Format> is “
raw
”:
The uploaded data length is 29 bytes.
(e.g. The below figure is a snapshot from Actility\ThingPark LoRaWAN server)
Data Format:
(e.g.) 062e04 140b11 01 18 260e0900 01 79 0000 1ad30200 0400 b504 01000000 50
a)
062e04: UTC Time 6 hour 46 min 4 sec ==> UTC+8 (@Taiwan) is 2pm 46min 4sec
b)
140b11: UTC Date 0x11 ==> 2017, 0x0b ==> November, 0x14 ==> 20th; 2017/11/20
c)
01: North is 0x01, South is 0x00.
d)
18 260e0900: 0x18 ==>
24
, 0x00090e26 ==>
593446
. So Latitude is
24 59.3446
(GPS RMC Data,
not DD or DMS format)
e)
01: East is 0x01, West is 0x00.
f)
79 0000 1ad30200: 0x79 ==>
121
, 0x0000 ==> Not Used, 0x0002d31a ==>
185114
. So Longitude is
121 18.5114
(GPS RMC Data, not DD or DMS format)
g)
0400: 0x0004 ==> Speed over ground is 0.4 knot
h)
b504: 0x04b5 ==> Course over ground is 120.5
i)
01000000: 0x00000001 ==> Status is 1 (valid, OK), 0 (GPS not ready yet)
j)
50: 0x50 ==> 80, battery encoded value is 80.
i. If “sip set_batt_resistor” is not getting called:
The battery voltage is 80 * 20 = 1600 mV.
ii. If “sip set_batt_resistor” is getting called ever:
The battery voltage is 3000 + 80 * 10 = 3800 mV.
Note:
1)
Raw to DD