Page 1
UC20 GNSS AT Commands Manual WCDMA Module Series Rev. UC20_GNSS_AT_Commands_Manual_V1.0 Date: 2013-08-23 www.quectel.com...
Page 2
QUECTEL OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION.
WCDMA Module UC20 GNSS AT Commands Manual About the Document History Revision Date Author Description 2013-08-23 Scott HU Initial UC20_GNSS_AT_Commands_Manual Confidential / Released 2 / 25...
WCDMA Module UC20 GNSS AT Commands Manual Contents About the Document ........................... 2 Introduction ............................4 1.1. How to Use GNSS ........................4 1.2. NMEA Sentence Type ......................... 5 1.3. Introduction of gpsOneXTRA ...................... 5 1.4. GNSS Power Saving Management .................... 6 1.4.1.
1.1. How to Use GNSS UC20 GNSS engine allows calculating location without any assistance from the network. The procedure of turning on GNSS is shown as below: Step 1: Configure corresponding demands by AT+QGPSCFG.
WCDMA Module UC20 GNSS AT Commands Manual 1.2. NMEA Sentence Type The NMEA sentences are compatible with NMEA-0183 protocol, and all of the standard NMEA sentences have two kinds of prefix. For GPS sentences, the prefix is “GP”, as below: ...
Step 6: Others steps see chapter 1.1. 1.4. GNSS Power Saving Management UC20 GNSS engine provides power saving solutions by DPO and ODP, extending battery life, maximizing talk and standby time, and enhancing accuracy and TTFF. 1.4.1. DPO (Dynamic Power Optimization) DPO (Dynamic Power Optimization) is a power-saving solution which attempts to turn off GNSS RF and other unneeded components.
Page 8
WCDMA Module UC20 GNSS AT Commands Manual ODP system requirements: (1) ODP requires valid gpsOneXTRA assistance data. (2) ODP requires that UC20 is in service. If these two requirements are not fulfilled ODP will be turned off automatically. ODP will be suspended if a regular GNSS In the enabled low power mode, the GNSS engine is turned on to consume low power.
WCDMA Module UC20 GNSS AT Commands Manual Description of AT Command 2.1. AT+QGPSCFG Configure GNSS This command can be used to configure the using of GLONASS, switchover of NMEA sentences output port and setting of power saving and so on.
Page 10
WCDMA Module UC20 GNSS AT Commands Manual When the second parameter is omitted, query the current setting:: +QGPSCFG: “nmeasrc”,<nmeasrc> Configure output type of GPS NMEA Response sentences. When there are two parameters: AT+QGPSCFG=“gpsnmeatype”[,<gps nmeatype>] +CME ERROR: <errcode> When the second parameter is omitted, query the current setting: +QGPSCFG: “gpsnmeatype”,<gpsnmeatype>...
Page 11
WCDMA Module UC20 GNSS AT Commands Manual When the second parameter is omitted, query the current setting: +QGPSCFG: “odpcontrol”,<odpcontrol> configure DPO Response AT+QGPSCFG=“dpoenable”[,<dpoen When there are two parameters: able>] +CME ERROR: <errcode> When the second parameter is omitted, query the current setting: +QGPSCFG: “dpoenable”,<dpoenable>...
WCDMA Module UC20 GNSS AT Commands Manual ORed to take effect. The setting will be auto saved to NVRAM. The default value is 0, which means none sentence will be outputted. GSV. GSA. GNS. <glonassenable> Enable/Disable GLONASS. The setting will be auto saved to NVRAM.
WCDMA Module UC20 GNSS AT Commands Manual Parameter <deletetype> Delete data type. Delete all assistance data, except for XTRA data. Enforce cold start after starting GNSS. Does not delete any data. Perform hot start if the conditions are permitted after starting GNSS.
WCDMA Module UC20 GNSS AT Commands Manual Parameter <gnssstate> GNSS state. GNSS off. GNSS on. <gnssmode> GNSS start mode. Standalone. <fixmaxtime> The max positioning time, unit: s, indicates the response time during the measurement of the GNSS pseudo range, the upper time limit of the GNSS satellite searching, include the time for demodulating the ephemeris data and calculating the position.
WCDMA Module UC20 GNSS AT Commands Manual Parameter <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 2.5. AT+QGPSLOC Obtain Fixed Position Before using this command, GNSS engine must be turned on by AT+QGPS. If it does not fix position successfully, +CME ERROR: <errcode>...
WCDMA Module UC20 GNSS AT Commands Manual place(quoted from GPGGA sentence). <fix> GNSS positioning mode(quoted from GNGSA/GPGSA). 2D positioning. 3D positioning. <cog> Ground heading based on true north. Format: ddd.mm (quoted from GPVT sentence). 000-359 (degree). 00-59 (minute). <spkm> Speed over ground. Format: xxxx.x, unit: Km/h, accurate to one decimal place.
WCDMA Module UC20 GNSS AT Commands Manual Inject XTRA time manually Response AT+QGPSXTRATIME=<op>,<xtratime >[,<utc>[,<force>,<uncrtn>]] +CME ERROR: <errcode> Reference Parameter <op> Operation type. inject gpsOneXTRA time. <xtratime> Current UTC/GPS time, the format of time: YYYY/MM/DD, hh:mm:ss, e.g.2013/02/10,15:34:50. <utc> The type of time.
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 2.10. Introduction of URC UC20 GNSS engine will inform you of some information via URC. Expired XTRA Data 2.10.1.
Page 21
WCDMA Module UC20 GNSS AT Commands Manual Parameter <xtradatadurtime> Valid time of injected XTRA data, unit: minute. No XTRA file or XTRA file is expired. <injecteddatatime> Starting time of the valid time of XTRA data, format: “YYYY/MM/DD,hh:mm:ss”, e.g.“2013/02/10,15:34:50” UC20_GNSS_AT_Commands_Manual Confidential / Released...
WCDMA Module UC20 GNSS AT Commands Manual Example 3.1 . Turn On and Off the GNSS Engine The following example uses default arguments to start GNSS engine. After turning on GNSS engine, NMEA sentences will be outputted from “usb nmea” port by default.
WCDMA Module UC20 GNSS AT Commands Manual 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.
Page 24
WCDMA Module UC20 GNSS AT Commands Manual //The current UTC time is approximately 2013/06/25,15:30:23. AT+QHTTPGET=800 //Start download. <It may cost a few time> +QHTTPGET: 0,200 AT+QHTTPREAD=1,“RAM:xtra2.bin”,800 //Store data to RAM file: RAM :xtra2.bin. <It may cost a few time> +QHTTPREAD: 0 //Prompt download success //<utc>...
WCDMA Module UC20 GNSS AT Commands Manual Appendix A Reference Table 1: Related Documents Document name Remark Introduction about UC20 TCP/IP AT UC20_TCPIP_AT_Commands_Manual commands. UC20_FILE_AT_Commands_Manual Introduction about UC20 file AT commands. UC20_AT_Commands_Manual UC20 AT commands sets. UC20_ HTTP_ AT_ Commands_Manual Introduction about UC20 HTTP AT commands.
WCDMA Module UC20 GNSS AT Commands Manual Appendix B Summary of Error Codes The error code <errcode> indicates an error related to GNSS operations. The detail about <errcode> is described in the following table. Table 3: Summary of Error Codes <errcode>...