Download Print this page

AcSiP S76G Command Reference Manual page 56

Commands set reference

Advertisement

gps set_positioning_cycle 3000
>> Ok
3.3.6 gps set_mode <Mode>
<Mode>: A string representing S76G/S78G GPS mode is set to either "Auto", "Manual" or "Idle"
mode, the string can be auto, manual or idle.
Response: Ok, if <Mode> string is valid.
Invalid, if <Mode> string is not valid.
Purpose:
a) Auto mode or manual mode, that is used to decide whether it would upload GPS data by
LoRaWAN TX uplink automatically or user needs to get GPS data manually and then put it into
LoRaWAN TX uplinks manually.
b) No matter "auto" or "manual" mode is called, it would start to try to initialize GPS by the given
NMEA sentence and positioning cycle time that set before.
c) So it is recommended to call "gps set_nmea" & "gps set_positioning_cycle" before calling this
command, or it would just return "invalid" response.
d) When "Idle" mode is assigned, it lets GPS stop positioning and back to GPS IDLE mode.
Example:
gps set_mode auto
>> Ok
gps set_iap_mode manual
>> Ok
(More demonstration examples, please refer to chapter 4.4)
3.3.7 gps get_mode
Purpose: Return GPS related setting values that set before.
<Mode>: it follows "gps set_mode" command input format. (off/auto/manual)
<Start_Type>: it follows "gps set_start" command input format. (hot/cold/warm)
<Port>: it follows "gps set_port_uplink" command input format.
<Time>: it follows "gps set_positioning_cycle" command input format.
S76G/S78G Commands Set Reference
Product Name
Version
v1.6.5
Doc No
Date
July 2, 2018
Page
55 of 73

Advertisement

loading

This manual is also suitable for:

S78g