WCDMA Module
UC20 GNSS AT Commands Manual
UC20_GNSS_AT_Commands_Manual Confidential / Released 12 / 25
Parameter
2.3. AT+QGPS Operate GPS Session
AT+QGPS is used to turn on GNSS engine. Currently,
<gnssmode>
only supports Standalone GNSS.
When
<fixcount>
is 0, GNSS engine will position continuously. You can terminate the session by
AT+QGPSEND. When
<fixcount>
is not 0, and the actual positioning times reach the specified value,
GNSS engine will terminate automatically.
<deletetype>
Delete data type.
0 Delete all assistance data, except for XTRA data. Enforce cold start after
starting GNSS.
1 Does not delete any data. Perform hot start if the conditions are permitted after
starting GNSS.
2 Delete related data. Perform warm start if the conditions are permitted after
starting GNSS.
3 Delete gpsOneXTRA data.
<errcode>
Integer type, indicate the error code of the operation. If it is not 0, it is the type of error.
(Please refer to the chapter
X
5
X
).
AT+QGPS Operate GPS Session
Test Command
AT+QGPS=?
Response
+QGPS: 1,(1-255),(0-1000),(0-1000),(1-65535)
OK
Read current GNSS session state
AT+QGPS?
Response
+QGPS: <gnssstate>
OK
Write Command
AT+QGPS=<gnssmode>
[,<fixmaxtime>[,<fixmaxdist>[,<fixcou
nt>[,<fixrate>]]]]
Response
OK
or
+CME ERROR: <errcode>
Reference
Quectel
Confidential