WCDMA Module
UC20 GNSS AT Commands Manual
UC20_GNSS_AT_Commands_Manual Confidential / Released 22 / 25
AT+QGPSGNMEA=“GGA”
//Disable nmeasrc functionality. GGA sentence cannot be obtained.
+CME ERROR: 507
3.3 . Examples of Injecting gpsOneXTRA
You must enable gpsOneXTRA before injecting gpsOneXTRA time and data to GNSS engine. In the
following example, UC20 gets the XTRA file by AT+QHTTPGET, and stores it in RAM file.
//If gpsOneXTRA is disable, enable it by AT+QGPSXTRA and reset UC20, then Performing the following
procedures.
AT+QGPSXTRA=1
//Enable XTRA.
OK
//Restart UC20, enable gpsOneXTRA of GNSS engine.
//If gpsOneXTRA data is invalid (query by AT+QGPSXTRADATA ?), then performing the following
procedures.
//Before downloading XTRA file by AT+QHTTPGET, please first configure the PDP context parameters of
<apn>,<username>,<password> and PDP context ID by AT+QICSGP, then activate the PDP context
ID by AT+QIACT. ( For more details about this command, please refer to document of UC20_ HTTP_
AT_ Commands_Manual”).
AT+QICSGP=1,1,“UNINET”,“”,“”,1
//Configure context 1, APN is ”UNINET” for China Unicom.
OK
AT+QIACT=1
//Activate context 1.
OK
//Activate successfully.
AT+QIACT?
//Query the state of context.
+QIACT: 1,1,1,"10.7.157.1"
OK
AT+QHTTPCFG=“contextid”,1
//Set PDP context ID.
OK
AT+QHTTPURL=37,800
//Set the XTRA data URL which will be downloaded.
CONNECT
http://xtra1.gpsonextra.net/xtra2.bin
OK
Quectel
Confidential