QuecLocator AT Commands Manual

Similar documents
EC20 MMS AT Commands Manual

EC2x&EG9x&EM05 HTTP(S) AT Commands Manual

UC15 SSL AT Commands Manual

WCDMA Audio Player Application Note

EC20 SSL AT Commands Manual

GSM Recording AT Commands Manual

EC20 SMTP AT Commands Manual

EC2x&EG9x&EM05 PPP Application Note

BG96 SSL AT Commands Manual

EC20 FTP AT Commands Manual

BG96 PPP Application Note

WCDMA UGxx PPP Application Note

UC20 WinCE USB Driver

BC95 Firmware Upgrade via Code Loader User Guide

M95 Dual SIM Application Notes

UC20 Android RIL Driver User Guide

GSM Audio Player Application Note

GSM QuecCell AT Commands Manual

BG96 TCP/IP AT Commands Manual

BC95-G&BC68 MQTT Application Note

UC20 FILE AT Commands Manual

UC20 Linux USB Driver User Guide

L76-L I2C Application Note

SIMCom_3G_MQTT_Application Note_V1.00

GSM. Quectel Cellular Engine. Firmware Update Application Note. Fw_Update_Application_Note_V3.1

GSM. Quectel Cellular Engine. GSM TCPIP Recommended Process. GSM_TCPIP_Recommended_. Process_V1.2

GSM POP3 AT Commands Manual

SIM7000 Series_PING_Application Note_V1.00

SIM7000 Series_HTTP_Application Note_V1.01

GSM DTMF Application Note

Quectel Cellular Engine

BG96 MQTT Application Note

EC20 Wi-Fi Application Note

Quectel Cellular Engine

Quectel Cellular Engine

Quectel Cellular Engine

SIMCom_3G_HTTP_Application Note_V1.00

SIM7100_SIM7500_SIM7600 LBS_Application Note_V1.00

SIM800C-DS_Application Note _V1.00

HTTP Application Note

SIMCom_3G_Linux_Driver_Applica tion Note_V1.00

Firmware Upgrade Tool Lite User Guide. Firmware_Upgrade_Tool_Lite_V1.1

Document Name: GPRS Startup. GPRS Startup_V01.00 Status: Created

MC35 Siemens Cellular Engine

SIM7000 Series_NTP_Application Note_V1.00

UART. SIM5360 UART Multiplexer Application Note. SIM5360_UART_Multiplexer_Application_Note_V

AT Commands Set SIM20_ATC_V1.02

GSM. Quectel Cellular Engine. GSM FILE AT Commands GSM_FILE _ATC_V1.4

UART Application Note

Audio LINE-IN input application. AN_SIM900_Audio LINE-IN Input_V1.01

Quectel Cellular Engine

SIM900 AMR File Playing Application Note_V1.01

Delta Package Update Application Note

SIM5360 Network Cell Info Application Note

SIM7000 Series_FTP_Application Note_V1.00

SIM7X00 Series_TCPIP_Application Note_V1.00

Smart Machine Smart Decision. R700_User Guide_V1.05 1

UART Dload Application Note

SIM20_AT Command Manual_V1.04

GSM EVB User Guide. GSM/GPRS/UMTS/HSPA/NB-IoT Module Series. Rev. GSM_EVB_User_Guide_V3.4. Date:

SIM900_DTMF EmbeddedAT Application Note_V1.01

This document is available at GPRS Startup. User Guide. Preliminary

SIM800 Series_FS_Application Note_V1.01

SIM7100 TTS Application Note

SIM800H&L_ Secondary Reflow SMT _Guidelines_V1.00

SIM7100 Network Cell Info Application Note

GPS Application Note

How to use the SIM7100 Module in Linux

Smart Machine Smart Decision. SIM900_IP_Application Note_V1.07 1

SIM7X00 Series_SAT_Application Note_V1.00

SIM5360_GPIO_Demo Note_V1.00

SIM5360_ECALL_Application Note_V0.04

i-care online Manual for Organization Users

TCP/IP APP_V1.02 Status: Release

SIM28_EVB kit_user Guide_V1.02

SIMCom_3G_CSD_Application Note_V1.00

SMS Application notes AN_SMS_V1.01

How to use Linux driver

TCP/IP Application Note

I-Care Online mobile Manual

Application Note. SIM7100_MMS_Application_Note_V

SIM7100 GPS Application Note

M2M CDMA Router. Watchdogs Whitepaper

WM DS28-EV1-REV2 Schematic and Layout WOLFSON DEVICE(S):

WM8805_6152_DS28_EV1_REV3 Schematic and Layout. WM8805_6152_DS28_EV1_REV3 Schematic and Layout. Customer Information 1 of 18 June 2007, Rev 3.

M10-TE-A. Quectel Cellular Engine. Hardware Design M10-TE-A_HD_V1.01

SIMCom_3G_PCM_Application Note_V1.04

WM DS28-EV2-REV1 Schematic and Layout

SIMCOM WCDMA Wireless Module. xx_sleep_mode_application_note

WM CS20-M-REV2

WM DT16-EV1. Customer Standalone Board WOLFSON DEVICE(S): DATE: August 2009

TCPIP Application Note for WCDMA Solution V3.2

M10. Quectel Cellular Engine. EVB User Guide M10_EVB_UGD_V1.00

WM DT20-EV1. Customer Standalone Board WOLFSON DEVICE(S): DATE: September 2009

SIMCom_SIM800H_EAT_flash_Tool _User Manual_V1.01

UART Application Note. SIM5XXX UART Application Note 1

L70 GPS Protocol Specification

HUAWEI MU509-b HSDPA LGA Module V100R003. SSL Application Guide. Issue 01. Date

2 ND GENERATION OF TWO-FACTOR AUTHENTICATION (2FA) FOR NASDAQ WEB SYSTEMS Q-PORT, CMS WEB, TRACK, NFM

Development Kit Manual SIM305-EVB_UGD_V1.01

Transcription:

QuecLocator AT Commands Manual UMTS/HSPA Module Series Rev. QuecLocator_AT_Commands_Manual_V1.0 Date: 2014-10-28 www.quectel.com

Our aim is to provide customers with timely and comprehensive service. For any assistance, please contact our company headquarters: Wireless Solutions Co., Ltd. Office 501, Building 13, No.99, Tianzhou Road, Shanghai, China, 200233 Tel: +86 21 5108 6236 Mail: info@quectel.com Or our local office, for more information, please visit: http://www.quectel.com/support/salesupport.aspx For technical support, to report documentation errors, please visit: http://www.quectel.com/support/techsupport.aspx GENERAL NOTES 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. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO CHANGE WITHOUT PRIOR NOTICE. COPYRIGHT THIS INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF QUECTEL CO., LTD. TRANSMITTABLE, REPRODUCTION, DISSEMINATION AND EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THIS CONTENTS ARE FORBIDDEN WITHOUT PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL OR DESIGN. Copyright Wireless Solutions Co., Ltd. 2014. All rights reserved. QuecLocator_AT_Commands_Manual / Released 1 / 11

About the Document History Revision Date Author Description 1.0 2014-10-28 Jonathan WEN/ Nina WANG Initial QuecLocator_AT_Commands_Manual / Released 2 / 11

Contents About the Document... 2 Contents... 3 Table Index... 4 1 Introduction... 5 1.1. Scope of the Document... 5 1.2. General Process of QuecLocator... 5 1.3. Error Handling... 5 1.3.1. Executing QuecLocator AT Command Fails... 5 1.3.2. PDP Activation Fails... 6 1.3.3. Error Response of AT+QCELLLOC... 6 2 Description of AT Command... 7 2.1. AT+QLOCCFG Configuration of QuecLocator... 7 2.2. AT+QCELLLOC Get Location Information by QuecLocator... 8 3 Example... 9 3.1. Get the Location Information by QuecLocator... 9 4 Summary of Error Codes... 10 5 Appendix A Reference... 11 QuecLocator_AT_Commands_Manual / Released 3 / 11

Table Index TABLE 1: SUMMARY OF ERROR CODES... 10 TABLE 2: RELATED DOCUMENTS... 11 TABLE 3: RELATED DOCUMENTS... 11 QuecLocator_AT_Commands_Manual / Released 4 / 11

1 Introduction provides QuecLocator to get location information by base station. This document is a reference guide to all the AT commands defined for QuecLocator. 1.1. Scope of the Document QuecLocator function is applicable to the following modules: UC20 UMTS/HSPA+ series UC15 UMTS/HSDPA series 1.2. General Process of QuecLocator Step 1: Configure and activate the PDP context. 1) Configure the PDP context parameters of <apn>, <username>, <password> and other parameters by AT+QICSGP (Please refer to _UC20_TCPIP_AT_Commands_Manual for details). If QoS settings need to be updated, configure them by the commands AT+CGQMIN, AT+CGEQMIN, AT+CGQREQ, and AT+CGEQREQ (Please refer to _UC20_AT_Commands_Manual for details). 2) Activate the PDP context by AT+QIACT. 3) Configure the PDP context ID for QuecLocator by AT+QLOCCFG="contextid",<contextID>. Step 2: Get the location information by AT+QCELLLOC. Step 2 can be repeated. 1.3. Error Handling 1.3.1. Executing QuecLocator AT Command Fails If you execute QuecLocator AT command and receive response ERROR from UC20 module, please check if the SIM card is inserted and AT+CPIN? is in +CPIN: Ready status. QuecLocator_AT_Commands_Manual / Released 5 / 11

1.3.2. PDP Activation Fails If you failed to activate PDP context by AT+QIACT command, please check the following aspects: 1. Query whether the PS domain is attached by AT+CGATT? command or not. If not, please execute AT+CGATT=1 command to attach PS domain. 2. Query the CGREG status by AT+CGREG? and make sure the PS domain has been registered. 3. Query the PDP context parameters by AT+QICSGP command and make sure the APN of specified PDP context has been set. 4. Make sure the specified PDP context ID is neither used by PPP nor activated by AT+CGACT command. 5. According to 3GPP specification, it only supports three PDP contexts activated simultaneously, so you must make sure the number of activated PDP contexts is less than 3. If the result of checking is, but you still fail to activate PDP context by executing AT+QIACT command, please reboot the UC20 module to resolve this issue. After booting the UC20 module, please check the terms mentioned above at least three times and each time at an interval of 10 minutes to avoid frequently rebooting UC20 module. 1.3.3. Error Response of AT+QCELLLOC If +CME ERROR: <err> is returned after operating AT+QCELLLOC, please re-execute AT+QCELLLOC. If it fails again, you should deactivate the PDP context by AT+QIDEACT command, and try again (Please refer to Chapter 1.3.2). QuecLocator_AT_Commands_Manual / Released 6 / 11

2 Description of AT Command 2.1. AT+QLOCCFG Configuration of QuecLocator You can configure the PDP context ID and timeout value by AT+QLOCCFG. AT+QLOCCFG Configuration of QuecLocator Test Command AT+QLOCCFG=? Read Command AT+QLOCCFG? Write Command AT+QLOCCFG="contextid"[,<context ID>] Response +QLOCCFG: "contextid",(1-16) +QLOCCFG: "timeout",(1-300) Response +QLOCCFG: "contextid",<contextid> +QLOCCFG: "timeout",<timeout> Response If <contextid> is not omitted: or +CME ERROR: <err> Else query the current settings: +QLOCCFG: "contextid",<contextid> Write Command AT+QLOCCFG="timeout"[,<timeout>] Response If <timeout> is not omitted: or +CME ERROR: <err> Else query the current settings: +QLOCCFG: "timeout",<timeout> QuecLocator_AT_Commands_Manual / Released 7 / 11

Parameter <contextid> Integer type, PDP context ID, the range is 1-16, default value is 1. <timeout> Integer type, the maximum time waiting for data from server. If there is no data coming from server within timeout value, it will return error. The default value is 60, unit is second. The range is 1-300. 2.2. AT+QCELLLOC Get Location Information by QuecLocator AT+QCELLLOC Get the Location Information by QuecLocator Test Command AT+QCELLLOC=? Write Command AT+QCELLLOC Response Response +QCELLLOC: <longitude>,<latitude> or +CME ERROR: <err> Parameter <longitude> Float type, the longitude of the location information. This value should be accurate to six after the decimal point, and the range is <-180.000000 to 180.000000>. <latitude> Float type, the latitude of the location information. This value should be accurate to six <err> after the decimal point, and the range is <-90.000000 to 90.000000>. Integer type, indicates the operation error code. It is the type of error (Please refer to the Chapter 4) QuecLocator_AT_Commands_Manual / Released 8 / 11

3 Example 3.1. Get the Location Information by QuecLocator //Step 1: Configure and activate the PDP context. AT+QICSGP=1,1,"UNINET","","",1 China Unicom. //Configure PDP context 1, APN is UNINET for AT+QIACT=1 //Activate PDP context 1. //Activate successfully. AT+QIACT? //Query the state of PDP context. +QIACT: 1,1,1,"10.7.157.1" AT+QLOCCFG="contextid",1 AT+QLOCCFG="contextid" +QLOCCFG: "contextid",1 //Step 2: Get the location information by QuecLocator. AT+QCELLLOC +QCELLLOC: 117.206001,31.847601 //Set the PDP context ID as 1. The PDP context ID must be activated first. //Query the PDP context ID. //Get the serving cell location. QuecLocator_AT_Commands_Manual / Released 9 / 11

4 Summary of Error Codes <err> indicates an error related to mobile equipment or network. The details about <err> are described in the following table. Table 1: Summary of Error Codes <err> Meaning 721 Decode error 730 Invalid parameter 731 Failed to get location 732 Timeout QuecLocator_AT_Commands_Manual / Released 10 / 11

5 Appendix A Reference Table 2: Related Documents SN Document Name Remark [1] _UC20_TCPIP_AT_Commands_Manual UC20 TCPIP AT commands [2] _UC20_AT_Commands_Manual UC20 AT commands manual Table 3: Related Documents Abbreviation PDP URL Description Packet Data Protocol Uniform Resource Locator QuecLocator_AT_Commands_Manual / Released 11 / 11 11