GSM Commands and Error Codes
GSM Commands and Error Codes
Variations of this command can be used to query your current network, to query the list of available
networks and to set manual/automatic network selection. Examples:
This command checks GSM registration status. Without GSM registration, you should not attempt to attach to GPRS
or performing any dialing function. By default, a modem will attempt to automatically register with a network without
you having to invoke any action.
This command issues a GPRS attach or detach. This is not an automatic operation and will allow you to
determine if the device is able to successfully attach to GPRS service. Once attached, this command will
not accurately display loss of GPRS service. In some cases, it is possible to use other commands to
bypass this action.
Displays/edits/changes the configured APN. It is important that the correct APN be used or your SIM
will not be allowed to connect to the Wireless Network.
comamnds starts a TCP or UDP connection
* AT+CSQ
* +CSQ: <rssi>,<ber>
* AT+CIMI=?
* AT+CREG?
* 0,0 – SIM Error
* 0,2 – Searching
* 0,3 – Registration denied
* 0,5 – Connected roaming
* 0,1 - Connected
* AT+CGATT=1 - Attach
* OK – command successful
* Other CMEE code – See possible errors via CMEE result specific module documentation
* AT+CGATT=0 – Detach
* AT+CGDCONT? - Displays the current APN set (Example output, +CGDCONT: 1,"IP","apn1globalm2m.net","",0,0)
* AT+CGDCONT=1,"IP","apn1.globalm2m.net" - This will set the APN to what is specified. In this case, apn1.globalm2m
AT+CIPSTART="TCP","data.sparkfun.com",80
0 CME ERROR: 0 Phone failure Equipment related 10
1 CME ERROR: 1 No connection to phone Equipment related 10
1 CMS ERROR: 1 Unassigned number Network related 10
2 CME ERROR: 2 Phone adapter link reserved Equipment related 10
3 CME ERROR: 3 Operation not allowed Equipment related 10
4 CME ERROR: 4 Operation not supported Equipment related 10
5 CME ERROR: 5 PH_SIM PIN required Equipment related 10
6 CME ERROR: 6 PH_FSIM PIN required Equipment related 10
7 CME ERROR: 7 PH_FSIM PUK required Equipment related 10
8 CMS ERROR: 8 Operator determined barring Network related 10
10 CME ERROR: 10 SIM not inserted Equipment related 10
10 CMS ERROR: 10 Call bared Network related 10
11 CME ERROR: 11 SIM PIN required Equipment related 10
12 CME ERROR: 12 SIM PUK required Equipment related 10
13 CME ERROR: 13 SIM failure Equipment related 10
14 CME ERROR: 14 SIM busy Equipment related 10
15 CME ERROR: 15 SIM wrong Equipment related 10
16 CME ERROR: 16 Incorrect password Equipment related 10
17 CME ERROR: 17 SIM PIN2 required Equipment related 10
18 CME ERROR: 18 SIM PUK2 required Equipment related 10
20 CME ERROR: 20 Memory full Equipment related 10
21 CME ERROR: 21 Invalid index Equipment related 10
21 CMS ERROR: 21 Short message transfer rejected Network related 10
22 CME ERROR: 22 Not found Equipment related 10
23 CME ERROR: 23 Memory failure Equipment related 10
24 CME ERROR: 24 Text string too long Equipment related 10
25 CME ERROR: 25 Invalid characters in text string Equipment related 10
26 CME ERROR: 26 Dial string too long Equipment related 10
27 CME ERROR: 27 Invalid characters in dial string Equipment related 10
27 CMS ERROR: 27 Destination out of service Network related 10
28 CMS ERROR: 28 Unindentified subscriber Network related 10
29 CMS ERROR: 29 Facility rejected Network related 10
30 CME ERROR: 30 No network service Equipment related 10
30 CMS ERROR: 30 Unknown subscriber Network related 10
31 CME ERROR: 31 Network timeout Equipment related 10
32 CME ERROR: 32 Network not allowed, emergency calls only Equipment related 10
38 CMS ERROR: 38 Network out of order Network related 10
40 CME ERROR: 40 Network personalization PIN required Equipment related 10
41 CME ERROR: 41 Network personalization PUK required Equipment related 10
41 CMS ERROR: 41 Temporary failure Network related 10
42 CME ERROR: 42 Network subset personalization PIN required Equipment related 10
42 CMS ERROR: 42 Congestion Network related 10
43 CME ERROR: 43 Network subset personalization PUK required Equipment related 10
44 CME ERROR: 44 Service provider personalization PIN required Equipment related 10
45 CME ERROR: 45 Service provider personalization PUK required Equipment related 10
46 CME ERROR: 46 Corporate personalization PIN required Equipment related 10
47 CME ERROR: 47 Corporate personalization PUK required Equipment related 10
47 CMS ERROR: 47 Recources unavailable Network related 10
48 CME ERROR: 48 PH-SIM PUK required Equipment related 10
50 CMS ERROR: 50 Requested facility not subscribed Network related 10
69 CMS ERROR: 69 Requested facility not implemented Network related 10
81 CMS ERROR: 81 Invalid short message transfer reference value Network related 10
95 CMS ERROR: 95 Invalid message unspecified Network related 10
96 CMS ERROR: 96 Invalid mandatory information Network related 10
97 CMS ERROR: 97 Message type non existent or not implemented Network related 10
98 CMS ERROR: 98 Message not compatible with short message protocol Network related 10
99 CMS ERROR: 99 Information element non-existent or not implemente Network related 10
100 CME ERROR: 100 Unknown error Equipment related 10
103 CME ERROR: 103 Illegal MS Equipment related 10
106 CME ERROR: 106 Illegal ME Equipment related 10
107 CME ERROR: 107 GPRS services not allowed Equipment related 10
111 CME ERROR: 111 PLMN not allowed Equipment related 10
111 CMS ERROR: 111 Protocol error, unspecified Network related 10
112 CME ERROR: 112 Location area not allowed Equipment related 10
113 CME ERROR: 113 Roaming not allowed in this location area Equipment related 10
126 CME ERROR: 126 Operation temporary not allowed Equipment related 10
127 CMS ERROR: 127 Internetworking , unspecified Network related 10
128 CMS ERROR: 128 Telematic internetworking not supported Network related 10
129 CMS ERROR: 129 Short message type 0 not supported Network related 10
130 CMS ERROR: 130 Cannot replace short message Network related 10
132 CME ERROR: 132 Service operation not supported Equipment related 10
133 CME ERROR: 133 Requested service option not subscribed Equipment related 10
134 CME ERROR: 134 Service option temporary out of order Equipment related 10
143 CMS ERROR: 143 Unspecified TP-PID error Network related 10
144 CMS ERROR: 144 Data code scheme not supported Network related 10
145 CMS ERROR: 145 Message class not supported Network related 10
148 CME ERROR: 148 Unspecified GPRS error Equipment related 10
149 CME ERROR: 149 PDP authentication failure Equipment related 10
150 CME ERROR: 150 Invalid mobile class Equipment related 10
159 CMS ERROR: 159 Unspecified TP-DCS error Network related 10
160 CMS ERROR: 160 Command cannot be actioned Network related 10
161 CMS ERROR: 161 Command unsupported Network related 10
175 CMS ERROR: 175 Unspecified TP-Command error Network related 10
176 CMS ERROR: 176 TPDU not supported Network related 10
192 CMS ERROR: 192 SC busy Network related 10
193 CMS ERROR: 193 No SC subscription Network related 10
194 CMS ERROR: 194 SC System failure Network related 10
195 CMS ERROR: 195 Invalid SME address Network related 10
196 CMS ERROR: 196 Destination SME barred Network related 10
197 CMS ERROR: 197 SM Rejected-Duplicate SM Network related 10
198 CMS ERROR: 198 TP-VPF not supported Network related 10
199 CMS ERROR: 199 TP-VP not supported Network related 10
208 CMS ERROR: 208 D0 SIM SMS Storage full Network related 10
209 CMS ERROR: 209 No SMS Storage capability in SIM Network related 10
210 CMS ERROR: 210 Error in MS Network related 10
211 CMS ERROR: 211 Memory capacity exceeded Network related 10
212 CMS ERROR: 212 Sim application toolkit busy Network related 10
213 CMS ERROR: 213 SIM data download error Network related 10
255 CMS ERROR: 255 Unspecified error cause Network related 10
256 CME ERROR: 256 Operation temporarily not allowed Equipment related 10
257 CME ERROR: 257 Call barred Equipment related 10
258 CME ERROR: 258 Phone is busy Equipment related 10
259 CME ERROR: 259 User abort Equipment related 10
260 CME ERROR: 260 Invalid dial string Equipment related 10
261 CME ERROR: 261 SS not executed Equipment related 10
262 CME ERROR: 262 SIM Blocked Equipment related 10
263 CME ERROR: 263 Invalid block Equipment related 10
300 CMS ERROR: 300 ME Failure Network related 10
301 CMS ERROR: 301 SMS service of ME reserved Network related 10
302 CMS ERROR: 302 Operation not allowed Network related 10
303 CMS ERROR: 303 Operation not supported Network related 10
304 CMS ERROR: 304 Invalid PDU mode parameter Network related 10
305 CMS ERROR: 305 Invalid Text mode parameter Network related 10
310 CMS ERROR: 310 SIM not inserted Network related 10
311 CMS ERROR: 311 SIM PIN required Network related 10
312 CMS ERROR: 312 PH-SIM PIN required Network related 10
313 CMS ERROR: 313 SIM failure Network related 10
314 CMS ERROR: 314 SIM busy Network related 10
315 CMS ERROR: 315 SIM wrong Network related 10
316 CMS ERROR: 316 SIM PUK required Network related 10
317 CMS ERROR: 317 SIM PIN2 required Network related 10
318 CMS ERROR: 318 SIM PUK2 required Network related 10
320 CMS ERROR: 320 Memory failure Network related 10
321 CMS ERROR: 321 Invalid memory index Network related 10
322 CMS ERROR: 322 Memory full Network related 10
330 CMS ERROR: 330 SMSC address unknown Network related 10
331 CMS ERROR: 331 No network service Network related 10
332 CMS ERROR: 332 Network timeout Network related 10
340 CMS ERROR: 340 No +CNMA expected Network related 10
500 CMS ERROR: 500 Unknown error Network related 10
512 CMS ERROR: 512 User abort Network related 10
513 CMS ERROR: 513 Unable to store Network related 10
514 CMS ERROR: 514 Invalid Status Network related 10
515 CMS ERROR: 515 Device busy or Invalid Character in string Network related 10
516 CMS ERROR: 516 Invalid length Network related 10
517 CMS ERROR: 517 Invalid character in PDU Network related 10
518 CMS ERROR: 518 Invalid parameter Network related 10
519 CMS ERROR: 519 Invalid length or character Network related 10
520 CMS ERROR: 520 Invalid character in text Network related 10
521 CMS ERROR: 521 Timer expired Network related 10
522 CMS ERROR: 522 Operation temporary not allowed Network related 10
532 CMS ERROR: 532 SIM not ready Network related 10
534 CMS ERROR: 534 Cell Broadcast error unknown Network related 10
535 CMS ERROR: 535 Protocol stack busy Network related 10
538 CMS ERROR: 538 Invalid parameter Network related 10
772 CME ERROR: 772 SIM powered down Equipment related 10