AT Commands for Status Control
No | Command | Description |
L0301 | AT+CFUN | Set phone functionality |
L0302 | AT+CPIN | Enter PIN |
L0303 | AT+CICCID | Read ICCID from SIM card |
L0304 | AT+CSIM | Generic SIM access |
L0305 | AT+CRSM | Restricted SIM access |
L0306 | AT+SPIC | Times remain to input SIM PIN/PUK |
L0307 | AT+CSPN | Get service provider name from SIM |
L0308 | AT+CSQ | Query signal quality |
L0309 | AT+AUTOCSQ | Set CSQ report |
L0310 | AT+CSQDELTA | Set RSSI delta change threshold |
L0311 | AT+CATR | Configure URC destination interface |
L0312 | AT+CPOF | Power down the module |
L0313 | AT+CRESET | Reset the module |
L0314 | AT+CACM | Accumulated call meter |
L0315 | AT+CAMM | Accumulated call meter maximum |
L0316 | AT+CPUC | Price per unit and currency table |
L0317 | AT+CCLK | Real time clock management |
L0318 | AT+CMEE | Report mobile equipment error |
L0319 | AT+CPAS | Phone activity status |
L0320 | AT+SIMEI | Set IMEI for the module |
L0321 | AT+SMEID | Request Mobile Equipment Identifier |
L0322 | AT+CSVM | Voice Mail Subscriber number |
L0301 AT+CFUN Set phone functionality
This command is used to select the level of functionality <fun> in the ME. Level “full functionality” is where the highest level of power is drawn.
“Minimum functionality” is where minimum power is drawn. Level of functionality between these may also be specified by manufacturers.
When supported by manufacturers, ME resetting with <rst> parameter may be utilized.
NOTE:
AT+CFUN=6 must be used after setting AT+CFUN=7. If the module in offline mode, must execute AT+CFUN=6 or restart the module to online mode.
T) AT+CFUN=? |
+CFUN: (list of supported <fun>s),(list of supported <rst>s) OK or ERROR or +CME ERROR: <err> |
R) AT+CFUN? |
+CFUN: <fun> OK or ERROR or +CME ERROR: <err> |
W) AT+CFUN=<fun>,[<rst>] |
OK or ERROR or +CME ERROR: <err> |
<fun> |
0 minimum functionality 1 full functionality, online mode 4 disable phone both transmit and receive RF circuits 5 Factory Test Mode 6 Reset 7 Offline Mode |
<rst> |
0 do not reset the ME before setting it to <fun> power level 1 reset the ME before setting it to <fun> power level. This value only takes effect when <fun> equals 1. |
Example |
AT+CFUN? +CFUN: 1 OK
AT+CFUN=0 OK |
L0302 AT+CPIN Enter PIN
This command is used to send the ME a password which is necessary before it can be operated (SIM PIN, SIM PUK, PH- SIM PIN, etc.).
If the PIN is to be entered twice, the TA shall automatically repeat the PIN.
If no PIN request is pending, no action is taken towards MT and an 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, <newpin>, is used to replace the old pin in the SIM.
T) AT+CPIN=? | OK |
R )AT+CPIN? |
+CPIN: <code> OK or ERROR or +CME ERROR: <err> |
W) AT+CPIN=<pin>[,<newpin>] |
OK or ERROR or +CME ERROR: <err> |
<pin> | String type values. |
<newpin> | String type values. |
<code> |
Values reserved by the present document: READY – ME is not pending for any password SIM PIN – ME is waiting SIM PIN to be given SIM PUK – ME is waiting SIM PUK to be given PH-SIM PIN – ME is waiting phone- to- SIM card password to be given SIM PIN2 – ME is waiting SIM PIN2 to be given SIM PUK2 – ME is waiting SIM PUK2 to be given PH-NET PIN – ME is waiting network personalization password to be given |
Examples |
AT+CPIN? +CPIN: SIM PUK2 OK |
L0303 AT+CICCID Read ICCID from SIM card
This command is used to Read the ICCID from SIM card
T) AT+CICCID=? | OK |
E) AT+CICCID |
+ICCID: <ICCID> OK or ERROR or +CME ERROR: <err> |
<ICCID> | Integrate circuit card identity, a standard ICCID is a 20-digit serial number of the SIM card,it presents the publish state, network code, publish area, publish date, publish manufacture and press serialnumber of the SIM card. |
Examples |
AT+CICCID +ICCID: 898600700907A6019125 OK |
L0304 AT+CSIM Generic SIM access
This command is used to control the SIM card directly.
Compared to restricted SIM access command AT+CRSM, AT+CSIM allows the ME to take more control over the SIM interface.
For SIM–ME interface please refer 3GPP TS 11.11.
NOTE:
The SIM Application Toolkit functionality is not supported by AT+CSIM.
Therefore the following SIM commands can not be used: TERMINAL PROFILE, ENVELOPE, FETCH and TERMINAL, RESPONSE.
T) AT+CSIM=? | OK |
W) AT+CSIM=<length>,<command> |
+CSIM: <length>,<response> OK or ERROR or +CME ERROR: <err> |
<length> | Integer type; length of characters that are sent to TE in<command>or<response> |
<command> | Command passed from MT to SIM card. |
<response> | Response to the command passed from SIM card to MT. |
Examples |
AT+CSIM=? OK |
L0305 AT+CRSM Restricted SIM access
By using AT+CRSM instead of Generic SIM Access AT+CSIM, TE application has easier but more limited access to the SIM database.
Write command transmits to the MT the SIM <command> and its required parameters.
MT handles internally all SIM-MT interface locking and file selection routines.
As response to the command, MT sends the actual SIM information parameters and response data.
MT error result code +CME ERROR may be returned when the command cannot be passed to the SIM,
but failure in the execution of the command in the SIM is reported in <sw1> and <sw2> parameters.
T) AT+CRSM=? | OK |
W) AT+CRSM=<command>[,<fileID>[,<p1>,<p2>, <p3>[,<data>]]] | +CRSM: <sw1>,<sw2>[,<response>] OKorERROR or +CME ERROR: <err> |
<command> |
Command passed on by the MT to the SIM: 176 READ BINARY 178 READ RECORD 192 GET RESPONSE 214 UPDATE BINARY 220 UPDATE RECORD 242 STATUS 203 RETRIEVE DATA 219 SET DATA |
<fileID> |
Identifier for an elementary data file on SIM, if used by<command>. The following list the fileID hex value, user needs to convet them to decimal. EFs under MF |
0x2FE2 ICCID 0x2F05 Extended Language Preferences 0x2F00 EF DIR 0x2F06 Access Rule Reference EFs under USIM ADF 0x6F05 Language Indication 0x6F07 IMSI 0x6F08 Ciphering and Integrity keys 0x6F09 C and I keys for pkt switched domain 0x6F60 User controlled PLMN selector w/Acc Tech 0x6F30 User controlled PLMN selector 0x6F31 HPLMN search period 0x6F37 ACM maximum value 0x6F38 USIM Service table 0x6F39 Accumulated Call meter 0x6F3E Group Identifier Level 0x6F3F Group Identifier Level 2 0x6F46 Service Provider Name 0x6F41 Price Per Unit and Currency table 0x6F45 Cell Bcast Msg identifier selection 0x6F78 Access control class 0x6F7B Forbidden PLMNs 0x6F7E Location information 0x6FAD Administrative data 0x6F48 Cell Bcast msg id for data download 0x6FB7 Emergency call codes 0x6F50 Cell bcast msg id range selection 0x6F73 Packet switched location information 0x6F3B Fixed dialling numbers 0x6F3C Short messages 0x6F40 MSISDN 0x6F42 SMS parameters 0x6F43 SMS Status 0x6F49 Service dialling numbers 0x6F4B Extension 2 0x6F4C Extension 3 0x6F47 SMS reports 0x6F80 Incoming call information 0x6F81 Outgoing call information 0x6F82 Incoming call timer 0x6F83 Outgoing call timer 0x6F4E Extension 5 0x6F4F Capability Config Parameters 2 0x6FB5 Enh Multi Level Precedence and Pri 0x6FB6 Automatic answer for eMLPP service 0x6FC2 Group identity 0x6FC3 Key for hidden phonebook entries 0x6F4D Barred dialling numbers 0x6F55 Extension 4 0x6F58 Comparison Method information 0x6F56 Enabled services table 0x6F57 Access Point Name Control List 0x6F2C De-personalization Control Keys 0x6F32 Co-operative network list 0x6F5B Hyperframe number 0x6F5C Maximum value of Hyperframe number 0x6F61 OPLMN selector with access tech 0x6F5D OPLMN selector 0x6F62 HPLMN selector with access technology 0x6F06 Access Rule reference 0x6F65 RPLMN last used access tech 0x6FC4 Network Parameters 0x6F11 CPHS: Voice Mail Waiting Indicator 0x6F12 CPHS: Service String Table 0x6F13 CPHS: Call Forwarding Flag 0x6F3D Capability Configuration Parameters 0x6F4F Extended CCP 0x6F40 MSISDN 0x6F42 SMS parameters 0x6F43 SMS Status 0x6F44 Last number dialled 0x6F49 Service Dialling numbers 0x6F4A Extension 1 0x6F4B Extension 2 0x6F4C Extension 3 0x6F4D Barred Dialing Numbers 0x6F4E Extension 4 0x6F47 SMS reports 0x6F58 Comparison Method Information 0x6F54 Setup Menu elements 0x6F06 Access Rule reference 0x4F20 Image 0x4F30 Phone book reference file 0x4F22 Phone book synchronization center 0x4F23 Change counter 0x4F24 Previous Unique Identifier |
|
<p1><p2><p3> | Integer type; parameters to be passed on by the Module to the SIM. |
<data> |
Information which shall be written to the SIM (hexa decimal character format, refer AT+CSCS). |
<sw1><sw2> |
Status information from the SIM about the execution of the actual command. It is returned in both cases, on successful or failed execution of the command. |
<response> |
Response data in case of a successful completion of the previously issued command. “STATUS” and “GET RESPONSE” commands return data, which gives information about the currently selected elementary data field. This information includes the type of file and its size. After “READ BINARY” or “READ RECORD” commands the requested data will be returned. <response> is empty after “UPDATE BINARY” or “UPDATERECORD” commands. |
Examples |
AT+CRSM=? OK |
L0306 AT+SPIC Times remain to input SIM PIN/PUK
This command is used to inquire times remain to input SIM PIN/PUK.
T) AT+SPIC=? | OK |
E) AT+SPIC | +SPIC: <pin1>,<puk1>,<pin2>,<puk2> OK |
<pin1> | Times remain to input PIN1 code. |
<puk1> | Times remain to input PUK1 code. |
<pin2> | Times remain to input PIN2 code. |
<puk2> | Times remain to input PUK2 code. |
Example |
AT+SPIC=? OK
AT+SPIC +SPIC: 3,10,0,10 OK |
L0307 AT+CSPN get service provider name from SIM card.
This command is used to get service provider name from SIM card.
T) AT+CSPN=? |
OK or ERROR |
R) AT+CSPN? |
+CSPN: <spn>,<display mode> OK or ERROR or +CME ERROR: <err> |
<spn> | String type; service provider name on SIM |
<display mode> |
0 doesn’t display PLMN. Already registered on PLMN. 1 display PLMN |
Example |
AT+CSPN=? OK
AT+CSPN? +CSPN: “CMCC”,0 OK |
L0308 AT+CSQ Query Signal Quality
This command is used to return received signal strength indication <rssi> and channel bit error rate <ber> from the ME.
Test command returns values supported by the TA as compound values.
T) AT+CSQ=? |
+CSQ: (list of supported <rssi>s),(list of supported <ber>s) OK |
E) AT+CSQ |
+CSQ: <rssi>,<ber> OK or ERROR |
<rssi> |
0 -113dBm or Less 1 -111dBm 2…30 -109… -53dBm 31 -51dBm or Greater 99 not known or not detectable 100 -116dBm or Less 101 -115dBm 102…192 -114…-26dBm 199 not known or not detectable 100…199 expand to TDSCDMA, indicate RSCP received? |
<ber> |
(in percent) 0 <0.01% 1 0.01% ~ 0.1% 2 0.1%~0.5% 3 1.0% ~ 2.0% 4 1.0% ~ 2.0% 5 2.0% ~ 4.0% 6 4.0% ~ 8.0% 7 >=8.0% 99 not known or not detectable |
Example |
AT+CSQ +CSQ: 22,0 OK |
L0309 AT+AUTOCSQ Set CSQ Report
This command is used to enable or disable automatic report CSQ information,
when automatic report enabled, the module reports CSQ information every five seconds
or only after <rssi>or<ber> is changed, the format of automatic report is “+CSQ: <rssi>,<ber>”.
T) AT+AUTOCSQ=? | +AUTOCSQ: (list of supported<auto>s),(list of supported<mod e>s) OK |
R) AT+AUTOCSQ? | +AUTOCSQ: <auto>,<mode> OK |
W) AT+AUTOCSQ=<auto>[,<mode>] |
OK or ERROR |
<auto> |
0 disable automatic report 1 enable automatic report |
<mode> |
0 CSQ automatic report every five seconds 1 CSQ automatic report only after <rssi>or<ber>is changed NOTE: If the parameter of <mode> is omitted when executing write command, <mode> will be set to default value. |
Example |
AT+AUTOCSQ=? +AUTOCSQ: (0-1),(0-1) OK
AT+AUTOCSQ? +AUTOCSQ: 1,1 OK
AT+AUTOCSQ=1,1 OK +CSQ: 23,0 (when <rssi> or <ber> changing) |
L0310 AT+CSQDELTA Set RSSI delta change threshold
This command is used to set RSSI delta threshold for signal strength reporting.
T) AT+CSQDELTA=? |
+CSQDELTA: (list of supported <delta>s) OK |
R) AT+CSQDELTA? |
+CSQDELTA: <delta> OK or ERROR |
W) AT+CSQDELTA=<delta> |
OK or ERROR |
E) AT+CSQDELTA |
Set default value(<delta>=5): OK |
<delta> | Range: from 0 to 5. |
Example |
AT+CSQDELTA? +CSQDELTA: 5 OK |
L0311 AT+CATR Configure URC destination interface
This command is used to configure the serial port which will be used to output URCs.
We recommend configure a destination port for receiving URC in the system initialization phase,
in particular, in the case that transmi large amounts of data, e.g. use TCP/UDP and MT SMS related AT command.
T) AT+CATR=? |
+CATR: (list of supported <port>s) OK |
R) AT+CATR? |
+CATR: <port> OK |
W) AT+CATR=<port> |
OK or ERROR |
E) AT+CATR |
Set default value(<port>=0): OK |
<port> |
0 all ports 1 use UART port to output URCs 2 use MODEM port to output URCs 3 use ATCOM port to output URCs 4 use cmux virtual port1 to output URCs 5 use cmux virtual port2 to output URCs 6 use cmux virtual port3 to output URCs 7 use cmux virtual port4 to output URCs |
Example |
AT+CATR=1 OK AT+CATR? +CATR: 1 OK |
L0312 AT+CPOF Power Down The Module
This command is used to power off the module.
Once the AT+CPOF command is executed, The module will store user data and deactivate from network, and then shutdown.
T) AT+CPOF=? | OK |
E) AT+CPOF | OK |
Example |
AT+CPOF OK |
L0313 AT+CRESET Reset The Module
This command is used to reset the module.
T) AT+CRESET=? | OK |
E) AT+CRESET | OK |
Example |
AT+CRESET=? OK
AT+CRESET OK |
L0314 AT+CACM Accumulated Call Meter
This command is used to reset the Advice of Charge related accumulated call meter value in SIM file EFACM.
T) AT+CACM=? |
OK or ERROR |
R) AT+CACM? |
+CACM: <acm> OK or ERROR or +CME ERROR: <err> |
W) AT+CACM=<passwd> |
OK or ERROR or +CME ERROR: <err> |
E) AT+CACM |
OK or ERROR or +CME ERROR: <err> |
<passwd> | String type, SIM PIN2. |
<acm> | String type, accumulated call meter value similarly coded as <ccm>under +CAOC. |
Example |
AT+CACM? +CACM: “000000” OK |
L0315 AT+CAMM Accumulated Call meter Maximum
This command is used to set the Advice of Charge related accumulated call meter maximum value in SIM file EFACMmax.
T) AT+CAMM=? |
OK or ERROR |
R) AT+CAMM? |
+CAMM: <acmmax> OK or ERROR or +CME ERROR: <err> |
W) AT+CAMM=<acmmax>[,<passwd>] |
OK or ERROR or +CME ERROR: <err> |
E) AT+CAMM |
OK or ERROR or +CME ERROR: <err> |
<acmmax> |
String type, accumulated call meter maximum value similarly codedas <ccm> under AT+CAOC, value zero disables ACMmax feature. |
<passwd> | String type, SIM PIN2. |
Example |
AT+CAMM? +CAMM: “000000” OK |
L0316 AT+CPUC Price Per Unit and Currency Table
This command is used to set the parameters of Advice of Charge related price per unit and currency table in SIM file EFPUCT..
T) AT+CPUC=? |
OK or ERROR |
R) AT+CPUC? |
+CPUC: [<currency>,<ppu>] OK or ERROR or +CME ERROR: <err> |
W) AT+CPUC=<currency>,<ppu>[,<passwd>] |
OK or ERROR or +CME ERROR: <err> |
<currency> |
String type, three-character currency code (e.g. “GBP”, “DEM”), character set as specified by command Select TE Character Set AT+CSCS. |
<ppu> | String type, price per unit, dot is used as a decimal separator. (e.g.”2.66″). |
<passwd> | String type, SIM PIN2. |
Example |
AT+CPUC? +CPUC: “GBP” , “2.66” OK |
L0317 AT+CCLK Real Time Clock Management
This command is used to manage Real Time Clock of the module.
T) AT+CCLK=? | OK |
R) AT+CCLK? |
+CCLK: <time> OK |
W) AT+CCLK=<time> |
OK or ERROR |
<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; \ three last digits are mandatory, range -47…+48). E.g. 6th of May 2008, 14:28:10 GMT+8 equals to “08/05/06,14:28:10+32”.
NOTE: 1.Time zone is nonvolatile, and the factory value is invalid time zone. 2.Command +CCLK? will return time zone when time zone is valid, and if time zone is 00, command +CCLK? will return “+00”, but not “-00”. |
Example |
AT+CCLK=“08/11/28,12:30:33+32” OK
AT+CCLK? +CCLK: “08/11/28,12:30:35+32” OK
AT+CCLK=”08/11/26,10:15:00″ OK
AT+CCLK? +CCLK: “08/11/26,10:15:02+32” OK |
L0318 AT+CMEE Report Mobile Equipment Error
This command is used to disable or enable the use of result code “+CME ERROR: <err>”
or “+CMS ERROR: <err>” as an indication of an error relating to the functionality of ME;
when enabled, the format of <err> can be set to numeric or verbose string.
T) AT+CMEE=? |
+CMEE: (list of supported <n>s) OK |
R) AT+CMEE? |
+CMEE: <n> OK |
W) AT+CMEE=<n> |
OK or ERROR |
E) AT+CMEE |
Set default value: OK |
<n> |
0 Disable result code,i.e. only “ERROR” will be displayed. 1 Enable error result code with numeric values. 2 Enable error result code with string values. |
Example |
AT+CMEE? +CMEE: 2 OK
AT+CPIN=”1234″,”1234″ +CME ERROR: incorrect password
AT+CMEE=0 OK
AT+CPIN=”1234″,”1234″ ERROR
AT+CMEE=1 OK
AT+CPIN=”1234″,”1234″ +CME ERROR: 16 |
L0319 AT+CPAS Phone Activity Status
This command is used to return the activity status <pas> of the ME. It can be used to interrogate the ME before requesting action from the phone.
NOTE:
This command is same as AT+CLCC, but AT+CLCC is more commonly used. So AT+CLCC is recommended to use.
T) AT+CPAS=? |
+CPAS: (list of supported <pas>s) OK |
E) AT+CPAS |
+CPAS: <pas> OK |
<pas> |
0 ready (ME allows commands from TA/TE) 3 ringing (ME is ready for commands from TA/TE, but the ringer is active) 4 call in progress (ME is ready for commands from TA/TE, but a call is in progress) |
Example |
RING (with incoming call) AT+CPAS +CPAS: 3 OK
AT+CPAS=? +CPAS: (0,3,4) OK |
L0320 AT+SIMEI Set IMEI For The Module
This command is used to set the module’s IMEI value.
T) AT+SIMEI=? | OK |
R) AT+SIMEI? |
+SIMEI: <imei> OK or ERROR |
W) AT+SIMEI=<imei> |
OK or ERROR |
<imei> | The 15-digit IMEI value. |
Example |
AT+SIMEI=357396012183170 OK
AT+SIMEI? +SIMEI:357396012183170 OK
AT+SIMEI=? OK |
L0321 AT+SMEID Request Mobile Equipment Identifier
Only task effect in 7600CE
R) AT+SMEID? |
+SMEID: <MEID> OK or ERROR |
<MEID> | Mobile Equipment Identifier (string, without double quotes). |
Example |
AT+SMEID? +SMEID: A1000021A5906F |
F0322 AT+CSVM Voice Mail Subscriber Number
Execution command returns the voice mail number related to the subscriber.
T) AT+CSVM=? |
+CSVM: (0-1), “(0-9,+)”, (128-255) OK or ERROR |
R) AT+CSVM? |
+CSVM: <valid>, “<number>”,<type> OK or ERROR |
W) AT+CSVM=<valid>,“<number>”,<type> |
OK or ERROR |
<valid> |
Whether voice mail number is valid: 0 Voice mail number is invalid. 1 Voice mail number is valid. |
<number> | String type phone number of format specified by <type>. |
<type> | Type of address octet in integer format. see also AT+CPBR <type> |
Example |
AT+CSVM? +CSVM: 1 ,”13697252277″,129 OK |
F0323 Indication of Voice Mail
This module supports voice mail function; the subscriber number is configured by AT+CSVM command,
the following table shows the URC related Voice Mail.
Box Empty +VOICEMAIL: EMPTY |
This indication means the voice mail box is empty |
New Message +VOICEMAIL: NEW MSG |
This indication means there is a new voice mail message notification received. This is for CPHS. |
Voice Mail Status Updated +VOICEMAIL: WAITING,<count> |
This indication means that there are <count> number of voice mail messages that needs to be got. |
<count> | Count of voice mail message that waits to be got. |
Example |
+VOICEMAIL: WAITING, <count> +VOICEMAIL: WAITING, 5 |