Quectel UC20 GNSS At Command Manual

Quectel UC20 GNSS At Command Manual

Wcdma module series
Hide thumbs Also See for UC20 GNSS:

Advertisement

Quick Links

UC20 GNSS
AT Commands Manual
WCDMA Module Series
Rev. UC20_GNSS_AT_Commands_Manual_V1.0
Date: 2013-08-23
www.quectel.com

Advertisement

Table of Contents
loading

Summary of Contents for Quectel UC20 GNSS

  • 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.
  • Page 3: About The Document

    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...
  • Page 4: Table Of Contents

    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.
  • Page 5: Introduction

    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.
  • Page 6: Nmea Sentence Type

    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: ...
  • Page 7: Gnss Power Saving Management

    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.
  • Page 9: Description Of At Command

    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>...
  • Page 12: At+Qgpsdel Delete Assistance Data

    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.
  • Page 13: At+Qgps Operate Gps Session

    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.
  • Page 14: At+Qgpsend Terminate Gnss Session

    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.
  • Page 15: At+Qgpsloc Obtain Fixed 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>...
  • Page 16: At+Qgpsgnmea Obtain Nmea Sentences

    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.
  • Page 17: At+Qgpsxtra Enable Gpsonextra Functionality

    WCDMA Module UC20 GNSS AT Commands Manual +CME ERROR: <errcode> Query GSV information Response AT+QGPSGNMEA=“GSV” +QGPSGNMEA: GSV sentence +CME ERROR: <errcode> Query GSA information Response AT+QGPSGNMEA=“GSA” +QGPSGNMEA: GSA sentence +CME ERROR: <errcode> Query VTG information Response AT+QGPSGNMEA=“VTG” +QGPSGNMEA: VTG sentence +CME ERROR: <errcode>...
  • Page 18: At+Qgpsxtratime Inject Gpsonextra Time

    WCDMA Module UC20 GNSS AT Commands Manual AT+QGPSXTRA Enable gpsOneXTRA Functionality Test Command Response AT+QGPSXTRA=? +QGPSXTRA: (0,1) Read Command Response AT+QGPSXTRA? +QGPSXTRA: <xtraenable> Write Command Response AT+QGPSXTRA=<xtraenable> +CME ERROR: <errcode> Reference Parameter <xtraenable> Enable gpsOneXTRA functionality, the setting will be auto saved to NVRAM.
  • Page 19: At+Qgpsxtradata Inject Gpsonextra Data Manually

    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.
  • Page 20: Introduction Of Urc

    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...
  • Page 22: Example

    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.
  • Page 23: Examples Of Injecting Gpsonextra

    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>...
  • Page 25: Appendix A Reference

    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.
  • Page 26: Appendix B Summary Of Error Codes

    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>...

Table of Contents