AT Commands According to 3GPP TS 27.007
No | Command | Description |
C0301 | AT+CGMI | Request manufacturer identification |
C0302 | AT+CGMM | Request model identification |
C0303 | AT+CGMR | Request TA revision identification of software release |
C0304 | AT+CGSN | Request product serial number identification (identical with +GSN) |
C0305 | AT+CSCS | Select TE character set |
C0306 | AT+CIMI | Request international mobile subscriber identity |
C0307 | AT+CLCK | Facility lock |
C0308 | AT+CMEE | Report mobile equipment error |
C0309 | AT+COPS | Operator selection |
C0310 | AT+CPAS | Phone activity status |
C0311 | AT+CPIN | Enter PIN |
C0312 | AT+CPWD | Change password |
C0313 | AT+CRC | Set cellular result codes for incoming call indication |
C0314 | AT+CREG | Network registration |
C0315 | AT+CRSM | Restricted SIM access |
C0316 | AT+CSQ | Signal quality report |
C0317 | AT+CPOL | Preferred operator list |
C0318 | AT+COPN | Read operator names |
C0319 | AT+CFUN | Set phone functionality |
C0320 | AT+CCLK | Clock |
C0321 | AT+CSIM | Generic SIM access |
C0322 | AT+CBC | Battery charge |
C0323 | AT+CUSD | Unstructured supplementary service data |
C0324 | AT+CNUM | Subscriber Number |
C0301 AT+CGMI Request Manufacturer Identification
T) AT+CGMI=? | OK |
E) AT+CGMI |
TA returns manufacturer identification text. <manufacturer>
OK Parameters <manufacturer> The ID of manufacturer |
Parameter Saving Mode | NO_SAVE |
C0302 AT+CGMM Request Model Identification
T) AT+CGMM=? | OK |
E) AT+CGMM |
TA returns product model identification text. <model>
OK Parameters <model> Product model identification text |
Parameter Saving Mode | NO_SAVE |
C0303 AT+CGMR Request TA Revision Identification Of Software Release
T) AT+CGMR=? | OK |
E) AT+CGMR |
TA returns product software version identification text. Revision: <revision>
OK Parameters <revision> Product software version identification text |
Parameter Saving Mode | NO_SAVE |
C0304 AT+CGSN Request Product Serial Number Identification
T) AT+CGSN=? | OK |
E) AT+CGSN |
see +GSN <sn>
OK Parameters <sn> International mobile equipment identity (IMEI) |
Parameter Saving Mode | NO_SAVE |
C0305 AT+CSCS Select TE Character Set
T) AT+CSCS=? |
+CSCS: (list of supported <chset>s) OK |
Parameters <chset> “GSM” GSM 7 bit default alphabet (3GPP TS 23.038); “UCS2” 16-bit universal multiple-octet coded character set (ISO/IEC10646); UCS2 character strings are converted to hexadecimal numbers from 0000 to FFFF; e.g. “004100620063” equals three 16-bit characters with decimal values 65, 98 and 99 “IRA” International reference alphabet (ITU-T T.50) |
|
R) AT+CSCS? |
+CSCS: <chset>
OK |
Parameters See Test Command |
|
W) AT+CSCS=<chset> |
Sets which character set <chset> are used by the TE. The TA can then convert character strings correctly between the TE and ME character sets. OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters See Test Command |
|
Parameter Saving Mode | NO_SAVE |
C0306 AT+CIMI Request International Mobile Subscriber Identity
T) AT+CIMI=? | OK |
E) AT+CIMI |
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> |
Parameters <IMSI> International Mobile Subscriber Identity (string without double quotes) |
|
Parameter Saving Mode | NO_SAVE |
Max Response Time | 20s |
C0307 AT+CLCK Facility Lock
T) AT+CLCK=? |
+CLCK: (list of supported <fac>s)
OK |
Parameters See Write Command |
|
W) AT+CLCK=<fac>,<mode>[,<passwd>[,<class> ]] |
This Command is used to lock, unlock or interrogate a ME or a network facility <fac>. Password is normally needed to do such actions. When querying the status of a network service (<mode>=2) the response line for ‘not active’ case (<status>=0) should be returned only if service is not active for any <class>.
If <mode>≠2 and Command is successful OK If <mode>=2 and Command is successful +CLCK: <status>[,<class1>[<CR><LF>+CLCK: <status>,<class2>[…]]
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <fac> “AB” All Barring services(only for <mode>=0) “AC” All inComing barring services(only for <mode>=0) “AG” All outGoing barring services(only for <mode>=0) “AI” BAIC (Barr All Incoming Calls) “AO” BAOC (Barr All Outgoing Calls) “IR” BIC- Roam (Barr Incoming Calls when Roaming outside the home country) “OI” BOIC (Barr Outgoing International Calls) “OX” BOIC- exHC (Barr Outgoing International Calls except to Home Country) “SC” SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and when this lock command issued) Correspond to PIN1 code. “FD” SIM card or active application in the UICC (GSM or USIM) fixed dialling memory feature (if PIN2 authentication has not been done during the current session, PIN2 is required as <passwd>) “PN” Network Personalization, Correspond to NCK code “PU” Network subset Personalization Correspond to NSCK code “PP” Service Provider Personalization Correspond to SPCK code <mode> 0 unlock 1 lock 2 query status <passwd> String type (Shall be the same as password specified for the facility from the MT user interface or with command Change Password +CPWD) <class> 1-255 1 Voice (telephony) 2 Data refers to all bearer services; with <mode>=2 this may refer only to some bearer service if TA does not support values 16, 32, 64 and 128) 4 Fax (facsimile services) 7 All classes <status> 0 Not active 1 Active |
|
Parameter Saving Mode | NO_SAVE |
Max Response Time | 15s |
Reference 3GPP TS 27.007 [14] |
Note CME errors if SIM not inserted or PIN is not entered. |
C0308 AT+CMEE Report Mobile Equipment Error
T) AT+CMEE=? |
+CMEE: (list of supported <n>s)
OK |
Parameters See Write Command |
|
R) AT+CMEE? |
+CMEE: <n>
OK |
Parameters See Write Command |
|
W) AT+CMEE=[<n>] |
TA disables or enables the use of result code +CME ERROR: <err> as an indication of an error relating to the functionality of the ME. OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <n> 0 Disable +CME ERROR: <err> result code and use ERROR instead. 1 Enable +CME ERROR: <err> result code and use numeric <err> 2 Enable +CME ERROR: <err> result code and use verbose <err> values |
|
Parameter Saving Mode | NO_SAVE |
C0309 AT+COPS Operator Selection
T) AT+COPS=? |
TA returns a list of quadruplets, each representing an operator present in the network. Any of the formats may be unavailable and should then be an empty field. The list of operators shall be in order: home network, networks referenced in SIM, and other networks.
+COPS: (list of supported<stat>,long alphanumeric<oper>,short alphanumeric<oper>, numeric <oper>,<netact>)s[,,(list of supported <mode>s),(list of supported <format>s)]
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters See Write Command |
|
R) AT+COPS? |
TA returns the current mode and the currently selected operator. If no operator is selected,<format> and <oper> are omitted. +COPS: <mode>[,<format>,<oper>,<netact>]
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters See Write Command |
|
W) AT+COPS=<mode>,[<format>[,<oper>]] |
TA forces an attempt to select and register the GSM network operator. If the selected operator is not available, no other operator shall be selected (except <mode>=4). The selected operator name format shall apply to further read commands (AT+COPS?). OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <stat> 0 Unknown 1 Operator available 2 Operator current 3 Operator forbidden <oper> Refer to [27.007] operator in format as per <format> <mode> 0 Automatic mode; <oper> field is ignored 1 Manual (<oper> field shall be present, and <AcT> optionally) 2 manual deregister from network 3 set only <format> (for read Command +COPS?) – not shown in Read Command response 4 Manual/automatic (<oper> field shall be present); if manual selection fails, automatic mode (<mode>=0) is entered <format> 0 Long format alphanumeric <oper> 1 Short format alphanumeric <oper> 2 Numeric <oper>; GSM Location Area Identification number <netact> 0 User-specified GSM access technology 1 GSM compact 3 GSM EGPRS 7 User-specified LTE M1 A GB access technology 9 User-specified LTE NB S1 access technology |
|
Parameter Saving Mode | AUTO_SAVE |
Max Response Time |
Test command: 45 seconds Write command: 120 seconds |
C0310 AT+CPAS Phone Activity Status
T) AT+CPAS=? |
+CPAS: (list of supported <pas>s)
OK |
Parameters See Execution Command |
|
E) AT+CPAS |
TA returns the activity status of ME. +CPAS: <pas>
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <pas> 0 Ready (MT allows commands from TA/TE) 3 Ringing (MT is ready for commands from TA/TE, but the ringer is active) 4 Call in progress (MT is ready for commands from TA/TE, but a call is in progress) |
|
Parameter Saving Mode | NO_SAVE |
C0311 AT+CPIN Enter PIN
T) AT+CPIN=? | OK |
R) AT+CPIN? |
TA returns an alphanumeric string indicating whether some password is required or not. +CPIN: <code>
OK |
Parameters <code> READY MT is not pending for any password SIM PIN MT is waiting SIM PIN to be given SIM PUK MT is waiting for SIM PUK to be given PH_SIM PIN ME is waiting for phone to SIM card (antitheft) PH_SIM PUK ME is waiting for SIM PUK (antitheft) SIM PIN2 PIN2, e.g. for editing the FDN book possible only if preceding Command was acknowledged with +CME ERROR:17 SIM PUK2 Possible only if preceding Command was acknowledged with error +CME ERROR: 18. |
|
W) AT+CPIN=<pin>[,<new pin>] |
TA stores a password which is necessary before it can be operated (SIM PIN, SIM PUK, PH- SIM PIN, etc.). 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 If error is related to ME functionality: +CME ERROR: <err> |
Parameters <pin> String type; password <new pin> String type; If the PIN required is SIM PUK or SIMPUK2: new password |
|
Parameter Saving Mode | NO_SAVE |
Max Response Time | 5s |
C0312 AT+CPWD Change Password
T) AT+CPWD=? |
TA returns a list of pairs which present the available facilities and the maximum length of their password. +CPWD: (list of supported <fac>s, list of supported <pwdlength>s)
OK |
Parameters <fac> See Write Command <pwdlength> Integer max. length of password |
|
W) AT+CPWD=<fac>,<oldpwd>,<newpwd> |
TA sets a new password for the facility lock function. OK |
Parameters <fac> “AB” All Barring services “AC” All inComing barring services(only for <mode>=0) “AG” All outGoing barring services(only for <mode>=0) “AI” BAIC (Barr All Incoming Calls) “AO” BAOC (Barr All Outgoing Calls) “IR” BIC- Roam (Barr Incoming Calls when Roaming outside the home country) “OI” BOIC (Barr Outgoing International Calls) “OX” BOIC- exHC (Barr Outgoing International Calls except to Home Country) “SC” SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and when this lock command issued) Correspond to PIN1 code. “P2” SIM PIN2 <oldpwd> String type (string should be included in quotation marks): password specified for the facility from the user interface or with command. If an old password has not yet been set,<oldpwd> is not to enter. <newpwd> String type (string should be included in quotation marks): new password |
|
Parameter Saving Mode | NO_SAVE |
Max Response Time | 15s |
C0313 AT+CRC Set Cellular Result Codes For Incoming Call Indication
T) AT+CRC=? |
+CRC: (list of supported <mode>s)
OK |
Parameters See Write Command |
|
R) AT+CRC? |
+CRC: <mode>
OK |
Parameters See Write Command |
|
W) AT+CRC=[<mode>] |
TA controls whether or not the extended format of incoming call indication is used. OK |
Parameters <mode> 0 Disable extended format 1 Enable extended format Omitted Use previous value |
|
Unsolicited Result Code When enabled, an incoming call is indicated to the TE with unsolicited result code +CRING: <type> instead of the normal RING. |
|
Parameters <type> ASYNC Asynchronous transparent SYNC Synchronous transparent REL ASYNC Asynchronous non-transparent REL SYNC Synchronous non-transparent FAX Facsimile VOICE Voice |
|
Parameter Saving Mode | NO_SAVE |
C0314 AT+CREG Network Registration
T) AT+CREG=? |
+CREG: (list of supported <n>s)
OK |
Parameters See Write Command |
|
R) AT+CREG? |
TA returns the status of result code presentation and an integer <stat> which shows whether the network has currently indicated the registration of the ME. Location information elements <lac> and <ci> are returned only when <n>=2 and ME is registered in the network. +CREG: <n>,<stat>[,<lac>,<ci>,<netact>]
OK If error is related to ME functionality: +CME ERROR: <err> |
W) AT+CREG[=<n>] |
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 |
Parameters <n> 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code +CREG: <stat> 2 Enable network registration unsolicited result code with location information (2 is only for 7000 series module which support GPRS.) CREG: <stat>[,<lac>,<ci>,<netact>] <stat> 0 Not registered, MT is not currently searching a new operator to register to 1 Registered, home network 2 Not registered, but MT is currently searching a new operator to register to 3 Registration denied 4 Unknown 5 Registered, roaming <lac> String type (string should be included in quotation marks); two byte location area code in hexadecimal format <ci> String type (string should be included in quotation marks); two byte cell ID in hexadecimal format <netact> 0 User-specified GSM access technology 1 GSM compact 3 GSM EGPRS 7 User-specified LTE M1 A GB access technology 9 User-specified LTE NB S1 access technology |
|
Unsolicited Result Code If <n>=1 and there is a change in the MT network registration status +CREG: <stat> If <n>=2 and there is a change in the MT network registration status or a change of the network cell: +CREG: <stat>[,<lac>,<ci>,<netact>] |
|
Parameters See Write Command |
C0315 AT+CRSM Restricted SIM Access
T) AT+CRSM=? | OK |
W) AT+CRSM=<Command>[,<fileId>[,<P1>,<P2>,<P3>[,<data>]]] |
+CRSM: <sw1>,<sw2>[,<response>]
OK ERROR If error is related to ME functionality: +CME ERROR: <err> |
Parameters <Command> 176 READ BINARY 178 READ RECORD 192 GET RESPONSE 214 UPDATE BINARY 220 UPDATE RECORD 242 STATUS All other values are reserved; refer GSM 11.11. <fileId> Integer type; this is the identifier for an elementary data file on SIM. Mandatory for every Command except STATUS <P1>,<P2>,<P3> Integer type, range 0 – 255 Parameters to be passed on by the ME to the SIM; refer GSM 11.11. <data> Information which shall be written to the SIM (hex-decimal character format) <sw1>,<sw2> Integer type, range 0 – 255 Status 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 of the Command; refer GSM 11.11. <response> Response of a successful completion of the Command previously issued (hexadecimal character format) |
|
Parameter Saving Mode | NO_SAVE |
C0316 AT+CSQ Signal Quality Report
T) AT+CSQ=? |
+CSQ: (list of supported <rssi>s),(list of supported <ber>s)
OK |
E) AT+CSQ |
+CSQ: <rssi>,<ber>
OK If error is related to ME functionality: +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. |
Parameters <rssi> 0 – 115 dBm or less 1 – 111 dBm 2…30 – 110… – 54 dBm 31 – 52 dBm or greater 99 not known or not detectable <ber> (in percent): 0…7 As RXQUAL values in the table in GSM 05.08 [20] subclause 7.2.4 99 Not known or not detectable |
|
Parameter Saving Mode | NO_SAVE |
C0317 AT+CPOL Preferred Operator List
T) AT+CPOL=? |
+CPOL: (list of supported <index>s),(list of supported <format>s)
OK |
Parameters See Write Command |
|
R) AT+CPOL? |
+CPOL: <index1>,<format>,<oper1>[,<GSM>,<GSM_compact>,<UTRAN>,<E-UTRAN>][<CR><LF>+CPOL: <index2>,<format>,<oper2>[,<GSM,<GSM_compact>,<UTRAN>,<E-UTRAN>][…]]
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters See Write Command |
|
W) AT+CPOL=<index>[,<f ormat>[,<oper>[<GSM >,<GSM_compact>,<UTRAN>,<E-UTRAN>]]] |
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <index> Integer type: order number of operator in SIM preferred operator list <format> Indicates whether alphanumeric or numeric format used (see +COPS Command) 0 Long format alphanumeric <oper> 1 Short format alphanumeric <oper> 2 Numeric <oper> <oper> String type(string should be included in quotation marks) <GSM> GSM access technology 0 Access technology is not selected 1 Access technology is selected <GSM_compact> GSM compact access technology 0 Access technology is not selected 1 Access technology is selected <UTRAN> UTRAN access technology 0 Access technology is not selected 1 Access technology is selected <E-UTRAN> E-UTRAN access technology 0 Access technology is not selected 1 Access technology is selected |
C0318 AT+COPN Read Operator Names
T) AT+COPN=? | OK |
E) AT+COPN |
+COPN: <numeric1>,<alpha1> [<CR><LF>+COPN: <numeric2>,<alpha2> […]]
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <numericn> String type (string should be included in quotation marks): operator in numeric format (see +COPS) <alphan> String type (string should be included in quotation marks): operator in long alphanumeric format (see +COPS) |
|
Parameter Saving Mode | NO_SAVE |
C0319 AT+CFUN Set Phone Functionality
T) AT+CFUN=? |
+CFUN: (list of supported <fun>s),(list of supported <rst>s)
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters See Write Command |
|
R) AT+CFUN? |
+CFUN: <fun>
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters See Write Command |
|
W) AT+CFUN=<fun>[,<rst>] |
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <fun> 0 Minimum functionality 1 Full functionality (Default) 4 Disable phone both transmit and receive RF circuits. 5 Factory Test Mode 6 Reset 7 Offline Mode <rst> 0 Do not Reset the MT before setting it to <fun> power level. 1 Reset the MT before setting it to <fun> power level. |
|
Max Response Time | 10s |
Reference 3GPP TS 27.007 [13] |
Note The <fun> power level will be written to flash except minimum functionality. AT+CFUN=1,1 can be used to reset module purposely at minimum/full functionality mode. Response string “OK” will be returned after module resets if baud rate is set to fixed baud rate. |
C0320 AT+CCLK Clock
T) AT+CCLK=? | OK |
R) AT+CCLK? |
+CCLK: <time>
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters See Write Command |
|
W) AT+CCLK=<time> |
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <time> String type(string should be included in quotation marks) 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 -47…+48). E.g. 6th of May 2010, 00:01:52 GMT+2 hours equals to “10/05/06,00:01:52+08”. |
|
Parameter Saving Mode | AUTO_SAVE |
Reference 3GPP TS 27.007 [13] |
Note Only time zone is auto saved. |
C0321 AT+CSIM Generic SIM Access
T) AT+CSIM=? | OK |
W) AT+CSIM=<length>,<Command> |
+CSIM: <length>,<response>
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <length> Integer type: length of characters sent to the TE in <Command> or <response> (i.e. twice the number of octets in the raw data). <Command> String type (string should be included in quotation marks): hex format: GSM 11.11 SIM Command sent from the ME to the SIM. <response> String type(string should be included in quotation marks): hex format: GSM 11.11 response from SIM to <Command>. |
|
Parameter Saving Mode | NO_SAVE |
Reference 3GPP TS 27.007 [13] |
Note |
C0322 AT+CBC Battery Charge
T) AT+CBC=? |
+CBC: (list of supported <bcs>s),(list of supported <bcl>s),(<voltage>)
OK |
Parameters See Execution Command |
|
E) AT+CBC |
+CBC: <bcs>,<bcl>,<voltage>
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <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) |
|
Parameter Saving Mode | NO_SAVE |
Reference 3GPP TS 27.007 [13] |
Note |
C0323 AT+CUSD Unstructured Supplementary Service Data
T) AT+CUSD=? |
+CUSD: (list of supported <n>s)
OK |
Parameters See Write Command |
|
R) AT+CUSD? |
+CUSD: <n>
OK |
Parameters See Write Command |
|
W) AT+CUSD=<n>,<str>,<dcs> |
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <n> A numeric parameter which indicates control of the unstructured supplementary service data 0 disable the result code presentation in the TE 1 enable the result code presentation in the TE 2 cancel session (not applicable to read Command response) <str> String type (string should be included in quotation marks) USSD-string <dcs> Cell Broadcast Data Coding Scheme in integer format (default 0) |
|
Parameter Saving Mode | NO_SAVE |
Reference GSM 03.38 [25] |
Note When ussd is not suport or return error,TE will print +CUSD:4. |
C0324 AT+CNUM Subscriber Number
T) AT+CNUM=? | OK |
E) AT+CNUM |
+CNUM: “”,<number1>,<type1>
OK If error is related to ME functionality: +CME ERROR: <err> |
Parameters <numberx> String type (string should be included in quotation marks) phone number of format specified by <typex> <typex> Type of address octet in integer format (refer GSM04.08[8] subclause 10.5.4.7) |
|
Parameter Saving Mode | NO_SAVE |