background image

                                                                                                                                             

GSM/GPRS Module 

                                                                                                                                M35  AT  Commands  Manual

 

 

  M35_AT_Commands_Manual                              Confidential / Released                                   

81

 / 

186

 

 
 

 

 

8.2.  AT+CMGF    Select SMS Message Format 

Parameter

 

 

8.3.  AT+CSCA    SMS Service Center Address 

 

 

 

 

Type not supported 

 

         

 

Type supported 

AT+CMGF    Select SMS Message Format 

Test Command

 

AT+CMGF=? 

Response 

+CMGF:

 (list of supported

 <mode>

s)

 

 

OK 

Read Command 

AT+CMGF? 

Response 

+CMGF:

 

<mode>

 

 

OK 

Write Command 

AT+CMGF=[<mode>] 

Response 
TA  sets  parameter  to  denote  which  kind  of  I/O  format  of 
messages is used. 

OK 

Reference 
GSM 07.05 

 

<mode>

  

 

PDU mode 

 

 

 

 

Text mode 

AT+CSCA    SMS Service Center Address 

Test Command

 

AT+CSCA=? 

Response 

OK 

Read Command 

AT+CSCA? 

Response 

+CSCA: <sca>,<tosca>

 

 

OK 

Write Command 

AT+CSCA=<sca>[,<tosca>] 

Response 
TA  updates  the  SMSC  address,  through  which  mobile 
originated SMS are transmitted. In text mode, setting is used 

Summary of Contents for M35

Page 1: ...M35 AT Commands Manual GSM GPRS Module Series Rev M35_AT_Commands_Manual_V1 0 Date 2013 07 11 www quectel com ...

Page 2: ...IDED 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 ARE SUBJECT TO CHANGE WITHOUT PRIOR N...

Page 3: ...M GPRS Module M35 AT Commands Manual M35_AT_Commands_Manual Confidential Released 3 186 About the Document History Revision Date Author Description 1 0 2013 07 11 Bonnie ZHAO Initial Quectel Confidential ...

Page 4: ...I Request Manufacturer Identification 17 2 7 AT CGMM Request Model Identification 18 2 8 AT CGMR Request TA Revision Identification of Software Release 18 2 9 AT GSN Request International Mobile Equipment Identity IMEI 19 2 10 AT CGSN Request Product Serial Number Identification 19 2 11 AT F Set all Current Parameters to Manufacturer Defaults 20 2 12 AT V Display Current Configuration 20 2 13 AT W...

Page 5: ...tary Unsolicited Indications 42 4 7 AT QINISTAT Query State of Initialization 44 4 8 AT QNSTATUS Query GSM Network Status 44 4 9 AT QSIMDET Switch on or off Detecting SIM Card 45 5 SIM Related Commands 46 5 1 AT CIMI Request International Mobile Subscriber Identity IMSI 46 5 2 AT CLCK Facility Lock 46 5 3 AT CPIN Enter PIN 48 5 4 AT CPWD Change Password 49 5 5 AT CRSM Restricted SIM Access 51 5 6 ...

Page 6: ...13 AT CBST Select Bearer Service Type 71 7 14 AT CSTA Select Type of Address 72 7 15 AT CLCC List Current Calls of ME 73 7 16 AT CR Service Reporting Control 74 7 17 AT CRC Set Cellular Result Codes for Incoming Call Indication 75 7 18 AT CRLP Select Radio Link Protocol Parameter 76 7 19 AT CSNS Single Numbering Scheme 77 7 20 AT CMOD Configure Alternating Mode Calls 78 7 21 AT QSFR Preference Spe...

Page 7: ...T CGCLASS GPRS Mobile Station Class 117 10 9 AT CGEREP Control Unsolicited GPRS Event Reporting 118 10 10 AT CGREG Network Registration Status 119 10 11 AT CGSMS Select Service for MO SMS Messages 120 10 12 AT QGPCLASS Change GPRS Multi slot Class 121 11 TCPIP Commands 123 11 1 AT QIOPEN Start up TCP or UDP Connection 123 11 2 AT QISEND Send Data through TCP or UDP Connection 124 11 3 AT QICLOSE C...

Page 8: ...TP Synchronize the Local Time Via NTP 152 12 Supplementary Service Commands 153 12 1 AT CACM Accumulated Call Meter ACM Reset or Query 153 12 2 AT CAMM Accumulated Call Meter Maximum ACM Max Set or Query 154 12 3 AT CAOC Advice of Charge 155 12 4 AT CCFC Call Forwarding Number and Conditions Control 156 12 5 AT CCUG Closed User Group Control 157 12 6 AT CCWA Call Waiting Control 158 12 7 AT CHLD C...

Page 9: ... AT QSCLK Configure Slow Clock 179 15 Others Commands 180 15 1 A Re issues the Last Command Given 180 15 2 ATE Set Command Echo Mode 180 15 3 ATS3 Set Command Line Termination Character 181 15 4 ATS4 Set Response Formatting Character 181 15 5 ATS5 Set Command Line Editing Character 182 15 6 AT DS V 42bis Data Compression Control 182 15 7 AT DR V 42bis Data Compression Reporting Control 183 15 8 AT...

Page 10: ...LE 5 FACTORY DEFAULT SETTINGS RESTORABLE WITH AT F 214 TABLE 6 AT COMMAND SETTINGS STORABLE WITH AT W 216 TABLE 7 AT COMMAND SETTINGS STORABLE WITH ATZ 219 TABLE 8 DIFFERENT CODING SCHEMES OF CME ERROR ERR 221 TABLE 9 DIFFERENT CODING SCHEMES OF CMS ERROR ERR 225 TABLE 10 LOCATION ID FOR THE EXTENDED ERROR REPORT 227 TABLE 11 CAUSE FOR PROTOCOL STACK PS LAYER 227 TABLE 12 INTERNAL CAUSE FOR MM LAY...

Page 11: ...tion V 25ter and the AT Commands developed by Quectel All these AT Commands can be split into three categories syntactically basic S parameter and extended They are listed as follows Basic syntax These AT Commands have the format of AT x n or AT x n where x is the command and n is are the argument s for that command An example of this is ATE n which tells the DCE whether received characters should...

Page 12: ...mmands on Separate Lines 1 3 Supported Character Sets The M35 AT Command interface defaults to the IRA character set The M35 supports the following character sets GSM UCS2 HEX IRA PCCP437 8859_1 You can enter several AT Commands on the same line In this case you do not need to type the AT or at prefix before every command Instead you only need type AT or at at the beginning of the command line Ple...

Page 13: ...g TCP IP because the DTE interface may interpret binary data as flow control characters The character set can be configured and interrogated using the AT CSCS command GSM 07 07 The character set is defined in GSM specification 07 05 The character set affects transmission and reception of SMS and SMS Cell Broadcast Messages the entry and display of phone book entries text field and SIM Application ...

Page 14: ...re flow control ensure that the RTS CTS lines are present on your application platform 1 5 Unsolicited Result Code A URC is a report message sent from the ME to the TE An unsolicited result code can either be delivered automatically when an event occurs to reflect change in system state or as a result of a query the ME received before often due to occurrences of errors in executing the queries How...

Page 15: ...Request Manufacture Identification ATI Display Product Identification Information Execution Command ATI Response TA issues product information text Quectel_Ltd Quectel_M35 Revision M85EARxxAxxW64 OK Reference V 25ter AT GMI Request Manufacture Identification Test Command AT GMI Response OK Execution Command AT GMI Response TA reports one or more lines of information text which permit the user to i...

Page 16: ...el Identification Test Command AT GMM Response OK Execution Command AT GMM Response TA returns a product model identification text Quectel_M35 OK Reference V 25ter AT GMR Request TA Revision Identification of Software Release Test Command AT GMR Response OK Execution Command AT GMR Response TA reports one or more lines of information text which permit the user to identify the revision of software ...

Page 17: ... 2 6 AT CGMI Request Manufacturer Identification AT GOI Request Global Object Identification Test Command AT GOI Response OK Execution Command AT GOI Response TA reports one or more lines of information text which permit the user to identify the device based on the ISO system for registering unique object identifiers Object Id OK Reference V 25ter Object Id Identifier of device type AT CGMI Reques...

Page 18: ...Revision MTK 1132 OK Reference GSM 07 07 AT CGMM Request Model Identification Test Command AT CGMM Response OK Execution Command AT CGMM Response TA returns product model identification text model OK Reference GSM 07 07 model Product model identification text AT CGMR Request TA Revision Identification of Software Release Test Command AT CGMR Response OK Execution Command AT CGMR Response TA return...

Page 19: ...ct software version identification text AT GSN Request International Mobile Equipment Identity IMEI Test Command AT GSN Response OK Execution Command AT GSN Response TA reports the IMEI International Mobile Equipment Identity number in information text which permit the user to identify the individual ME device sn OK Reference V 25ter sn IMEI of the telephone AT CGSN Request Product Serial Number I...

Page 20: ...7 07 AT F Set all Current Parameters to Manufacturer Defaults Execution Command AT F value Response TA sets all current parameters to the manufacturer defined profile OK Reference V 25ter value 0 Set all TA parameters to manufacturer defaults AT V Display Current Configuration Execution Command AT V n Response TA returns the current parameter setting ACTIVE PROFILE current configurations text OK R...

Page 21: ...uration List AT V or AT V0 AT V ACTIVE PROFILE E 1 Q 0 V 1 X 4 S0 0 S2 43 S3 13 S4 10 S5 8 S6 2 S7 60 S8 2 S10 15 CR 0 FCLASS 0 CMGF 0 CSDH 0 ILRR 0 CMEE 1 CBST 7 0 1 IFC 0 0 ICF 3 3 CNMI 2 1 0 0 0 CSCS GSM IPR 0 C 1 D 0 CSTA 129 CRLP 61 61 128 6 0 3 CCWE 0 QSIMSTAT 0 CMUX 1 CCUG 0 0 0 CLIP 0 COLP 0 CCWA 0 CAOC 1 CLIR 0 CUSD 0 ...

Page 22: ... OK 2 13 AT W Store Current Parameter to User Defined Profile Parameter The profile defined by user is stored in non volatile memory 2 14 ATQ Set Result Code Presentation Mode AT W Store Current Parameter to User Defined Profile Execution Command AT W n Response TA stores the current parameter setting in the user defined profile OK Reference V 25ter n 0 Profile number to store to ATQ Set Result Co...

Page 23: ...ed by this setting If n 0 OK If n 1 none Reference V 25ter n 0 TA transmits result code 1 Result codes are suppressed and not transmitted ATV TA Response Format Execution Command ATV value Response This parameter setting determines the contents of the header and trailer transmitted with result codes and information responses When value 0 0 When value 1 OK Reference V 25ter value 0 Information resp...

Page 24: ...gnal from network NO CARRIER 3 The connection has been terminated or the attempt to establish a connection failed ERROR 4 Command not recognized command line maximum length exceeded parameter value invalid or other problem with processing the command line NO DIALTONE 6 No dial tone detected BUSY 7 Engaged busy signal detected NO ANSWER 8 Wait for Quiet Answer dial modifier was used but remote ring...

Page 25: ...result codes OK Reference V 25ter value 0 CONNECT result code only returned dial tone and busy detection are both disabled 1 CONNECT text result code only returned dial tone and busy detection are both disabled 2 CONNECT text result code returned dial tone detection is enabled busy detection is disabled 3 CONNECT text result code returned dial tone detection is disabled busy detection is enabled 4...

Page 26: ...um functionality CPIN NOT READY OK AT CFUN Set Phone Functionality Test Command AT CFUN Response CFUN list of supported fun s list of supported rst s OK Read Command AT CFUN Response CFUN fun OK Write Command AT CFUN fun rst Response OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 fun 0 Minimum functionality 1 Full functionality Default 4 Disable phone both transmit an...

Page 27: ...full functionality OK CPIN SIM PIN AT CPIN 1234 CPIN READY OK Call Ready AT CPIN CPIN READY OK AT COPS COPS 0 0 CHINA MOBILE Operator is registered OK 2 19 AT QPOWD Power off Parameter AT QPOWD Power off Write Command AT QPOWD n Response When n 0 OK When n 1 NORMAL POWER DOWN Reference n 0 Urgent power off Do not send out URC NORMAL POWER DOWN 1 Normal power off Send out URC NORMAL POWER DOWN ...

Page 28: ...Only ERROR will be displayed AT CMEE 1 Enable error result code with numeric values OK AT CPIN 1234 AT CMEE Report Mobile Equipment Error Test Command AT CMEE Response CMEE list of supported n s OK Read Command AT CMEE Response CMEE n OK Write Command AT CMEE n Response TA disables or enables the use of result code CME ERROR err as an indication of an error related to the functionality of the ME O...

Page 29: ...cter Set Test Command AT CSCS Response CSCS list of supported chset s OK Read Command AT CSCS Response CSCS chset OK Write Command AT CSCS chset Response Set character set chset which is used by the TE The TA can then convert character strings correctly between the TE and ME character sets OK Reference GSM 07 07 chset GSM GSM default alphabet HEX Character strings consist only of hexadecimal numbe...

Page 30: ... CSCS CSCS UCS2 OK 2 22 AT GCAP Request Complete TA Capabilities List Parameter AT GCAP Request Complete TA Capabilities List Test Command AT GCAP Response OK Execution Command AT GCAP Response TA reports a list of additional capabilities GCAP name s OK Reference V 25ter name CGSM GSM function is supported FCLASS FAX function is supported ...

Page 31: ...of circuit 109 DCD relates to the detection of received line signal from the distant end OK Reference V 25ter value 0 DCD line is always ON 1 DCD line is ON only in the presence of data carrier AT D Set DTR Function Mode Execution Command AT D value Response This parameter determines how the TA responds when circuit 108 2 DTR is changed from the ON to the OFF condition during data mode OK Referenc...

Page 32: ...AT ICF Set TE TA Control Character Framing Test Command AT ICF Response ICF list of supported format s list of supported parity s OK Read Command AT ICF Response ICF format parity OK Write Command AT ICF format parity Response This parameter setting determines the serial interface character framing format and parity received by TA from TE OK Reference V 25ter format 1 8 data 0 parity 2 stop 2 8 da...

Page 33: ... dce_by_dte s list of supported dte_by_dce s OK Read Command AT IFC Response IFC dce_by_dte dte_by_dce OK Write Command AT IFC dce_by_dte dte_by_dce Response This parameter setting determines the data flow control on the serial interface for data mode OK Reference V 25ter dce_by_dte Specifies the method will be used by TE when receiving data from TA 0 None 1 XON XOFF do not pass characters on to d...

Page 34: ...400 4800 9600 14400 19200 28800 AT ILRR Set TE TA Local Data Rate Reporting Mode Test Command AT ILRR Response ILRR list of supported value s OK Read Command AT ILRR Response ILRR value OK Write Command AT ILRR value Response This parameter setting determines whether or not an intermediate result code of local rate is reported when the connection is established The rate is applied after the final ...

Page 35: ...o detectable rate s list of supported fixed only rate s OK Read Command AT IPR Response IPR rate OK Write Command AT IPR rate Response This parameter setting determines the data rate of the TA on the serial interface After the delivery of any result code associated with the current command line the rate of command takes effect OK Reference V 25ter rate Baud rate per second 0 Autobauding 75 150 300...

Page 36: ...d acknowledged by OK Example AT IPR 115200 Set fixed baud rate to 115200 OK AT W Store current setting that is the serial communication speed is 115200 after restart module OK AT IPR IPR 115200 OK 3 6 1 Adaptive Baud To take advantage of adaptive baud mode specific attention must be paid to the following requirements 1 Adaptive baud synchronization between TE and TA Ensure that TE and TA are corre...

Page 37: ...nswer mode ATS0 0 are enabled at the same time especially if SIM PIN 1 authentication is done automatically and the setting ATS0 0 is stored to the user profile with AT W Until the baud rate is synchronized URCs after restarting will not be output when adaptive baud is enabled 4 Adaptive baud and multiplex mode If adaptive baud is active it is not recommended to switch to multiplex mode 5 Adaptive...

Page 38: ...mmand AT CEER Response OK Execution Command AT CEER Response TA returns an extended report of the reason for the last call release CEER locationID cause OK Reference GSM 07 07 locationID Location ID as number code Location IDs are listed in Section 8 3 1 Each ID is related with anther table that contains a list of cause s cause Reason for last call release as number code The number codes are liste...

Page 39: ... 1 16 OK 4 2 AT CPAS Mobile Equipment Activity Status Parameter Example AT CPAS CPAS 0 Module is idle OK ATD10086 OK AT CPAS Mobile Equipment Activity Status Test Command AT CPAS Response CPAS list of supported pas s OK Execution Command AT CPAS Response TA returns the activity status of ME CPAS pas OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 pas 0 Ready 2 Unknown ...

Page 40: ...l ringing OK AT CLCC CLCC 1 0 0 0 0 10086 129 OK AT CPAS CPAS 4 Call in progress OK 4 3 AT QINDRI Indicate RI when Using URC Parameter AT QINDRI Indicate RI when Using URC Test Command AT QINDRI Response QINDRI list of supported status s OK Read Command AT QINDRI Response QINDRI status OK Write Command AT QINDRI status Response OK ERROR Reference status 0 Off 1 On ...

Page 41: ...Mobile Originated Call Test Command AT QMOSTAT Response QMOSTAT list of supported mode s OK Read Command AT QMOSTAT Response QMOSTAT mode OK Write Command AT QMOSTAT mode Response OK ERROR Reference mode 0 Do not show call state of mobile originated call 1 Show call state of mobile originated call After dialing call numbers the URC strings of MO RING will be sent if the other call side is alerted ...

Page 42: ...IURC Response QIURC mode OK Write Command AT QIURC mode Response OK ERROR Reference mode 0 Disable URC presentation 1 Enable URC presentation AT QEXTUNSOL Enable Disable Proprietary Unsolicited Indications Test Command AT QEXTUNSOL Response QEXTUNSOL list of supported exunsol s OK Write Command AT QEXTUNSOL exunsol mode Response OK ERROR Reference exunsol String type Values currently reserved by t...

Page 43: ...event 0 Terminated active call at least one held call remaining 1 Attempt to make an Mobile Originated call 2 Mobile Originated Call has failed for some reason 3 Mobile Originated call is ringing 4 Mobile Terminated call is queued Call waiting 5 Mobile Originated Call now has been connected 6 Mobile Originated or Mobile Terminated call has been disconnected 7 Mobile Originated or Mobile Terminated...

Page 44: ...us AT QINISTAT Query State of Initialization Test Command AT QINISTAT Response OK Execution Command AT QINISTAT Response QINISTAT state OK Reference state 0 No initialization 1 Ready to execute AT command 2 Phonebook has finished initialization 3 SMS has finished initialization AT QNSTATUS Query GSM Network Status Test Command AT QNSTATUS Response OK Execution Command AT QNSTATUS Response QNSTATUS...

Page 45: ...2 Only limited service is available AT QSIMDET Switch on or off Detecting SIM Card Test Command AT QSIMDET Response QSIMDET 0 1 0 1 OK Read Command AT QSIMDET Response QSIMDET mode active OK Write Command AT QSIMDET mode active Response OK ERROR Reference mode 0 Switch off detecting SIM card 1 Switch on detecting SIM card active 0 Low level of SIM_PRESENCE pin indicates SIM card is present 1 High ...

Page 46: ...f SIM which is attached to ME OK 5 2 AT CLCK Facility Lock AT CIMI Request International Mobile Subscriber Identity IMSI Test Command AT CIMI Response OK Execution Command AT CIMI Response TA returns IMSI for identifying the individual SIM which is attached to ME IMSI OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 IMSI International Mobile Subscriber Identity string w...

Page 47: ...d ME may remember certain amount of previously used cards thus not requiring password when they are inserted SC SIM lock SIM card SIM asks password in ME power up and when this lock command is issued AO BAOC Barr All Outgoing Calls refer to GSM02 88 6 clause 1 OI BOIC Barr Outgoing International Calls refer to GSM02 88 6 clause 1 OX BOIC exHC Barr Outgoing International Calls except to Home Countr...

Page 48: ... SIM card PN Network Personalization refer to GSM 02 22 PU Network subset Personalization refer to GSM 02 22 PP Service Provider Personalization refer to GSM 02 22 PC Corporate Personalization refer to GSM 02 22 mode 0 Unlock 1 Lock 2 Query status passwd Password class 1 Voice 2 Data 4 FAX 7 All telephony except SMS Default 8 Short message service 16 Data circuit sync 32 Data circuit async status ...

Page 49: ...n error message CME ERROR is returned to TE If the PIN required is SIM PUK or SIM PUK2 the second pin is required This second pin new pin is used to replace the old pin in the SIM OK Reference GSM 07 07 code READY No further entry needed SIM PIN ME is waiting for SIM PIN SIM PUK ME is waiting for SIM PUK PH_SIM PIN ME is waiting for phone to SIM card antitheft PH_SIM PUK ME is waiting for SIM PUK ...

Page 50: ...ties and the maximum length of their password CPWD list of supported fac s pwdlength s OK Write Command AT CPWD fac oldpwd newpwd Response TA sets a new password for the facility lock function OK Reference GSM 07 07 fac PS Phone locked to SIM device code The PS password may either be individually specified by the client or depending on the subscription supplied from the provider e g with a prepaid...

Page 51: ... Calls refer to GSM02 88 6 clause 2 IR BIC Roam Barr Incoming Calls when Roaming outside the home country refer to GSM02 88 6 clause 2 AB All Barring services refer to GSM02 30 19 applicable only for mode 0 AG All outgoing barring services refer to GSM02 30 19 applicable only for mode 0 AC All incoming barring services refer to GSM02 30 19 applicable only for mode 0 FD SIM fixed dialing memory fea...

Page 52: ...d on by the ME to the SIM These parameters are mandatory for every command except GET RESPONSE and STATUS The values are described in GSM 11 11 data Information which shall be written to the SIM hexadecimal character format sw1 sw2 Integer type information from the SIM about the execution of the actual command These parameters are delivered to the TE in both cases on successful or failed execution...

Page 53: ...le_id offs et record_id len data Response CSIM command response OK ERROR Reference GSM 07 07 operation 0 Read operation 1 Write operation file_id Integer type SIM elementary file ID offset Integer type offset for reading and writing SIM len Integer type length of parameter data String type hex format parameter is sent or received from the ME to the SIM AT QCSPWD Change PS Super Password Test Comma...

Page 54: ... the super password to unlock it 5 8 AT QCCID Show ICCID Example AT QCCID Query ICCID of the SIM card 898600220909A0206023 OK 5 9 AT QGID Get SIM Card Group Identifier newpwd String type New password and length should be 8 AT QCCID Show ICCID Test Command AT QCCID Response OK Execution Command AT QCCID Response ICCID data OK Reference AT QGID Get SIM Card Group Identifier Execution Command AT QGID...

Page 55: ... set successfully and the module is restarted gid1 Integer type of SIM card group identifier 1 gid2 Integer type of SIM card group identifier 2 AT QSIMVOL Select SIM Card Operating Voltage Test Command AT QSIMVOL Response QSIMVOL list of supported mode s OK Read Command AT QSIMVOL Response QSIMVOL mode OK Write Command AT QSIMVOL mode Response OK ERROR CME ERROR err Reference mode 0 Recognize 1 8V...

Page 56: ...oper short alphanumeric oper numeric oper s list of supported mode s list of supported format s OK If error is related to ME functionality CME ERROR err Read Command AT COPS Response TA returns the current mode and the currently selected operator If no operator is selected format and oper are omitted COPS mode format oper OK If error is related to ME functionality CME ERROR err Write Command AT CO...

Page 57: ...erator current 3 Operator forbidden oper Operator in format as per mode mode 0 Automatic mode oper field is ignored 1 Manual operator selection oper field shall be present 2 Manual deregister from network 3 Set only format for read Command COPS not shown in Read Command response 4 Manual automatic selected if manual selection fails automatic mode mode 0 is entered format 0 Long format alphanumeric...

Page 58: ...n stat lac ci OK If error is related to ME functionality CME ERROR err Write Command AT CREG n Response TA controls the presentation of an unsolicited result code CREG stat when n 1 and there is a change in the ME network registration status OK Reference GSM 07 07 n 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code CREG stat 2 Enable netwo...

Page 59: ...Quality Report Test Command AT CSQ Response CSQ list of supported rssi s list of supported ber s OK Execution Command AT CSQ Response CSQ rssi ber OK CME ERROR err 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 Reference GSM 07 07 rssi 0 113 dBm or less 1 111 dBm 2 30 109 53 dBm 31 51 dBm...

Page 60: ...onse CPOL list of supported index s list of supported format s OK Read Command AT CPOL Response CPOL index1 format oper1 CR LF CPOL index2 format oper2 OK CME ERROR err Write Command AT CPOL index format oper Response OK CME ERROR err Reference GSM 07 07 index I Integer type order number of operator in SIM preferred operator list format 0 Long format alphanumeric oper 1 Short format alphanumeric o...

Page 61: ...esponse COPN numeric1 alpha1 CR LF COPN numeric2 alpha2 OK CME ERROR err Reference GSM 07 07 numericn String type operator in numeric format see COPS alphan String type operator in long alphanumeric format see COPS AT QBAND Get and Set Mobile Operation Band Test Command AT QBAND Response QBAND list of supported op_band s OK Read Command AT QBAND Response QBAND op_band OK Write Command AT QBAND op_...

Page 62: ...al M35_AT_Commands_Manual Confidential Released 62 186 The following radio setting to be updated is stored in non volatile memory op_band EGSM_MODE DCS_MODE PCS_MODE GSM350_MODE EGSM_DCS_MODE GSM850_PCS_MODE GSM850_EGSM_DCS_PCS_MODE NOTE ...

Page 63: ...lishment such as handshaking 3 See also ATX Example RING A voice call is ringing AT CLCC CLCC 1 1 4 0 0 02154450290 129 OK ATA Answer an Incoming Call Execution Command ATA Response TA sends off hook to the remote station Response in case of data call if successfully connected CONNECT text TA switches to data mode Note text output only if ATX value parameter setting with the value 0 When TA return...

Page 64: ...parameter setting ATX2 or ATX4 NO DIALTONE If busy and parameter setting ATX3 or ATX4 BUSY If a connection cannot be established NO CARRIER If connection is successful and non voice call CONNECT text TA switches to data mode text output only if ATX value parameter setting with the value 0 When TA returns to command mode after call release OK If connection is successful and voice call OK Reference ...

Page 65: ... AT COLP Factory default is AT COLP 0 which causes the TA returns OK immediately after dialing was completed otherwise TA will returns OK BUSY NO DIAL TONE NO CARRIER 7 Using ATD during an active voice call When a user originates a second voice call while there is already an active voice call the first call will be automatically put on hold The current states of all calls can be easily checked at ...

Page 66: ... 20 ms No characters entered for T1 time 0 5 seconds Switch to command mode otherwise go to step 1 2 To return from command mode back to data or PPP online mode Enter ATO Another way to change to command mode is through DTR see AT D command for the details Reference V 25ter n 0 Disconnect from line and terminate call Switch From Data Mode to Command Mode Execution Command Response This command is ...

Page 67: ... Select Pulse Dialing No effect in GSM ATO Switch from Command Mode to Data Mode Execution Command ATO n Response TA resumes the connection and switches back from command mode to data mode If connection is not successfully resumed NO CARRIER else TA returns to data mode from command mode CONNECT text Reference V 25ter n 0 Switch from command mode to data mode ATP Select Pulse Dialing Execution Com...

Page 68: ...ering a call OK RING Call coming RING RING Automatically answering the call after three rings 7 8 ATS6 Set Pause before Blind Dialing ATS0 Set Number of Rings before Automatically Answering Call Read Command ATS0 Response n OK Write Command ATS0 n Response This parameter setting determines the number of rings before auto answer OK Reference V 25ter n 0 Automatic answering is disabled 1 255 Enable ...

Page 69: ... Call may fail if ATS7 30 and ATS0 20 3 ATS7 is only applicable to data call Write Command ATS6 n Response OK Reference V 25ter n 0 2 10 Number of seconds to wait before blind dialing ATS7 Set Number of Seconds to Wait for Connection Completion Read Command ATS7 Response n OK Write Command ATS7 n Response This parameter setting determines the amount of time to wait for the connection completion in...

Page 70: ...ad Command ATS8 Response n OK Write Command ATS8 n Response OK Reference V 25ter n 0 No pause when comma encountered in dial string 1 2 255 Number of seconds to wait ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier Read Command ATS10 Response n OK Write Command ATS10 n Response This parameter setting determines the amount of time that the TA will remain connected in absence ...

Page 71: ...xecution Command ATT Response OK Reference V 25ter AT CBST Select Bearer Service Type Test Command AT CBST Response CBST list of supported speed s list of supported name s list of supported ce s OK Read Command AT CBST Response CBST speed name ce OK Write Command AT CBST speed name ce Response TA selects the bearer service name with data rate speed and the connection element ce to be used when dat...

Page 72: ...00 bps V 34 14 14400 bps V 34 68 2400 bps V 110 or X 31 flag stuffing 70 4800 bps V 110 or X 31 flag stuffing 71 9600 bps V 110 or X 31 flag stuffing 75 14400 bps V 110 or X 31 flag stuffing name 0 Asynchronous modem ce 0 Transparent 1 Non transparent 2 Both transparent preferred 3 Both non transparent preferred AT CSTA Select Type of Address Test Command AT CSTA Response CSTA list of supported ty...

Page 73: ...E If command succeeds but no calls are available no information response is sent to TE CLCC id1 dir stat mode mpty number type CR LF CLCC id2 dir stat mode mpty number type OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 idx Integer type call identification number as described in GSM 02 30 sub clause 4 5 5 1 this number can be used in CHLD Command operations dir 0 Mobi...

Page 74: ...mber in string type in format specified by type type Type of address of octet in integer format 129 Unknown type IDSN format number 145 International number type ISDN format AT CR Service Reporting Control Test Command AT CR Response CR list of supported mode s OK Read Command AT CR Response CR mode OK Write Command AT CR mode Response TA controls whether or not intermediate result code CR serv is...

Page 75: ...ing Call Indication Parameter Unsolicited result code When it is enabled an incoming call is indicated to the TE with unsolicited result code CRING type instead of the normal RING Parameter type ASYNC Asynchronous transparent REL ASYNC Asynchronous non transparent REL SYNC Synchronous non transparent AT CRC Set Cellular Result Codes for Incoming Call Indication Test Command AT CRC Response CRC lis...

Page 76: ... Parameter AT CRLP Select Radio Link Protocol Parameter Test Command AT CRLP Response TA returns values supported RLP Radio Link Protocol versions 0 and 1 share the same parameter set TA returns only one line for this set where verx is not present CRLP list of supported iws s list of supported mws s list of supported T1 s list of supported N2 s list of supported ver1 s list of supported T4 s OK Re...

Page 77: ... to IWF T1 39 255 Acknowledgment timer T1 in a unit of 10ms N2 1 255 Retransmission attempts N2 verx RLP RLP version number in integer format When version indication is not present it shall equal 0 T4 3 255 Re sequencing period in integer format in a unit of 10 ms AT CSNS Single Numbering Scheme Test Command AT CSNS Response CSNS list of supported mode s OK Read Command AT CSNS Response CSNS mode ...

Page 78: ... followed by data AT CMOD Configure Alternating Mode Calls Test Command AT CMOD Response CMOD list of supported mode s OK Write Command AT CMOD mode Response OK ERROR Reference GSM 07 07 mode 0 Single mode 1 Alternating voice FAX 2 Alternating voice data 3 Voice followed by data AT QSFR Preference Speech Coding Test Command AT QSFR Response QSFR list of supported mode s OK Read Command AT QSFR Res...

Page 79: ...owered up again Reference mode 0 Automatic mode 1 FR 2 HR 3 EFR 4 AMR_FR 5 AMR_HR 6 FR and EFR FR priority 7 EFR and FR EFR priority 8 EFR and HR EFR priority 9 EFR and AMR_FR EFR priority 10 AMR_FR and FR AMR_FR priority 11 AMR_FR and HR AMR_FR priority 12 AMR_FR and EFR AMR_FR priority 13 AMR_HR and FR AMR_HR priority 14 AMR_HR and HR AMR_HR priority 15 AMR_HR and EFR AMR_HR priority NOTE ...

Page 80: ... bm OK If error is related to ME functionality CMS ERROR err Reference GSM 07 05 service 0 GSM 03 40 and 03 41 the syntax of SMS AT commands is compatible with GSM 07 05 Phase 2 version 4 7 0 Phase 2 features which do not require ew command syntax may be supported e g correct routing of messages with new Phase 2 data coding schemes 128 SMS PDU mode TPDU only used for ending receiving SMSs mt Mobil...

Page 81: ...of supported mode s OK Read Command AT CMGF Response CMGF mode OK Write Command AT CMGF mode Response TA sets parameter to denote which kind of I O format of messages is used OK Reference GSM 07 05 mode 0 PDU mode 1 Text mode AT CSCA SMS Service Center Address Test Command AT CSCA Response OK Read Command AT CSCA Response CSCA sca tosca OK Write Command AT CSCA sca tosca Response TA updates the SM...

Page 82: ...into pdu parameter equals zero OK If error is related to ME functionality CME ERROR err Reference GSM 07 05 sca GSM 04 11 RP SC address Address Value field in string format BCD numbers or GSM default alphabet characters are converted to characters of the currently selected TE character set specified by CSCS in TS 07 07 type of address given by tosca tosca Service center address format GSM 04 11 RP...

Page 83: ...iting etc CPMS used1 total1 used2 total2 used3 total3 OK If error is related to ME functionality CMS ERROR err Reference GSM 07 05 mem1 Messages to be read and deleted from this memory storage SM SIM message storage ME Mobile Equipment message storage MT Sum of SM and ME storages mem2 Messages will be written and sent to this memory storage SM SIM message storage ME Mobile Equipment message storag...

Page 84: ...K ERROR If error is related to ME functionality CMS ERROR err Reference GSM 07 05 index Integer type value in the range of location numbers supported by the associated memory delflag 0 Delete message specified in index 1 Delete all read messages from mem1 storage leaving unread messages and stored mobile originated messages whether sent or not untouched 2 Delete all read messages from mem1 storage...

Page 85: ...essages with status value stat from message storage mem1 to the TE If status of the message is received unread status in the storage changes to received read 1 If text mode CMGF 1 and command successful for SMS SUBMITs and or SMS DELIVERs CMGL index stat oa da alpha scts tooa toda length CR LF data CR LF CMGL index stat da oa alpha scts tooa toda length CR LF data for SMS STATUS REPORTs CMGL index...

Page 86: ...Not change status of the specified SMS record alpha String type alphanumeric representation of da or oa corresponding to the entry found in MT phonebook implementation of this feature is manufacturer specific used character set should be the one selected with command select TE character set CSCS see definition of this command in TS 07 07 da GSM 03 40 TP Destination Address Address Value field in s...

Page 87: ... IRA character long hexadecimal number if dcs indicates that 8 bit or UCS2 data coding scheme is used ME TA converts each 8 bit octet into two IRA character long hexadecimal number length Integer type value indicating in the text mode CMGF 1 the length of the message body data or cdata in characters or in PDU mode CMGF 0 the length of the actual TP data unit in octets i e the RP layer SMSC address...

Page 88: ...rom message storage mem1 to the TE If status of the message is received unread status in the storage changes to received read 1 If text mode CMGF 1 and command is executed successfully for SMS DELIVER CMGR stat oa alpha scts tooa fo pid dcs sca tosca length CR LF data for SMS SUBMIT CMGR stat da alpha toda fo pid dcs vp sca tosca length CR LF data for SMS STATUS REPORTs CMGR stat fo mr ra tora sct...

Page 89: ...07 ME TA converts GSM alphabet into current TE character set according to rules of Annex A if TE character set is HEX ME TA converts each 7 bit character of GSM alphabet into two IRA character long hexadecimal number e g character P GSM 23 is presented as 17 IRA 49 and 55 if dcs indicates that 8 bit or UCS2 data coding scheme is used or fo indicates that GSM 03 40 TP User Data Header Indication is...

Page 90: ...decimal format ME TA converts each octet of TP data unit into two IRA character long hexadecimal number e g octet with integer value 42 is presented to TE as two characters 2A IRA 50 and 65 In the case of CBS GSM 03 41 TPDU in hexadecimal format pid GSM 03 40 TP Protocol Identifier in integer format default value is 0 sca GSM 04 11 RP SC address Address Value field in string format BCD numbers or ...

Page 91: ...F 1 and sent successfully CMGS mr OK 2 If PDU mode CMGF 0 and sent successfully CMGS mr OK 3 If error is related to ME functionality CMS ERROR err Reference GSM 07 05 da GSM 03 40 TP Destination Address Address Value field in string format BCD numbers or GSM default alphabet characters are converted to characters of the currently selected TE character set specified by CSCS in TS 07 07 type of addr...

Page 92: ...ven ctrl Z ESC Response TA transmits SMS message either SMS DELIVER or SMS SUBMIT from TE to memory storage mem2 Memory location index of the stored message is returned By default message status will be set to stored unsent but parameter stat also allows other status values to be given If writing is successful CMGW index OK If error is related to ME functionality CMS ERROR err Reference GSM 07 05 ...

Page 93: ... International number type ISDN format stat PDU mode text mode Explanation 0 REC UNREAD Received unread messages 1 REC READ Received read messages 2 STO UNSENT Stored unsent messages 3 STO SENT Stored sent messages 4 ALL All messages length Integer type value indicating in the text mode CMGF 1 the length of the message body data or cdata in characters or in PDU mode CMGF 0 the length of the actual...

Page 94: ...ers supported by the associated memory da GSM 03 40 TP Destination Address Address Value field in string format BCD numbers or GSM default alphabet characters are converted to characters of the currently selected TE character set specified by CSCS in TS 07 07 type of address given by toda toda GSM 04 11 TP Destination Address Type of Address octet in integer format when first character of da is IR...

Page 95: ...M 03 40 TP Message Number in integer format da GSM 03 40 TP Destination Address Address Value field in string format BCD numbers or GSM default alphabet characters are converted to characters of the currently selected TE character set specified by CSCS in TS 07 07 type of address given by toda toda GSM 04 11 TP Destination Address Type of Address octet in integer format when first character of da ...

Page 96: ...SM 07 05 mode 0 Buffer unsolicited result codes in the TA If TA result code buffer is full indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new received indications 1 Discard indication and reject new received message unsolicited result codes when TA TE link is reserved e g in on line data mode Otherwise forward them directly to the T...

Page 97: ...SDH Class 2 messages result in indication as defined in mt 1 3 Class 3 SMS DELIVERs are routed directly to TE by usingunsolicited result codes defined in mt 2 Messages of other classes result in indication as defined in mt 1 bm The rules for storing received CBMs depend on its data coding scheme refer to GSM 03 38 2 the setting of Select CBM Types CSCB and this value 0 No CBM indications are route...

Page 98: ...ommand AT CRES Response CRES list of supported profile s OK Write Command AT CRES profile Response TA restores SMS settings from non volatile memory to active memory A TA can contain several profiles of settings Settings specified in commands service centre address CSCA set message parameters CSMP and select cell broadcast message types CSCB if implemented are restored Certain settings may not be ...

Page 99: ...ct cell broadcast message Types CSCB if implemented are saved Certain settings may not be supported by the storage e g SIM SMS parameters and therefore can not be saved OK If error is related to ME functionality ERROR Reference GSM 07 05 profile 0 3 Manufacturer specific profile number where settings are to be stored AT CSCB Select Cell Broadcast SMS Messages Test Command AT CSCB Response CSCB lis...

Page 100: ... 320 478 922 dcss String type all different possible combinations of CBM data coding schemes refer to dcs default is empty string e g 0 3 5 AT CSDH Show SMS Text Mode Parameters Test Command AT CSDH Response CSDH list of supported show s OK Read Command AT CSDH Response CSDH show OK Write Command AT CSDH show Response TA determines whether detailed header information is shown in text mode result c...

Page 101: ... Text Mode Parameters Test Command AT CSMP Response CSMP list of supported fo s list of supported vp s list of supported pid s list of supported dcs s OK Read Command AT CSMP Response CSMP fo vp pid dcs OK Write Command AT CSMP fo vp pid dcs Response TA selects values for additional parameters needed when SM is sent to the network or placed in a storage when text mode is selected CMGF 1 It is poss...

Page 102: ...t mode if fo is set to 49 vp Depending on SMS SUBMIT fo setting GSM 03 40 TP Validity Period either in integer format default 167 or in time string format refer to dt pid GSM 03 40 TP Protocol Identifier in integer format default value is 0 dcs GSM 03 38 SMS Data Coding Scheme in Integer format AT QCLASS0 Store Class 0 SMS to SIM when Receiving Class 0 SMS Test Command AT QCLASS0 Response QCLASS0 ...

Page 103: ...ctly AT QCLASS0 1 Enable to store SMS when receiving Class 0 SMS OK CMTI SM 7 Indicate that new message has been received AT CMGR 7 CMGR REC UNREAD 8615021012496 2010 09 26 09 56 17 32 TEST2 from Quectel OK 8 19 AT QMGDA Delete all SMS Parameter AT QMGDA Delete all SMS Test Command AT QMGDA Response QMGDA listed of supported type s OK Write Command AT QMGDA type Response OK ERROR CME ERROR err Ref...

Page 104: ...unread messages 3 Delete all sent SMS 4 Delete all unsent SMS 5 Delete all received SMS 6 Delete all SMS AT QSMSCODE Configure SMS Code Mode Test Command AT QSMSCODE Response QSMSCODE list of supported mode s OK Read Command AT QSMSCODE Response QSMSCODE mode OK Write Command AT QSMSCODE mode Response OK ERROR Reference mode 0 Code mode according with NOKIA 1 Code mode according with SIEMENS 2 Cod...

Page 105: ...s used by other phone book commands OK Reference GSM 07 07 storage MC ME missed unanswered calls list RC ME received calls list DC ME dialed calls list CPBW may not be applicable or this storage same as LD LA Last Number All list LND LNM LNR ME ME phonebook BN SIM barred dialed number SD SIM service dial number VM SIM voice mailbox FD SIM fix dialing phone book LD SIM last dialing phone book ON SI...

Page 106: ...Command AT CPBW index1 number t ype text Response TA writes phone book entry in location number index in the current phone book memory storage selected with CPBS Entry fields written are phone number number in the format type and text text associated with the number If those fields are omitted phone book entry is deleted If index is left out but number is given entry is written to the first free l...

Page 107: ... location 10 AT CPBW 10 Delete entry at location 10 OK 9 3 AT CPBR Read Current Phonebook Entries AT CPBR Read Current Phonebook Entries Test Command AT CPBR Response TA returns location range supported by the current storage as a compound value and the maximum lengths of number and text fields CPBR list of supported index s nlength tlength OK Write Command AT CPBR index1 index2 Response TA return...

Page 108: ... index1 The first phone book record to read index2 The last phonebook record to read number Phone number type Type of number text Text name for phone number in current TE character set specified by CSCS AT CPBF Find Phonebook Entries Test Command AT CPBF Response CPBF nlength tlength OK Write Command AT CPBF findtext Response TA returns phone book entries from the current phone book memory storage...

Page 109: ...g type field of maximum length tlength in current TE character set specified by CSCS nlength Integer type value indicating the maximum length of field number tlength Integer type value indicating the maximum length of field text AT CNUM Subscriber Number Test Command AT CNUM Response OK Execution Command AT CNUM Response CNUM alpha1 number1 type1 speed service itc CR LF CNUM alpha2 number2 type2 s...

Page 110: ...ommands_Manual Confidential Released 110 186 service Service related to the phone number 0 Asynchronous modem 1 Synchronous modem 2 PAD Access asynchronous 3 Packet Access synchronous 4 Voice 5 FAX itc Information transfer capability 0 3 1 kHz 1 UDI ...

Page 111: ...ery the current GPRS service state CGATT 0 AT CGATT Attach to Detach from GPRS Service Test Command AT CGATT Response CGATT list of supported state s OK Read Command AT CGATT Response CGATT state OK Write Command AT CGATT state Response OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 state Indicates the state of GPRS attachment 0 Detached 1 Attached Other values are re...

Page 112: ...ric parameter which specifies a particular PDP context definition The parameter is local to the TE MT interface and is used in other PDP context related commands The range of permitted values minimum value 1 is returned by the test form of the command PDP_type Packet Data Protocol type a string parameter which specifies the type of packet data protocol X25 ITU T CCITT X 25 layer 3 IP Internet Prot...

Page 113: ...t if value is omitted Other values are reserved h_comp A numeric parameter that controls PDP header compression 0 off default if value is omitted Other values are reserved AT CGQREQ Quality of Service Profile Requested Test Command AT CGQREQ Response CGQREQ PDP_type list of supported precedence s list of supported delay s list of supported reliability s list of supported peak s list of supported m...

Page 114: ...ich specifies the peak throughput class mean A numeric parameter which specifies the mean throughput class AT CGQMIN Quality of Service Profile Minimum Acceptable Test Command AT CGQMIN Response CGQMIN PDP_type list of supported precedence s list of supported delay s list of supported reliability s list of supported peak s list of supported mean s OK Read Command AT CGQMIN Response CGQMIN cid prec...

Page 115: ... which specifies the peak throughput class mean A numeric parameter which specifies the mean throughput class AT CGACT PDP Context Activate or Deactivate Test Command AT CGACT Response CGACT list of supported state s OK Read Command AT CGACT Response CGACT cid state CR LF CGACT cid state OK Write Command AT CGACT state cid Response OK NO CARRIER If error is related to ME functionality CME ERROR er...

Page 116: ...orted L2P s OK Write Command AT CGDATA L2P cid cid Response OK NO CARRIER If error is related to ME functionality CME ERROR err Reference GSM 07 07 L2P A string parameter that indicates the layer 2 protocol to be used between the TE and MT PPP Point to Point protocol for a PDP such as IP Other values are not supported and will result in an ERROR response to the execution command cid A numeric para...

Page 117: ...DR cid PDP_addr OK ERROR Reference GSM 07 07 cid A numeric parameter which specifies a particular PDP context definition see CGDCONT command PDP_addr A string that identifies the MT in the address space applicable to the PDP The address may be static or dynamic For a static address it will be the one set by the CGDCONT command when the context was defined For a dynamic address it will be the one a...

Page 118: ...s related to ME functionality CME ERROR err Reference GSM 07 07 class A string parameter which indicates the GPRS mobile class Functionality in descending order B Class B CG Class C in GPRS only mode CC Class C in circuit switched only mode AT CGEREP Control Unsolicited GPRS Event Reporting Test Command AT CGEREP Response CGEREP list of supported mode s OK Read Command AT CGEREP Response CGEREP mo...

Page 119: ...EG Network Registration Status Parameter mode 0 Buffer unsolicited result codes in the MT if MT result code buffer is full the oldest one can be discarded No codes are forwarded to the TE 1 Discard unsolicited result codes when MT TE link is reserved e g in on line data mode otherwise forward them directly to the TE AT CGREG Network Registration Status Test Command AT CGREG Response CGREG list of ...

Page 120: ... ci stat 0 Not registered ME is not currently searching a new operator to register to 1 Registered home network 2 Not registered but ME is currently searching a new operator to register to 3 Registration denied 4 Unknown 5 Registered roaming lac String type two byte location are a code in hexadecimal format e g 00C3 equals 195 in decimal ci String type two bytes cell ID in hexadecimal format AT CG...

Page 121: ...e A numeric parameter which indicates the service or service preference to be used 0 GPRS 1 Circuit switch 2 GPRS preferred use circuit switched if GPRS not available 3 Circuit switch preferred use GPRS if circuit switched not available AT QGPCLASS Change GPRS Multi slot Class Test Command AT QGPCLASS Response MULTISLOT CLASS list of currently available class s OK Read Command AT QGPCLASS Response...

Page 122: ...GSM GPRS Module M35 AT Commands Manual M35_AT_Commands_Manual Confidential Released 122 186 Need to reboot for the change of GPRS multi slot class to take effect NOTES ...

Page 123: ... OK Otherwise respond ERROR If the connection has already existed respond ALREADY CONNECT And then if connection is successful respond index CONNECT OK Otherwise respond index CONNECT FAIL Reference index A numeric indicates which socket opens the connection M35 supports at most 6 sockets at the same time This parameter is necessary only if AT QIMUX was set as 1 refer to AT QIMUX When AT QIMUX was...

Page 124: ...UDP Connection port The port of the remote server domain name A string parameter which represents the domain name address of the remote server AT QISEND Send Data through TCP or UDP Connection Test Command AT QISEND Response QISEND length OK Execution Command AT QISEND response then type data to send tap CTRL Z to send tap ESC to cancel the operation Response This command is used to send changeabl...

Page 125: ...the data from the remote node To check whether the data has been sent to the remote note it is necessary to execute the command AT QISACK to query it 11 3 AT QICLOSE Close TCP or UDP Connection Parameter index The index of the socket for sending data This parameter is necessary only if AT QIMUX was set as 1 refer to AT QIMUX When AT QIMUX was set as 0 the parameter MUST be omitted length A numeric...

Page 126: ...ver this command will close all the income connection and cause the module to quit the listening state 2 Write Command AT QICLOSE index This command is valid only if QIMUX is 1 If QISRVC is 1 and QIMUX is 1 this command will close the corresponding connection according to index and the module used as a client in the connection If QISRVC is 2 and QIMUX is 1 this command will close the incoming conn...

Page 127: ...t 11 5 AT QILPORT Set Local Port Parameter This command is used to set the port for listening AT QILPORT Set Local Port Test Command AT QILPORT Response QILPORT list of supported port s OK Read Command AT QILPORT Response mode port CR LF mode port OK Write Command AT QILPORT mode port Response OK ERROR Reference mode A string parameter which indicates the connection type TCP TCP local port UDP UDP...

Page 128: ...e not supported at present 11 7 AT QIACT Activate GPRS CSD Context AT QIREGAPP Start TCPIP Task and Set APN User Name and Password Test Command AT QIREGAPP Response QIREGAPP APN USER PWD OK Read Command AT QIREGAPP Response QIREGAPP apn user name password OK Write Command AT QIREGAPP apn user name password rate Response OK ERROR Execution Command AT QIREGAPP Response OK ERROR Reference apn A strin...

Page 129: ...dress Parameter 1 Only at the following status IP GPRSACT IP STATUS TCP UDP CONNECTING CONNECT OK IP CLOSE can get local IP address by AT QILOCIP otherwise respond ERROR And if the status before executing the command is IP GPRSACT the status will become to IP STATUS after the command 2 CSD function is not supported at present Test Command AT QIACT Response OK Execution Command AT QIACT Response OK...

Page 130: ...egistered IP CONFIG It has been start up to activate GPRS CSD context IP IND It is activating GPRS CSD context IP GPRSACT GPRS CSD context has been activated successfully IP STATUS The local IP address has been gotten by the command AT QILOCIP TCP CONNECTING It is trying to establish a TCP connection UDP CONNECTING It is trying to establish a UDP connection IP CLOSE The TCP UDP connection has been...

Page 131: ...NECTING 7 IP CLOSE 8 CONNECT OK 9 PDP DEACT index The index of the connection the range is 0 5 mode The type of the connection TCP TCP connection UDP UDP connection addr The IP address of the remote port The port of the remote AT QISTATE Query Connection Status of the Current Access Test Command AT QISTATE Response OK Execution Command AT QISTATE Response When AT QIMUX 0 respond OK STATE state Whe...

Page 132: ...e TCP UDP connection has been established successfully PDP DEACT GPRS CSD context was deactivated because of unknown reason When AT QIMUX 1 IP INITIAL The TCPIP stack is in idle state IP START The TCPIP stack has been registered IP CONFIG It has been start up to activate GPRS CSD context IP IND It is activating GPRS CSD context IP GPRSACT GPRS CSD context has been activated successfully IP STATUS ...

Page 133: ...e C index mode addr port Otherwise respond ERROR Reference ServerState A string parameter to indicate the status of the connection INITIAL The TCPIP stack is in idle state OPENNING The TCPIP stack has been registered LISTENING Listening to server port CLOSING Closing connection now index The index of the connection the range is 0 4 mode The type of the connection TCP TCP connection UDP UDP connect...

Page 134: ... Parameter SecondaryDns sec_dns OK Write Command AT QIDNSCFG pri_dns sec_dns Response OK ERROR Reference pri_dns A string parameter which indicates the IP address of the primary domain name server sec_dns A string parameter which indicates the IP address of the secondary domain name server AT QIDNSGIP Query the IP Address of Given Domain Name Test Command AT QIDNSGIP Response OK Write Command AT Q...

Page 135: ...n error state Refer to AT QISTAT AT QIDNSIP Connect with IP Address or Domain Name Server Test Command AT QIDNSIP Response QIDNSIP list of supported mode s OK Read Command AT QIDNSIP Response QIDNSIP mode OK Write Command AT QIDNSIP mode Response OK ERROR Reference mode A numeric parameter indicates which kind of server format is used when establishing the connection IP address server or domain na...

Page 136: ...c parameter which indicates whether or not to add an IP header before the received data 0 DO Not add IP header 1 Add a header before the received data and the format is IPD data length AT QIAUTOS Set Auto Sending Timer Test Command AT QIAUTOS Response QIAUTOS list of supported mode s list of supported time s OK Read Command AT QIAUTOS Response QIAUTOS mode time OK Write Command AT QIAUTOS mode tim...

Page 137: ...and AT QIPROMPT Response QIPROMPT list of supported send prompt s OK Read Command AT QIPROMPT Response QIPROMPT send prompt OK Write Command AT QIPROMPT send prompt Response OK ERROR Reference send prompt A numeric parameter which indicates whether or not to echo prompt after issuing AT QISEND Command 0 No prompt and show SEND OK when sending successes 1 Echo prompt and show SEND OK when sending s...

Page 138: ...R OK If configured as server unsuccessfully return CONNECT FAIL Write Command AT QISERVER type max Response OK ERROR If configured as server successfully return SERVER OK If configured as server unsuccessfully return CONNECT FAIL Reference mode 0 NOT configured as server 1 Configured as server num The number of clients that have been connected in The range is 1 5 type A numeric indicates the type ...

Page 139: ...e OK ERROR Reference mode A numeric parameter which indicates the bearer type 0 Set CSD as the bearer for TCPIP connection 1 Set GPRS as the bearer for TCPIP connection GPRS parameters apn A string parameter which indicates the access point name user name A string parameter which indicates the user name password A string parameter which indicates the password CSD parameters dial number A string pa...

Page 140: ...pecify which connection data will be sent through 11 21 AT QISHOWRA Set Whether or not to Display the Address of Sender AT QISRVC Choose Connection Test Command AT QISRVC Response QISRVC list of supported connection s OK Read Command AT QISRVC Response QISRVC connection OK Write Command AT QISRVC connection Response OK ERROR Reference connection A numeric parameter which indicates the chosen conne...

Page 141: ...n dotted decimal style and port of the remote end before the received data or not 0 DO NOT show the address Default 1 Show the address the format to show the address is like RECV FROM IP ADDRESS PORT AT QISCON Save TCPIP Application Context Test Command AT QISCON Response OK Read Command AT QISCON Response TA returns TCPIP application context which consists of the following AT command parameters S...

Page 142: ... Config UserId cusr CSD Config Password cpwd CSD Config rate crate App Tcpip Mode mode In Transparent Transfer Mode Number of Retry nmRetry Wait Time waitTm Send Size sendSz esc esc OK Execution Command AT QISCON Response OK Reference mode See AT QIDNSIP sendprompt See AT QIPROMPT iphead See AT QIHEAD srip See AT QISHOWRA csgp See AT QICSGP apn See AT QICSGP gusr See AT QICSGP gpwd See AT QICSGP t...

Page 143: ...Command AT QIMODE mode Response OK ERROR Reference mode 0 Normal mode In this mode the data should be sent by the command AT QISEND 1 Transparent mode In this mode UART will enter data mode after TCP UDP connection has been established In data mode all input data from UART will be sent to the remote end can help to switch data mode to command mode And then ATO can help to switch command mode to da...

Page 144: ...invalid when QIMUX is 1 11 25 AT QISHOWPT Control Whether or not to Show the Protocol Type AT QITCFG QITCFG NmRetry WaitTm SendSz esc OK Write Command AT QITCFG NmRetry WaitTm SendSz esc Response OK ERROR Reference NmRetry Number of times to retry to send an IP packet WaitTm Number of 100ms intervals to wait for serial input before sending the packet SendSz Size in bytes of data block to be receiv...

Page 145: ...the end of header of the received TCP UDP data 1 Show the transport protocol type at the end of header of the received TCP UDP data as the following format IPD data length TCP UDP AT QIMUX Control Whether or not to Enable Multiple TCPIP Session Test Command AT QIMUX Response QIMUX list of supported mode s OK Read Command AT QIMUX Response QIMUX mode OK Write Command AT QIMUX mode Response OK ERROR...

Page 146: ...elect a Context as Foreground Context AT QISHOWLA Control Whether or not to Display Local IP Address Test Command AT QISHOWLA Response QISHOWLA list of supported mode s OK Read Command AT QISHOWLA Response QISHOWLA mode OK Write Command AT QISHOWLA mode Response OK ERROR Reference mode A numeric parameter indicates whether to show the destination address before the received data or not 0 DO NOT sh...

Page 147: ...ommand AT QIFGCNT id Response OK ERROR Reference id A numeric indicates which context will be set as foreground context The range is 0 1 channel A numeric indicates which channel is controlling the context id 0 VIRTUAL_UART_1 1 VIRTUAL_UART_2 2 VIRTUAL_UART_3 3 VIRTUAL_UART_4 255 The context is not controlled by any channel AT QISACK Query the Data Information for Sending Test Command AT QISACK Re...

Page 148: ... session acked A numeric indicates the total length of the data that has been acknowledged by the remote nAcked A numeric indicates the total length of the data that has been sent but not acknowledged by the remote AT QINDI Set the Method to Handle Received TCP IP Data Test Command AT QINDI Response QINDI list of supported m s OK Read Command AT QINDI Response QINDI m OK Write Command AT QINDI m R...

Page 149: ...s list of supported sc s list of supported sid s list of supported len s OK Write Command AT QIRD id sc sid len Response QIRD ipAddr port type length CR LF data OK ERROR Reference id A numeric points out which context the connection for the received data is based on Please refer to the parameter id in the command AT QIFGCNT The range is 0 1 sc A numeric points out the role of M35 in the connection...

Page 150: ...ng a Remote Server UDP the transport protocol is UDP length The real length of the retrieved data data The retrieved data AT QISDE Control Whether or Not to Echo the Data for QISEND Test Command AT QISDE Response QISDE list of supported m s OK Read Command AT QISDE Response QISDE m OK Write Command AT QISDE m Response OK ERROR Reference m A numeric indicates whether or not to echo the data for AT ...

Page 151: ...ation follows it ipAddr The IP address of the remote server It is a dotted decimal IP bytes The length of sending each ping request time The time expended to wait for the response for the ping request Unit ms ttl The value of time to live of the response packet for the ping request finresult The final result of the command 2 It is finished normally It is successful to activate GPRS and find the ho...

Page 152: ...P Response QNTP server port OK Execution Command AT QNTP Response OK QNTP result Write Command AT QNTP server port Response OK QNTP result ERROR Reference server The address of the Time Server in string style It could be a domain name or a dotted decimal IP address port The port of the Time Server result The result of time synchronization 0 Successfully synchronize the local time 1 Failed to synch...

Page 153: ...t value of ACM CACM acm OK If error is related to ME functionality CME ERROR err Write Command AT CACM passwd Response TA resets the advice of charge related Accumulated Call Meter ACM value in SIM file EF ACM ACM contains the total number of home units for both the current and preceding calls OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 acm String type three bytes ...

Page 154: ...nctionality CME ERROR err Write Command AT CAMM acmmax passwd Response TA sets the advice of charge related Accumulated Call Meter maximum value in SIM file EF ACM max ACM max contains the maximum number of home units allowed to be consumed by the subscriber OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 acmmax String type three bytes of the max ACM value in hex decim...

Page 155: ...he unsolicited reporting of CCM value OK If mode 2 TA activates the unsolicited reporting of CCM value OK Reference GSM 07 07 mode 0 Query CCM value 1 Deactivate the unsolicited reporting of CCM value 2 Activate the unsolicited reporting of CCM value ccm String type three bytes of the current CCM value in hex decimal format e g 00001E indicates decimal value 30 bytes are similarly coded as ACM max...

Page 156: ...umbers are registered and therefore all classes are inactive CCFC status class OK where status 0 and class 15 If error is related to ME functionality CME ERROR err Reference GSM 07 07 reads 0 Unconditional 1 Mobile busy 2 No reply 3 Not reachable 4 All call forwarding 0 3 5 All conditional call forwarding 1 3 mode 0 Disable 1 Enable 2 Query status 3 Registration 4 Erasure number Phone number in st...

Page 157: ... AT CCFC 0 4 Erase the registered CFU destination number OK AT CCFC 0 2 Query the status no destination number CCFC 0 7 OK 12 5 AT CCUG Closed User Group Control class 1 Voice 2 Data 4 FAX 7 All telephony except SMS 8 Short message service 16 Data circuit sync 32 Data circuit async time 1 30 When no reply reads no reply is enabled or queried this gives the time in seconds to wait before call is fo...

Page 158: ...Enable CUG index 0 9 CUG index 10 No index preferred CUG taken from subscriber data info 0 Bo information 1 Suppress OA Outgoing Access 2 Suppress preferential CUG 3 Suppress OA and preferential CUG AT CCWA Call Waiting Control Test Command AT CCWA Response CCWA list of supported n s OK Read Command AT CCWA Response CCWA n OK Write Command AT CCWA n mode class Response TA controls the call waiting...

Page 159: ...e number in string type of calling address in format specified by type type Type of address octet in integer format 129 Unknown type IDSN format number 145 International number type ISDN format alpha Optional string type alphanumeric representation of number corresponding to the entry found in phone book Example OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 n 0 Disab...

Page 160: ...old recovered released added to conversation and transferred OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 n 0 Terminate all held calls or UDUB User Determined User Busy for a waiting call If a call is waiting terminate the waiting call Otherwise terminate all held calls if any 1 Terminate all active calls if any and accept the other call waiting call or held call It...

Page 161: ...86 129 The first call on hold CLCC 2 1 0 0 0 02154450293 129 The second call becomes active OK AT CHLD 21 Place the active call except call X 1 on hold OK AT CLCC CLCC 1 0 0 0 0 10086 129 The first call becomes active CLCC 2 1 1 0 1 02154450293 129 The second call on hold OK AT CHLD 3 Add a held call to the active calls in order to set up a conference multiparty call OK AT CLCC CLCC 1 0 0 0 1 1008...

Page 162: ...ber type ISDN format alphaId String type alphanumeric representation of number corresponding to the entry found in phone book CLI validity 0 CLI valid 1 CLI has been withheld by the originator 2 CLI is not available due to interworking problems or limitations of originating network Example OK Read Command AT CLIP Response CLIP n m OK Write Command AT CLIP n Response TA enables or disables the pres...

Page 163: ...nd AT CLIR n Response TA restricts or enables the presentation of the calling line identity CLI to the called party when originating a call The command overrides the CLIR subscription default is restricted or allowed when temporary mode is provisioned as a default adjustment for all following outgoing calls This adjustment can be revoked by using the opposite Command OK If error is related to ME f...

Page 164: ... Command AT COLP Response COLP list of supported n s OK Read Command AT COLP Response COLP n m OK Write Command AT COLP n Response TA enables or disables the presentation of the COL Connected Line at the TE for a mobile originating a call It has no effect on the execution of the supplementary service COLR in the network Intermediate result code is returned from TA to TE before any CR or V 25ter re...

Page 165: ...dr String type sub address of format specified by satype satype Type of sub address octet in integer format refer to GSM 04 08 sub clause 10 5 4 8 alpha Optional string type alphanumeric representation of number corresponding to the entry found in phone book Example AT CPBW 1 02151082965 129 QUECTEL OK AT QCOLP 1 OK AT COLP 1 OK ATD02151082965 COLP 02151082965 129 0 QUECTEL OK 12 11 AT CPUC Price ...

Page 166: ...n starting a call if less than 5s call time remains GSM 07 07 currency String type three character currency code e g GBP DEM character set as specified by command select TE character set CSCS ppu String type price per unit dot is used as a decimal Separator e g 2 66 passwd String type SIM PIN2 AT CCWE Call Meter Maximum Event Test Command AT CCWE Response CCWE list of supported mode s OK Read Comm...

Page 167: ...SD Unstructured Supplementary Service Data Test Command AT CUSD Response CUSD list of supported n s OK Read Command AT CUSD Response CUSD n OK Write Command AT CUSD n str dcs Response OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 n A numeric parameter which indicates control of the unstructured supplementary service data 0 Disable the result code presentation in the ...

Page 168: ... the CSSI code1 index result code presentation status after a mobile originated call setup 0 Disable 1 Enable m A numeric parameter which indicates whether to show the CSSU code2 result code presentation status during a mobile terminated call setup or during a call or when a forward check supplementary service notification is received 0 Disable 1 Enable code1 0 Unconditional call forwarding is act...

Page 169: ...ATM are implemented only for V 25 compatibility reasons and have no effect 13 2 ATM Set Monitor Speaker Mode ATL Set Monitor Speaker Loudness Execution Command ATL value Response OK Reference V 25ter value 0 Low speaker volume 1 Low speaker volume 2 Medium speaker volume 3 High speaker volume ATM Set Monitor Speaker Mode Execution Command ATM value Response OK Reference V 25ter NOTE ...

Page 170: ... Tone Duration Test Command AT VTD Response VTD list of supported internalduration s list of supported duration s OK Read Command AT VTD Response VTD internalduration duration OK Write Command AT VTD internalduration duratio n Response This command refers to an integer internalduration that defines the length of tones emitted as a result of the VTS command This does not affect the D command OK Ref...

Page 171: ...ry tones in voice mode These tones may be used for example when announcing the start of a recording period OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 dtmf string It has a max length of 20 characters must be entered between double quotes and consists of combinations of the following separated by commas But a single character does not require quotes 1 dtmf A single ...

Page 172: ...mand AT CALM Response CALM mode OK Write Command AT CALM mode Response OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 mode 0 Normal mode 1 Silent mode all sounds from ME are prevented AT CRSL Ringer Sound Level Test Command AT CRSL Response CRSL list of supported level s OK Read Command AT CRSL Response CRSL level OK Write Command AT CRSL level Response OK If error is...

Page 173: ...el AT CLVL Loud Speaker Volume Level Test Command AT CLVL Response CLVL list of supported level s OK Read Command AT CLVL Response CLVL level OK Write Command AT CLVL level Response OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 level Integer type value 0 100 with manufacturer specific range Smallest value represents the lowest sound level AT CMUT Mute Control Test Co...

Page 174: ...tionality CME ERROR err Reference GSM 07 07 n 0 Mute off 1 Mute on AT QSIDET Change the Side Tone Gain Level Test Command AT QSIDET Response QSIDET list of supported gainlevel s OK Read Command AT QSIDET Response QSIDET NORMAL_AUDIO gainlevel OK QSIDET HEADSET_AUDIO gainlevel OK Write Command AT QSIDET gainlevel Response OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 ...

Page 175: ...Gain Level Test Command AT QMIC Response QMIC list of supported channel s list of supported gainlevel s OK Read Command AT QMIC Response QMIC gainlevel Normal_Mic gainlevel Headset_Mic gai nlevel Loudspeaker_Mic OK Write Command AT QMIC channel gainlevel Response OK If error is related to ME functionality CME ERROR err Reference channel 0 Normal microphone 1 Headset microphone 2 Loudspeaker microp...

Page 176: ...d Command AT CCLK Response CCLK time OK Write Command AT CCLK time Response OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 time String type value format is yy MM dd hh mm ss zz where characters indicate year two last digits month day hour minutes seconds and time zone indicates the difference expressed in quarters of an hour between the local time and GMT range 48 48 ...

Page 177: ... list of supported bcs s list of supported bcl s voltage OK Execution Command AT CBC Response CBC bcs bcl voltage OK If error is related to ME functionality CME ERROR err Reference GSM 07 07 bcs Charge status 0 ME is not charging 1 ME is charging 2 Charging has finished bcl Battery connection level 1 100 Battery has 1 100 percent of capacity remaining vent voltage Battery voltage mV ...

Page 178: ...t Critical Temperature Operating Mode or Query Temperature Test Command AT QTEMP Response QTEMP list of supported mode s list of supported Temperature s OK Read Command AT QTEMP Response QTEMP mode Temperature OK Write Command AT QTEMP mode Response OK ERROR Reference mode 0 Disable to query temperature 1 Enable to query temperature 2 Reserved Temperature Range is from 40 C 90 C ...

Page 179: ...ommand AT QSCLK Response QSCLK list of supported n s OK Read Command AT QSCLK Response QSCLK n OK Write Command AT QSCLK n Response OK Reference n 0 Disable slow clock 1 Enable slow clock it is controlled by DTR 2 The module decides when it enters sleep mode When there is no data on serial port in 5 seconds module can enter sleep mode Otherwise it will quit from sleep mode ...

Page 180: ...ot have to end with terminating character Example AT OK A Re issues the previous command OK 15 2 ATE Set Command Echo Mode A Re issues the Last Command Given Execution Command A Response Re issues the previous command Reference V 25ter ATE Set Command Echo Mode Execution Command ATE value Response This setting determines whether or not the TA echoes characters received from TE during command state...

Page 181: ...S3 Response n OK Write Command ATS3 n Response This parameter setting determines the character recognized by TA to terminate an incoming command line The TA also returns this character in output OK Reference V 25ter n 0 13 127 Command line termination character Default 13 CR ATS4 Set Response Formatting Character Read Command ATS4 Response n OK Write Command ATS4 n Response This parameter setting ...

Page 182: ...d ATS5 n Response This parameter setting determines the character recognized by TA as a request to delete the immediately preceding character from the command line OK Reference V 25ter n 0 8 127 Response editing character Default 8 Backspace AT DS V 42bis Data Compression Control Test Command AT DS Response DS list of supported p0 s list of supported n s list of supported p1 s list of supported p2...

Page 183: ... negotiation with the remote TA after a call set up OK Reference V 25ter p0 0 NONE n 0 Allow negotiation of p0 down 1 Do not allow negotiation of p0 disconnect on difference p1 512 4096 Dictionary size p2 6 250 Maximum string size Default value is 6 AT DR V 42bis Data Compression Reporting Control Test Command AT DR Response DR list of supported value s OK Read Command AT DR Response DR value OK W...

Page 184: ... of supported timemode s OK Read Command AT QRIMODE Response QRIMODE timemode OK Write Command AT QRIMODE timemode Response OK If error is related to ME functionality CME ERROR err Reference timemode Time mode 0 Receive SMS RI 120ms low pulse other URC RI 120ms low pulse 1 Receive SMS RI 120ms low pulse other URC RI 50ms low pulse 2 When a SMS is received RI changes to LOW and holds low level for ...

Page 185: ...Circuit terminating Equipment DTE DCE interface for Short Message Service SMS and Cell Broadcast Service CBS 4 GSM 07 10 Support GSM 07 10 multiplexing protocol 5 GSM_TCPIP_Application_Note GSM TCPIP Application Note 6 GPRS_Startup_ User_Guide GPRS Startup User Guide 7 GSM_MUX_Application_Note MUX Application Note 8 SMS_ Application_Note SMS Application Note 9 M35_ Hardware_Design M35 Hardware Des...

Page 186: ...Equipment DTE Data Terminal Equipment RTS CTS Request To Send Clear To Send GPRS General Packet Radio Service DCD Dynamic Content Delivery DTR Data Terminal Ready CSD Circuit Switch Data PSC Primary Synchronization Code PDP Packet Data Protocol TCP Transmission Control Protocol UDP User Datagram Protocol ...

Reviews: