Cavli Wireless C31QM At Command Manual

Lte-m/nb-iot module
Table of Contents

Advertisement

Quick Links

CAVLI C31QM
LTE-M/NB-IoT Module
AT Command Manual
Version: 1.2
Cavalier Wireless Inc. DBA Cavli Wireless
177 Park Avenue, San Jose, California, USA 95113
Website: www.cavliwireless.com
Contact: +1-650-334-3414
All rights reserved. 2018
Cavli Wireless. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C31QM and is the answer not in the manual?

Questions and answers

Summary of Contents for Cavli Wireless C31QM

  • Page 1 CAVLI C31QM LTE-M/NB-IoT Module AT Command Manual Version: 1.2 Cavalier Wireless Inc. DBA Cavli Wireless 177 Park Avenue, San Jose, California, USA 95113 Website: www.cavliwireless.com Contact: +1-650-334-3414 All rights reserved. 2018 Cavli Wireless. All rights reserved.
  • Page 2: Table Of Contents

    2.9 AT+CGSN Request Product Serial Number Identification .............. 16 2.10 ATE Set Command Echo Mode ....................... 17 2.11 A/ Repeat Previous Command Line ...................... 18 2.12 AT+CFUN Set Phone Functionality ......................19 2.13. AT+CPAS Mobile Equipment Activity Status ..................21 Cavli Wireless. All rights reserved.
  • Page 3 5.2 AT+COPS Operator Selection ........................44 5.3 AT+CSQ Signal Quality Report ........................46 5.4 AT+CPOL Preferred Operator List ......................48 5.5 AT+CPSMS Power Saving Mode Setting ....................49 5.6 AT+CEDRXS e-I-DRX Setting ........................53 5.7 AT+CEDRXRDP Read Dynamic Parameters.................... 55 Cavli Wireless. All rights reserved.
  • Page 4 Chapter 8. GPS Related Commands ........................... 89 8.1 AT+CGPS Start/Stop GPS session ......................89 8.2 AT+CGPSCOLD Set GPS cold start ......................90 8.3 AT+CGPSWARM Set GPS warm start ...................... 90 8.4 AT+CGPSNMEA Configure NMEA sentence type ................91 Cavli Wireless. All rights reserved.
  • Page 5: Chapter 1. Introduction

    S Parameter syntax • These AT commands have the format of “ATS<n>=<m>”, where “<n>” is the index of the S register to set, and “<m>” is the value to assign to it. Extended syntax • Cavli Wireless. All rights reserved.
  • Page 6: Supported Character Sets

    (3GPP TS 27.007) and it is defined in 3GPP TS 27.005. The character set affects transmission and reception of SMS and SMS Cell Broadcast Messages, as well as the entry and display of phone book entries text field. 1.4 AT Command Interface Cavli Wireless. All rights reserved.
  • Page 7: Unsolicited Result Code

    AT command. URC is issued by C31-QM without being requested by the TE and it is issued automatically when a certain event occurs. Typical events leading to URCs are incoming calls (RING), received short messages, high/low voltage alarm, high/low temperature alarm, etc. Cavli Wireless. All rights reserved.
  • Page 8: Chapter 2. General Commands

    Manufacturer: <manufacturer> Model: <model> Revision: <revision> SVN:<Firmware version> IMEI: <imei> +GCAP: list of <name>s Defined values Parameter values Explain <manufacturer> The identification of manufacturer. <model> The identification of model. <revision> The revision identification of firmware. Cavli Wireless. All rights reserved.
  • Page 9: At+Gmi Request Manufacturer Identification

    FAX function is supported <name> Data compression is supported Synchronous data mode is supported. Examples Manufacturer: Cavli Wireless Model: C31-QM Revision: C31-QM-V1 [Sep 06 2018 08:00:00] SVN: 02 IMEI: 352745100001522 +GCAP: +CGSM 2.2 AT+GMI Request Manufacturer Identification Description Cavli Wireless. All rights reserved.
  • Page 10 The command returns a manufacturer identification text. See also AT+CGMI. Syntax Command Response <manufacturer> AT+GMI AT+GMI=? AT+GMI=<manufacturer> Defined values Parameter values Explain <manufacturer> The identification of manufacturer. Examples AT+GMI Cavli Wireless AT+GMI=? Cavli Wireless. All rights reserved.
  • Page 11: At+Gmm Request Ta Model Identification

    2.3 AT+GMM Request TA Model Identification Description The command returns a product model identification text. It is identical with AT+CGMM. Syntax Command Response <name> AT+GMM AT+GMM=? AT+GMM=<name> Defined values Parameter values Explain <name> The identification of model. Examples AT+GMM C31-QM Cavli Wireless. All rights reserved.
  • Page 12: At+Gmr Request Ta Revision Identification Of Software Release

    The command delivers a product firmware version identification text. It is identical with AT+CGMR. Syntax Command Response <software version> AT+GMR AT+GMR=? AT+GMR=<software version> Defined values Parameter values Explain <software version> The revision identification of firmware. Examples AT+GMR C31-QM-V1 [Sep 06 2017 08:00:00] Cavli Wireless. All rights reserved.
  • Page 13: At+Cgmi Request Manufacturer Identification

    2.5 AT+CGMI Request Manufacturer Identification Description Execution command returns a manufacturer identification text. Syntax Command Response <manufacturer> AT+CGMI AT+CGMI=? AT+CGMI=<manufacturer> Defined values Parameter values Explain <manufacturer> The identification of manufacturer. Examples AT+CGMI Cavli Wireless AT+CGMI=? Cavli Wireless. All rights reserved.
  • Page 14: At+Cgmm Request Model Identification

    2.6 AT+CGMM Request Model Identification Description Execution command returns a product model identification text. Syntax Command Response <name> AT+CGMM AT+CGMM=? AT+CGMM=<name> Defined values Parameter values Explain <name> The identification of model. Examples AT+CGMM C31-QM AT+CGMM=? Cavli Wireless. All rights reserved.
  • Page 15: At+Cgmr Request Revision Identification

    Command Response <software version> AT+CGMR AT+CGMR=? AT+CGMR=<software version> Defined values Parameter values Explain <software version> The revision identification of firmware. Examples AT+CGMR C31-QM-V1 [Sep 06 2017 08:00:00] 2.8 AT+GSN Request International Mobile Equipment Identity (IMEI) Cavli Wireless. All rights reserved.
  • Page 16: At+Cgsn Request Product Serial Number Identification

    The command returns the International Mobile Equipment Identity (IMEI). It is identical with AT+CGSN. Syntax Command Response <IMEI> AT+GSN AT+GSN=? Defined values Parameter values Explain <IMEI> Serial number identification Examples AT+GSN 352745100001522 2.9 AT+CGSN Request Product Serial Number Identification Description Cavli Wireless. All rights reserved.
  • Page 17: Ate Set Command Echo Mode

    The command controls if the module echoes characters received from TE during AT command state. Attention: dial-up network or the automatic processing software will automatically send the ATE0 to close the echoes. Syntax Command Response ATE[<value>] Cavli Wireless. All rights reserved.
  • Page 18: A/ Repeat Previous Command Line

    2.11 A/ Repeat Previous Command Line Description The command repeats previous AT command line, and “/” acts as the line terminating character. Syntax Command Response Return value of the last instruction Examples AT+CGMR C31-QM-V1 [Sep 06 2017 08:00:00] Cavli Wireless. All rights reserved.
  • Page 19: At+Cfun Set Phone Functionality

    2.12 AT+CFUN Set Phone Functionality Description The command controls the functionality level. It can also be used to reset the UE. Syntax Command Response AT+CFUN=[<fun>[,<rst>]] +CFUN:<fun> AT+CFUN? +CFUN:(<fun>list),(<rst>list) AT+CFUN=? Defined values Parameter values Explain <fun> Minimum functionality Cavli Wireless. All rights reserved.
  • Page 20 Do not reset the ME before setting it to <fun> power level <rst> Reset the ME before setting it to <fun> power level. This value only takes effect when <fun> equals 1. Examples AT+CFUN? +CFUN: 1 AT+CFUN=? +CFUN: (0-1,4-7),(0-1) AT+CFUN=1,1 Cavli Wireless. All rights reserved.
  • Page 21: At+Cpas Mobile Equipment Activity Status

    Execution command returns the activity status <cpas> of the ME. Syntax Command Response +CPAS: <cpas> AT+CPAS +CPAS: (<cpas>list) AT+CPAS=? Defined values Parameter values Explain Ready (ME allows commands from TA/TE) <cpas> Ringing Call in progress or call hold Examples AT+CPAS +CPAS: 4 Cavli Wireless. All rights reserved.
  • Page 22: At+Cclk Clock

    (indicates the difference, <time> expressed in quarters of an hour, between the local time and GMT; range: -48...+56). E.g. May 6 , 1994, 22:10:00 GMT+2 hours equals to “94/05/06,22:10:00+08” Example Cavli Wireless. All rights reserved.
  • Page 23: At+Cmee Error Message Format

    The command controls the format of error result codes: ERROR, error numbers or verbose messages as +CME ERROR: <err> and +CMS ERROR: <err> . Syntax Command Response AT+CMEE=<n> +CMEE:<n> AT+CMEE? +CMEE:(list of supported <n>s) AT+CMEE=? Defined values Cavli Wireless. All rights reserved.
  • Page 24: At+Cscs Select Te Character Set

    The Write Command informs the module which character set is used by the TE. This enables the UE to convert character strings correctly between TE and UE character sets. Syntax Command Response +CSCS: (list of supported <chset>s) AT+CSCS=? +CSCS: <chset> AT+CSCS? Cavli Wireless. All rights reserved.
  • Page 25 AT+CSCS=<chset> ERROR AT+CSCS Defined values Parameter values Explain “IRA” International reference alphabet. <chset> “GSM” GSM default alphabet. “UCS2” UCS2 alphabet Examples AT+CSCS=? +CSCS: ("IRA","GSM","UCS2") AT+CSCS="IRA" AT+CSCS? +CSCS: "IRA" Cavli Wireless. All rights reserved.
  • Page 26 Cavli Wireless. All rights reserved.
  • Page 27: Chapter 3. Serial Interface Control Commands

    3.1 AT+IFC Set TE-TA Local Data Flow Control Description The command sets the flow control of the module. Syntax Command Response AT+IFC=<txfc>,<rxfc> ERROR +IFC: <txfc><rxfc> AT+IFC? +IFC: (<txfc>list),(<rxfc>list) AT+IFC=? Defined values Parameter values Explain none <txfc> RTS/CTS XON/XOFF None <rxfc> RTS/CTS NOTE Cavli Wireless. All rights reserved.
  • Page 28: At+Icf Set Control Character Framing

    The default value is 0,0 Examples AT+IFC? +IFC: 0,0 AT+IFC=? +IFC: (0-3),(0-2) AT+IFC=2,2 3.2 AT+ICF Set Control Character Framing Description The command sets character framing which contain data bit, stop bit and parity bit. Syntax Command Response AT+ICF=<format>,<parity> Cavli Wireless. All rights reserved.
  • Page 29 AT+ICF? +ICF:(<format>list),(<parity>list) AT+ICF=? Defined values Parameter values Explain <format> data bit 8, check bit 0 , stop bit 1 < parity > even none NOTE The default value is 3,3 Examples AT+ICF? +ICF: 3,3 AT+ICF=? Cavli Wireless. All rights reserved.
  • Page 30: At+Ipr Set Local Baud Rate Temporarily

    The command sets the baud rate of module’s serial interface temporarily, after reboot the baud rate is set to default value. The default value is 115200. Syntax Command Response AT+IPR=<rate> ERROR +IPR: <rate> AT+IPR? +IPR(<rate>list) AT+IPR=? Defined values Cavli Wireless. All rights reserved.
  • Page 31 Parameter values Explain 300,600,1200,2400,4800,9600,19200,38400,5 <rate> 7600,115200,230400,921600,2000000,29000 00,3000000,3200000,3686400,4000000 NOTE The default <rate> is 115200 Examples AT+IPR? +IPR: 115200 AT+IPR=? +IPR:(300,600,1200,2400,4800,9600,14400,19200,38400,57600,76800,115200,230400,460800, 921600,1000000,1200000,1209677,1250000,1293103,1339286,1388889,1442308,1500000,156 2500,1630435,1704545,1785714,2000000,2900000,3000000,3200000,3686400,4000000) AT+IPR=115200 Cavli Wireless. All rights reserved.
  • Page 32: Chapter 4. (U)Sim Related Commands

    TE to identify the individual SIM card or active application in the UICC (GSM or USIM) that is attached to MT. Syntax Command Response <IMSI> AT+CIMI AT+CIMI=? Defined values Parameter values Explain International Mobile Subscriber Identity <IMSI> (string, without double quotes). Examples AT+CIMI 460111176315796 Cavli Wireless. All rights reserved.
  • Page 33: At+Clck Facility Lock

    "AO" Barr All Outgoing Calls "OI" Barr Outgoing International Calls <fac> "OX" Barr Outgoing International Calls except to Home Country "AI" Barr All Incoming Calls "IR" Barr Incoming Calls when roaming outside the home country Cavli Wireless. All rights reserved.
  • Page 34 Lock Query status <passwd> Password. Voice (telephony) Data (refers to all bearer services) Fax (facsimile services) <class> Short message service Short message service Short message service Dedicated packet access Not active <status> Active Example AT+CLCK=? Cavli Wireless. All rights reserved.
  • Page 35 +CLCK: ("AB","AC","AG","AI","AO","IR","OI","OX","SC","FD","PN","PU","PP","PC","PF") AT+CLCK="SC",2 +CLCK: 0 AT+CLCK="SC",1,"1234" AT+CLCK="SC",2 +CLCK: 1 AT+CLCK="SC",0,"1234" AT+CLCK="SC",2 +CLCK: 0 Cavli Wireless. All rights reserved.
  • Page 36: At+Cpin Enter Pin

    ME is waiting SIM PIN to be given <code> SIM PUK ME is waiting SIM PUK to be given SIM PIN2 ME is waiting SIM PIN2 to be given SIM PUK2 ME is waiting SIM PUK2 to be given Cavli Wireless. All rights reserved.
  • Page 37: At+Cpwd Change Password

    Syntax Command Response AT+CPWD=<fac>,<oldpwd>,<newpwd> +CPWD: (<fac>,<pwdlength>)list AT+CPWD=? Defined value Parameter values Explain "AO" Barr All Outgoing Calls <fac> "OI" Barr Outgoing International Calls "OX" Barr Outgoing International Calls except to Home Country Cavli Wireless. All rights reserved.
  • Page 38 String type, old password . <newpwd> String type, new password . <pwdlength> Integer type, max length of password Example AT+CPIN? +CPIN: READY AT+CLCK="SC",1,"1234" //Set the SIM card password as “1234” AT+CPWD="SC","1234","0000" //Change SIM card password to “0000” Cavli Wireless. All rights reserved.
  • Page 39: At+Crsm Restricted Sim Access

    +CPIN: SIM PIN //PIN code is locked AT+CPIN="1234" //Enter the old password +CME ERROR: incorrect password //Password is incorrect AT+CPIN="0000" //Enter the new password AT+CPIN? //SIM card is ready +CPIN: READY 4.5 AT+CRSM Restricted SIM Access Description Cavli Wireless. All rights reserved.
  • Page 40 <command>. Integer type; parameters transferred by the MT to <P1>,<P2>,<P3> the SIM. <data> Information which shall be written to the SIM Status information from the SIM about the <sw1>,<sw2> execution of the actual command.These parameters Cavli Wireless. All rights reserved.
  • Page 41: At+Iccid Show Iccid

    Example AT+CRSM=242 +CRSM: 144,0,"622C820278218410A0000000871002FF86FF0389FFFFFFFF8A01058B032F0602C60C90 016083010183018183010A" 4.6. AT+ICCID Show ICCID Description The command returns the ICCID (Integrated Circuit Card Identifier) number of the (U)SIM card. Syntax Command Response <iccid> AT+ICCID AT+ICCID=? Defined values Parameter values Explain Cavli Wireless. All rights reserved.
  • Page 42 Integrated Circuit Card Identifier (string, <iccid> without double quotes). Examples AT+ICCID 89860317482035169142 Cavli Wireless. All rights reserved.
  • Page 43: Chapter 5. Network Service Commands

    +CREG: (<n>list) AT+CREG=? Defined value Parameter values Explain 0 --- Disable network registration unsolicited result code 1 --- Enable network registration unsolicited result code <n> +CREG: <stat> 2 --- Enable network registration unsolicited result code +CREG:<stat>[,<lac>,<ci>] Cavli Wireless. All rights reserved.
  • Page 44: At+Cops Operator Selection

    Write command forces an attempt to select and register the GSM/UMTS network operator. Read command returns the current mode and the currently selected operator. Test command returns a list of quadruplets, each representing an operator present in the network. Syntax Cavli Wireless. All rights reserved.
  • Page 45 Operator in format as per <mode> 0 --- Automatic mode; <oper> field is ignored 1 --- Manual operator selection. <oper> field must be <mode> present. --- Manual deregister from network 3 --- Set only <format> Cavli Wireless. All rights reserved.
  • Page 46: At+Csq Signal Quality Report

    5.3 AT+CSQ Signal Quality Report Description Execution command returns received signal strength indication <rssi> and channel bit error rate <ber> from the ME. Test command returns values supported by the TA as compound values. Syntax Command Response +CSQ:<rssi>,<ber> AT+CSQ Cavli Wireless. All rights reserved.
  • Page 47 <rssi> -116dBm or less -115dBm 102...190 -114...-26dBm -25dBm or greater Not known or not detectable <0.01% 0.01% --- 0.1% 0.1% --- 0.5% <ber> 0.5% --- 1.0% 1.0% --- 2.0% 2.0% --- 4.0% 4.0% --- 8.0% Cavli Wireless. All rights reserved.
  • Page 48: At+Cpol Preferred Operator List

    If <oper> is given but <index> is left out, <oper> is put in the next free location. If only <format> is given, the format of the <oper> in the read command is changed. Syntax Command Response AT+CPOL=[<index>][,<format >[,<oper>]] Cavli Wireless. All rights reserved.
  • Page 49: At+Cpsms Power Saving Mode Setting

    String type; <format> indicates if the format is <oper> alphanumeric or numeric. Example AT+CPOL? 5.5 AT+CPSMS Power Saving Mode Setting Description The Command controls the setting of the UE‟s power saving mode (PSM) parameters. Syntax Cavli Wireless. All rights reserved.
  • Page 50 1 --- Enable the use of PSM String type. One byte in an 8 bit format. Requested extende d periodic RAU value (T3312) to be allocated to the UE in GE RAN. <Requested_Peri odic-RAU> (e.g. "01000111" equals to 70 hours) Cavli Wireless. All rights reserved.
  • Page 51 1 1 1 value indicates that the timer is deactivated. String type. One byte in an 8 bit format. Requested extende d periodic TAU value (T3412) to be allocated to the UE in E- <Requested_Peri UTRAN. odic-TAU> Cavli Wireless. All rights reserved.
  • Page 52 0 0 0 value is incremented in multiples of 2 seconds 0 0 1 value is incremented in multiples of 1 minute 0 1 0 value is incremented in multiples of decihours 1 1 1 value indicates that the timer is deactivated Example AT+CPSMS=1,,,”00000100”,”00001111” Cavli Wireless. All rights reserved.
  • Page 53: At+Cedrxs E-I-Drx Setting

    +CEDRXS: (list of supported <mode>s),(list of supported <AcT-type>s),(list of supported<Requested eDRX_value> AT+CEDRXS=? AT+CEDRXS=[<mode>,[,<AcT -type>[,<Requested_eDRX_val ue>]]] [+CEDRXS: <AcT-type>,<Requested_eDRX_value> [+CEDRXS: <AcT-type>,<Requested_eDRX_value> AT+CEDRXS? [...]]] Defined value Parameter values Explain Integer type. Disable or enable the use of e-I-DRX in the <mode> 0 - 3 Cavli Wireless. All rights reserved.
  • Page 54 5 --- LTE Cat.NB1 String type. Half a byte in a 4 bit format. <Requested_eDR X_value> 4 3 2 1 E-UTRAN e-I-DRX cycle length duration 0 0 0 0 5.12 seconds 0 0 0 1 10.24 seconds Cavli Wireless. All rights reserved.
  • Page 55: At+Cedrxrdp Read Dynamic Parameters

    1 1 1 1 10485.76 seconds Example AT+CEDRXS=1,5,”0000” 5.7 AT+CEDRXRDP Read Dynamic Parameters Description The Execution Command returns <AcT-type>, <Requested_eDRX_value>, <NW-provided_eD RX_value> and <Paging_time_window> if e-I-DRX is used for the cell that the MS is currently registered to. Cavli Wireless. All rights reserved.
  • Page 56 5 --- LTE Cat.NB1 String type. Half a byte in a 4 bit format. <Requested_eDR X_value> 4 3 2 1 E-UTRAN e-I-DRX cycle length duration 0 0 0 0 5.12 seconds 0 0 0 1 10.24 seconds Cavli Wireless. All rights reserved.
  • Page 57 4 3 2 1 E-UTRAN e-I-DRX cycle length duration <NW- provided_eDRX_v 0 0 0 0 5.12 seconds alue> 0 0 0 1 10.24 seconds 0 0 1 0 20.48 seconds 0 0 1 1 40.96 seconds 0 1 0 0 61.44 seconds Cavli Wireless. All rights reserved.
  • Page 58 0 0 0 1 2.56 seconds 0 0 1 0 3.84 seconds 0 0 1 1 5.12 seconds 0 1 0 0 6.4 seconds 0 1 0 1 7.68 seconds 0 1 1 0 8.96 seconds Cavli Wireless. All rights reserved.
  • Page 59 0 1 0 0 12.8 seconds 0 1 0 1 15.36 seconds 0 1 1 0 17.92 seconds 0 1 1 1 20.48 seconds 1 0 0 0 23.04 seconds 1 0 0 1 25.6 seconds Cavli Wireless. All rights reserved.
  • Page 60: At^sysinfo Query System Information

    AT^SYSINFO Defined value Parameter values Explain 0 --- No service 1 --- Limited service <srv_status> 0 - 4 2 --- Service available 3 --- Limited regional service 4 --- power save or deep sleep Cavli Wireless. All rights reserved.
  • Page 61: At^modeconfig Select Prefer Mode

    13 --- Cat-NB mode 0 --- SIM is not available <sim_state> 0 - 1 1 --- SIM is available Example AT^SYSINFO ^SYSINFO: 2,2,0,13,1 5.9 AT^MODECONFIG Select Prefer Mode Description The Command controls UE prefer mode Cavli Wireless. All rights reserved.
  • Page 62 Response AT^MODECONFIG=<mode> ^MODECONFIG: <mode> AT^MODECONFIG? ^MODECONFIG: (<mode>list) AT^MODECONFIG=? Defined value Parameter values Explain 2 --- Automatic 13 --- GSM only <mode> 38 --- LTE only 51 --- GSM and LTE Example AT^MODECONFIG=38 AT^MODECONFIG? ^MODECONFIG: 38 Cavli Wireless. All rights reserved.
  • Page 63: At+Cping Ping Destination Address

    <num_pkts_lost>,<min_rtt>,<max_rtt>,<avg_rtt> Defined value Parameter values Explain The destination is to be pinged; it can be <dest_addr> an IP address or a domain name. Integer type. Address family type of the destination address <dest_addr_type> 1---IPv4 2---IPv6(reserved) Cavli Wireless. All rights reserved.
  • Page 64 Indicates the number of ping requests <num_pkts_sent> that were sent out. Indicates the number of ping responses <num_pkts_recvd> that were received. Indicates the number of ping responses <num_pkts_lost> that were received. Indicates the minimum Round Trip <min_rtt> Time(RTT). Cavli Wireless. All rights reserved.
  • Page 65 <max_rtt> Indicates the average RTT. <avg_rtt> Indicates the resolved ip address. <resolved_ip_addr> Round Trip Time. <rtt> Example AT+CPING=? +CPING: IP address,(1,2),(1-100),(4-188),(1000-10000),(10000-100000),(16-255) AT+CPING="8.8.8.8",1,4,64,1000,10000,255 +CPING: 1,8.8.8.8,64,479,255 +CPING: 1, 8.8.8.8,64,420,255 +CPING: 1, 8.8.8.8,64,380,255 +CPING: 1, 8.8.8.8,64,340,255 +CPING: 3,4,4,0,340,479,404 Cavli Wireless. All rights reserved.
  • Page 66: Chapter 6.Packet Domain Commands

    Syntax Command Response AT+CGATT=[<state>] +CGATT: <state> AT+CGATT? +CGATT: (<state>list) AT+CGATT=? Defined value Parameter values Explain Indicates the state of Packet Domain attachment: <state> 0 --- detached 1 --- attached Example AT+CGATT? Cavli Wireless. All rights reserved.
  • Page 67: At+Cgdcont Define Pdp Context

    A special form of the write command (AT+CGDCONT=<cid>) causes the values for context <cid> to become undefined. Syntax Command Response AT+CGDCONT=[<cid>[,<PDP_ type>[,<APN>[,<PDP_addr>[, <d_comp>[,<h_comp>]]]]]] +CGDCONT:<cid>,<PDP_type>,<APN>,<PDP_addr>,<d ata_comp>,<head_comp> [+CGDCONT:<cid>,<PDP_type>,<APN>,<PDP_addr>,< AT+CGDCONT? data_comp>,<head_comp>] Cavli Wireless. All rights reserved.
  • Page 68 0 --- off (default if value is omitted) <d_comp> 1 --- on 2 --- V.42bis A numeric parameter that controls PDP header compression: <h_comp> 0 --- off (default if value is omitted) 1 --- on Cavli Wireless. All rights reserved.
  • Page 69: At+Cgact Pdp Context Activate Or Deactivate

    PS attached when the activation form of the command is executed, the MT first performs a PS attach and then attempts to activate the specified contexts. Syntax Command Response AT+CGACT=<state>[,<cid>[,< cid>[,…]]] +CGACT: <cid>,<state> AT+CGACT? [+CGACT: <cid>,<state>[...]] Cavli Wireless. All rights reserved.
  • Page 70: At+Cgpaddr Show Pdp Address

    +CGACT: 1,1 6.4 AT+CGPADDR Show PDP Address Description The Write Command returns a list of PDP addresses for the specified context identifiers. If no <cid> is specified, the addresses for all defined contexts are returned. Syntax Cavli Wireless. All rights reserved.
  • Page 71: At+Cgreg Gprs Network Registration Status

    PDP context activation that used the context definition referred to by <cid>. <PDP_address> is omitted if none is available . Example AT+CGPADDR +CGPADDR: 1,10.37.207.17 6.5 AT+CGREG GPRS Network Registration Status Description Cavli Wireless. All rights reserved.
  • Page 72 0 --- Not registered, ME is not currently searching a new operator to register to <stat> 1 --- Registered, home network 2 --- Not registered, but ME is currently searching a new operator to register to Cavli Wireless. All rights reserved.
  • Page 73: At+Cgsms Select Service For Mo Sms Messages

    6.6 AT+CGSMS Select Service for MO SMS Messages Description The command specifies the service or service preference that the MT will use to send MO (mobile originated) SMS messages. Syntax Command Response AT+CGSMS =[<service>] +CGSMS: <service> AT+CGSMS? +CGSMS: (<service>list) AT+CGSMS =? Cavli Wireless. All rights reserved.
  • Page 74: At+Cereg Eps Network Registration Status

    <n>=2 and there is a change of the network cell in E-UTRAN, and the unsolicited result code +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>][,,[,[<Active- • Time>],[<Periodic-TAU>]]]] when <n>=4 and there is a change of the network cell in E-UTRAN. Syntax Cavli Wireless. All rights reserved.
  • Page 75 1 --- Registered, home network 2 --- Not registered, but ME is currently searching a new <stat> operator to register to 3 --- Registration denied 4 --- Unknown 5 --- Registered, roaming Cavli Wireless. All rights reserved.
  • Page 76 <lac> String type, two byte location area code in hexadecimal format <ci> String type, two byte cell ID in hexadecimal format Example AT+CEREG? +CEREG: 0,1 Cavli Wireless. All rights reserved.
  • Page 77: Chapter 7. Tcp/Ip Related Commands

    The result of operation, 0 is success, other value is failure A numeric parameter that indicates the state of PDP context activation <net_state> 0 --- Network close (deactivated) 1 --- Network open(activated) A string parameter that displays the cause of occurring <err_info> error Cavli Wireless. All rights reserved.
  • Page 78: At+Ipopen Establish Socket Connection In Multi-Socket Mode

    ERROR AT+IPNETOPEN? +IPNETOPEN: 1 7.2 AT+IPOPEN Establish socket connection in multi-socket mode Description This command is used to establish a connection with TCP server and UDP server, The sum of all of connections is 10。 Cavli Wireless. All rights reserved.
  • Page 79 Syntax Command Response +IPOPEN: <link_num>,<err> AT+IPOPEN=<link_num>,”TCP”,”<serve rIP>”,<serverPort>[,<localPort>] +IPOPEN: <link_num>,<err> ERROR +IPOPEN: <link_num>,<err> AT+IPOPEN=<link_num>,"UDP",,,<local Port> +IPOPEN: <link_num>,<err> ERROR +IPOPEN: <link_num>,"<type>","<serverIP>",<serverPort >,<index> +IPOPEN: <link_num>,"<type>","<serverIP>",<serverPort AT+IPOPEN? >,<index> ..+IPOPEN: (list of supported <link_num>), (list of supported <type>) AT+IPOPEN=? Cavli Wireless. All rights reserved.
  • Page 80 <localPort> 0-65535 socket a numeric parameter that identifies the server index that client linked when server. -1、 0-3 <index> -1---Not server 0-3---TCP server index Example AT+IPOPEN=0,"TCP","8.8.8.8",1234 +IPOPEN: 0,0 AT+IPOPEN=1,"TCP","8.8.8.8",1234 Cavli Wireless. All rights reserved.
  • Page 81 +IPOPEN: 1,0 ..AT+IPOPEN=9,"TCP","8.8.8.8",1234 +IPOPEN: 9,0 AT+IPOPEN? +IPOPEN: 0,"TCP","8.8.8.8",1234,-1 +IPOPEN: 1,"TCP","8.8.8.8",1234,-1 +IPOPEN: 2,"TCP","8.8.8.8",1234,-1 +IPOPEN: 3,"TCP","8.8.8.8",1234,-1 +IPOPEN: 4,"TCP","8.8.8.8",1234,-1 +IPOPEN: 5,"TCP","8.8.8.8",1234,-1 +IPOPEN: 6,"TCP","8.8.8.8",1234,-1 +IPOPEN: 7,"TCP","8.8.8.8",1234,-1 +IPOPEN: 8,"TCP","8.8.8.8",1234,-1 +IPOPEN: 9,"TCP","8.8.8.8",1234,-1 Cavli Wireless. All rights reserved.
  • Page 82: At+Ipsend Send Data Through Tcp Or Udp Connection

    Single <ESC> is used to cancel the sending. <ETX> is 0x03, and <Ctrl+Z> is 0x1A, <ESC> is 0x1B Syntax Command Response AT+IPSEND=<link_num>,<length> +IPSEND: <link_num>,<reqSendLength>,<cnfSendLength> AT+IPSEND=<link_num>,<length>," <serverIP>",<serverPort> +IPSEND: <link_num>,<reqSendLength>,<cnfSendLength> AT+IPSEND? +IPSEND: (list of supported <link_num>), (list of supported <length>) AT+IPSEND=? Cavli Wireless. All rights reserved.
  • Page 83 0 own send buffer or other side’s congestion window are <cnfSendLength> full. Note: If the <cnfSendLength> is not equal to the <reqSendLength>, the socket then cannot be used further Example AT+IPOPEN=0,"TCP","8.8.8.8",1234 +IPOPEN: 0,0 AT+IPOPEN=1,"UDP",,,1001 +IPOPEN: 1,0 Cavli Wireless. All rights reserved.
  • Page 84: At+Ipclose Close Tcp Or Udp Socket

    AT+IPSEND=0,10 >########## +IPSEND: 0,10,10 AT+IPSEND=1,10," 8.8.8.8",1234 >&&&&&&&&&& +IPSEND: 1,10,10 7.5 AT+IPCLOSE Close TCP or UDP socket Description This command is used to close TCP or UDP socket。 Syntax Command Response AT+IPCLOSE=<link_num> +IPOPEN: <link_num>,<err> +IPCLOSE: <link_num>,<err> Cavli Wireless. All rights reserved.
  • Page 85 <link_num> parameter is used for multi clients. <err> The result of operation, 0 is success, other value is failure a numeric parameter that identifies state of <link_num>. range permitted values <linkn_state> disconnected 1 connected Example Cavli Wireless. All rights reserved.
  • Page 86 AT+IPCLOSE? +IPCLOSE: 0,0,0,0,0,0,0,1,1,1 AT+IPCLOSE=7 +IPCLOSE: 7,0 AT+IPCLOSE=8 +IPCLOSE: 8,0 AT+IPCLOSE=9 +IPCLOSE: 9,0 AT+IPCLOSE? +IPCLOSE: 0,0,0,0,0,0,0,0,0,0 Cavli Wireless. All rights reserved.
  • Page 87: At+Ipnetclose Close Socket Network

    This command closes network. Before calling this command, all opened sockets must be closed first. Syntax Command Response +IPNETCLOSE: <err> AT+IPNETCLOSE +IPNETCLOSE: <err> ERROR AT+IPNETCLOSE=? Defined value Parameter values Explain <err> The result of operation, 0 is success, other value is failure Cavli Wireless. All rights reserved.
  • Page 88 Example AT+IPNETCLOSE +IPNETCLOSE: 0 AT+IPNETCLOSE +IPNETCLOSE: 2 ERROR AT+IPNETCLOSE=? Cavli Wireless. All rights reserved.
  • Page 89: Chapter 8. Gps Related Commands

    +CGPS: <ctrl>,<mode> AT+CGPS? +CGPS: (0-2),(1-3) AT+CGPS=? Defined value Parameter values Explain 0: Stop GPS session <ctrl> 1: Start one-shot GPS session 2: Start tracking mode GPS session 1: standalone mode <mode> 2: ms-based 3: ms-assisted Example Cavli Wireless. All rights reserved.
  • Page 90: At+Cgpscold Set Gps Cold Start

    8.2 AT+CGPSCOLD Set GPS cold start Description This command is used to set GPS cold start, It’s mean delete ALL assistance data. Syntax Command Response AT+CGPSCOLD Example AT+CGPSCOLD AT+CGPS=1 8.3 AT+CGPSWARM Set GPS warm start Description Cavli Wireless. All rights reserved.
  • Page 91: At+Cgpsnmea Configure Nmea Sentence Type

    Example AT+CGPSWARM AT+CGPS=1 8.4 AT+CGPSNMEA Configure NMEA sentence type Description This command is used to configure NMEA output sentences which are generated by the gps engine when position data is available. Syntax Command Response AT+CGPSNMEA=<nmea> Cavli Wireless. All rights reserved.
  • Page 92 4: GPVTG (track made good and ground speed) 5: PQXFI (Global Positioning System Extended Fix Data) 6: GNGNS 7: GNGSA (GPS and GLONASS satellites) 8: GLGSV(GLONASS satellites in view) Example AT+CGPSNEMA=2 //output GPRMC only 8.5 AT+CGPSPORT Configure output port for NMEA sentence Cavli Wireless. All rights reserved.
  • Page 93 +CGPSPORT: <port> AT+CGPSPORT? +CGPSPORT: (0-3) AT+CGPSPORT=? Defined value Parameter values Explain 0: Temporary does not support 1: Modem port <port> 2: AT port 3: UART port Example AT+CGPSPORT=3 8.6 AT+CGPSHOR Configure GPS accuracy threshold Description Cavli Wireless. All rights reserved.
  • Page 94 This command is used to configure GPS position accuracy threshold Syntax Command Response AT+CGPSHOR=<thre> +CGPSHOR: <thre> AT+CGPSHOR? +CGPSHOR: (0- 1800000) AT+CGPSHOR=? Defined value Parameter values Explain < thre > 0-1800000 GPS accuracy threshold in meters Example AT+CGPSHOR=10 Cavli Wireless. All rights reserved.

Table of Contents

Save PDF