Examples Of Injecting Gpsonextra - Quectel UC20 GNSS At Command Manual

Wcdma module series
Hide thumbs Also See for UC20 GNSS:
Table of Contents

Advertisement

AT+QGPSGNMEA="GGA"
+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
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
OK
AT+QIACT=1
OK
AT+QIACT?
+QIACT: 1,1,1,"10.7.157.1"
OK
AT+QHTTPCFG="contextid",1
OK
AT+QHTTPURL=37,800
CONNECT
http://xtra1.gpsonextra.net/xtra2.bin
OK
UC20_GNSS_AT_Commands_Manual
//Disable nmeasrc functionality. GGA sentence cannot be obtained.
//Enable XTRA.
//Configure context 1, APN is "UNINET" for China Unicom.
//Activate context 1.
//Activate successfully.
//Query the state of context.
//Set PDP context ID.
//Set the XTRA data URL which will be downloaded.
Confidential / Released
UC20 GNSS AT Commands Manual
WCDMA Module
22 / 25

Advertisement

Table of Contents
loading

Table of Contents