LPWA Module Series
BG96 GNSS Application Note
BG96_GNSS_Application_Note 23 / 42
Parameter
2.2.3. AT+QGPS Turn on GNSS
The command turns on GNSS function. Currently it only supports turning on GNSS in
Stand-alone
mode
(that is,
<GNSS_mode>
=1). When
<fix_count>
is 0, GNSS will fix position continuously, and it can be
turned off via
AT+QGPSEND
.
When
<fix_count>
is non-zero and reaches the specified value, GNSS will
be turned off automatically.
<delete_type>
Integer type. The type of GNSS assistance data to be deleted.
0 Delete all assistance data except gpsOneXTRA data. Enforce cold start after
starting GNSS.
1 Do not delete any data. Perform hot start if the conditions are permitted after
starting GNSS.
2 Delete some related data. Perform warm start if the conditions are permitted
after starting GNSS.
3 Delete the gpsOneXTRA assistance data injected into GNSS engine.
<errcode>
Integer type. Error code of operation. See
Chapter 4
for details.
AT+QGPS Turn on GNSS
Test Command
AT+QGPS=?
Response
+QGPS: (
range of supported
<GNSS_mode>
s
),(
range of
supported
<fix_max_time>
s
),(
range
of
supported
<fix_max_dist>
s
),(
range of supported
<fix_count>
s
),(
range
of supported
<fix_rate>
s
)
OK
Read Command
Read current GNSS state
AT+QGPS?
Response
+QGPS: <GNSS_state>
OK
Write Command
AT+QGPS=<GNSS_mode>[,<fix_max
_time>[,<fix_max_dist>[,<fix_count>[
,<fix_rate>]]]]
Response
OK
If there is any error related to ME functionality:
+CME ERROR: <errcode>
Maximum Response Time
300 ms
Characteristics
The command takes effect immediately.
The configuration will not be saved.
Reference