GSM Equipment and Network Error Codes
When controlling GSM devices using AT commands, the device can respond with either «OK» or «ERROR». Sometimes you will receive an error and you do not know the cause of this error.
That’s why most advanced GSM devices support extended errors. Instead of just displaying the «ERROR» message, it also shows an error number. The syntax of this extended error is either «+CMS ERROR: xxx» or «+CME ERROR: xxx».
When the error starts with «+CME ERROR», it means that the error is a device specific error code. For instance, you are trying to read a phonebook entry before entering a pincode.
When there is a network error, for instance, when you try to send an SMS message when there is no network coverage, you will receive an error which starts with «+CMS ERROR».
To enable these extended commands, execute the following commands, or add them to your modems init string:
AT+CMEE=1 AT&W
Below you can find a list containing almost every error code supported by GSM devices. We try to keep this list up to date, so please contact us if you find omissions..
CME ERROR’s (GSM Equipment related codes)
Error | Description |
---|---|
CME ERROR: 0 | Phone failure |
CME ERROR: 1 | No connection to phone |
CME ERROR: 2 | Phone adapter link reserved |
CME ERROR: 3 | Operation not allowed |
CME ERROR: 4 | Operation not supported |
CME ERROR: 5 | PH_SIM PIN required |
CME ERROR: 6 | PH_FSIM PIN required |
CME ERROR: 7 | PH_FSIM PUK required |
CME ERROR: 10 | SIM not inserted |
CME ERROR: 11 | SIM PIN required |
CME ERROR: 12 | SIM PUK required |
CME ERROR: 13 | SIM failure |
CME ERROR: 14 | SIM busy |
CME ERROR: 15 | SIM wrong |
CME ERROR: 16 | Incorrect password |
CME ERROR: 17 | SIM PIN2 required |
CME ERROR: 18 | SIM PUK2 required |
CME ERROR: 20 | Memory full |
CME ERROR: 21 | Invalid index |
CME ERROR: 22 | Not found |
CME ERROR: 23 | Memory failure |
CME ERROR: 24 | Text string too long |
CME ERROR: 25 | Invalid characters in text string |
CME ERROR: 26 | Dial string too long |
CME ERROR: 27 | Invalid characters in dial string |
CME ERROR: 30 | No network service |
CME ERROR: 31 | Network timeout |
CME ERROR: 32 | Network not allowed, emergency calls only |
CME ERROR: 40 | Network personalization PIN required |
CME ERROR: 41 | Network personalization PUK required |
CME ERROR: 42 | Network subset personalization PIN required |
CME ERROR: 43 | Network subset personalization PUK required |
CME ERROR: 44 | Service provider personalization PIN required |
CME ERROR: 45 | Service provider personalization PUK required |
CME ERROR: 46 | Corporate personalization PIN required |
CME ERROR: 47 | Corporate personalization PUK required |
CME ERROR: 48 | PH-SIM PUK required |
CME ERROR: 100 | Unknown error |
CME ERROR: 103 | Illegal MS |
CME ERROR: 106 | Illegal ME |
CME ERROR: 107 | GPRS services not allowed |
CME ERROR: 111 | PLMN not allowed |
CME ERROR: 112 | Location area not allowed |
CME ERROR: 113 | Roaming not allowed in this location area |
CME ERROR: 126 | Operation temporary not allowed |
CME ERROR: 132 | Service operation not supported |
CME ERROR: 133 | Requested service option not subscribed |
CME ERROR: 134 | Service option temporary out of order |
CME ERROR: 148 | Unspecified GPRS error |
CME ERROR: 149 | PDP authentication failure |
CME ERROR: 150 | Invalid mobile class |
CME ERROR: 256 | Operation temporarily not allowed |
CME ERROR: 257 | Call barred |
CME ERROR: 258 | Phone is busy |
CME ERROR: 259 | User abort |
CME ERROR: 260 | Invalid dial string |
CME ERROR: 261 | SS not executed |
CME ERROR: 262 | SIM Blocked |
CME ERROR: 263 | Invalid block |
CME ERROR: 772 | SIM powered down |
CMS ERROR’s (GSM Network related codes)
Error | Description |
---|---|
CMS ERROR: 1 | Unassigned number |
CMS ERROR: 8 | Operator determined barring |
CMS ERROR: 10 | Call bared |
CMS ERROR: 21 | Short message transfer rejected |
CMS ERROR: 27 | Destination out of service |
CMS ERROR: 28 | Unindentified subscriber |
CMS ERROR: 29 | Facility rejected |
CMS ERROR: 30 | Unknown subscriber |
CMS ERROR: 38 | Network out of order |
CMS ERROR: 41 | Temporary failure |
CMS ERROR: 42 | Congestion |
CMS ERROR: 47 | Recources unavailable |
CMS ERROR: 50 | Requested facility not subscribed |
CMS ERROR: 69 | Requested facility not implemented |
CMS ERROR: 81 | Invalid short message transfer reference value |
CMS ERROR: 95 | Invalid message unspecified |
CMS ERROR: 96 | Invalid mandatory information |
CMS ERROR: 97 | Message type non existent or not implemented |
CMS ERROR: 98 | Message not compatible with short message protocol |
CMS ERROR: 99 | Information element non-existent or not implemente |
CMS ERROR: 111 | Protocol error, unspecified |
CMS ERROR: 127 | Internetworking , unspecified |
CMS ERROR: 128 | Telematic internetworking not supported |
CMS ERROR: 129 | Short message type 0 not supported |
CMS ERROR: 130 | Cannot replace short message |
CMS ERROR: 143 | Unspecified TP-PID error |
CMS ERROR: 144 | Data code scheme not supported |
CMS ERROR: 145 | Message class not supported |
CMS ERROR: 159 | Unspecified TP-DCS error |
CMS ERROR: 160 | Command cannot be actioned |
CMS ERROR: 161 | Command unsupported |
CMS ERROR: 175 | Unspecified TP-Command error |
CMS ERROR: 176 | TPDU not supported |
CMS ERROR: 192 | SC busy |
CMS ERROR: 193 | No SC subscription |
CMS ERROR: 194 | SC System failure |
CMS ERROR: 195 | Invalid SME address |
CMS ERROR: 196 | Destination SME barred |
CMS ERROR: 197 | SM Rejected-Duplicate SM |
CMS ERROR: 198 | TP-VPF not supported |
CMS ERROR: 199 | TP-VP not supported |
CMS ERROR: 208 | D0 SIM SMS Storage full |
CMS ERROR: 209 | No SMS Storage capability in SIM |
CMS ERROR: 210 | Error in MS |
CMS ERROR: 211 | Memory capacity exceeded |
CMS ERROR: 212 | Sim application toolkit busy |
CMS ERROR: 213 | SIM data download error |
CMS ERROR: 255 | Unspecified error cause |
CMS ERROR: 300 | ME Failure |
CMS ERROR: 301 | SMS service of ME reserved |
CMS ERROR: 302 | Operation not allowed |
CMS ERROR: 303 | Operation not supported |
CMS ERROR: 304 | Invalid PDU mode parameter |
CMS ERROR: 305 | Invalid Text mode parameter |
CMS ERROR: 310 | SIM not inserted |
CMS ERROR: 311 | SIM PIN required |
CMS ERROR: 312 | PH-SIM PIN required |
CMS ERROR: 313 | SIM failure |
CMS ERROR: 314 | SIM busy |
CMS ERROR: 315 | SIM wrong |
CMS ERROR: 316 | SIM PUK required |
CMS ERROR: 317 | SIM PIN2 required |
CMS ERROR: 318 | SIM PUK2 required |
CMS ERROR: 320 | Memory failure |
CMS ERROR: 321 | Invalid memory index |
CMS ERROR: 322 | Memory full |
CMS ERROR: 330 | SMSC address unknown |
CMS ERROR: 331 | No network service |
CMS ERROR: 332 | Network timeout |
CMS ERROR: 340 | No +CNMA expected |
CMS ERROR: 500 | Unknown error |
CMS ERROR: 512 | User abort |
CMS ERROR: 513 | Unable to store |
CMS ERROR: 514 | Invalid Status |
CMS ERROR: 515 | Device busy or Invalid Character in string |
CMS ERROR: 516 | Invalid length |
CMS ERROR: 517 | Invalid character in PDU |
CMS ERROR: 518 | Invalid parameter |
CMS ERROR: 519 | Invalid length or character |
CMS ERROR: 520 | Invalid character in text |
CMS ERROR: 521 | Timer expired |
CMS ERROR: 522 | Operation temporary not allowed |
CMS ERROR: 532 | SIM not ready |
CMS ERROR: 534 | Cell Broadcast error unknown |
CMS ERROR: 535 | Protocol stack busy |
CMS ERROR: 538 | Invalid parameter |
Featured Products
- Auron SMS Server
- Auron SMS Component
Bulk SMS Gateway
+CME ERROR: 100 when executing USSD command in perl
I’m using this script to check the credit on my SIM card using USSD command it works fine using a an old Nokia phone connected with USB cable to my PC , the issue is the same script is not working when I use this device :
,
what possibly might be wrong ? here is my Perl script and please note that communication is working fine through the COM7 port:
use strict; use Win32::SerialPort 0.11; my $ob = Win32::SerialPort->start ("config.cfg") || die; $ob->write("AT+CUSD=1,\"*200#\",15"); sleep 5; my $credit = $ob->input; my($directory) = $credit =~ /(.*) DA/; print "$directory\n";
my configuration file config.cfg :
Win32::SerialPort_Configuration_File -- DO NOT EDIT -- \\.\COM7 CFG_1,none eol,10 clear,-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@- RCONST,0 istrip,0 CFG_2,none XOFFCHAR,0 PARITY_EN,0 WCONST,200 intr,3 U_MSG,1 STOP,1 XONLIM,0 erase,8 XONCHAR,0 BINARY,1 RTOT,0 echonl,0 XOFFLIM,0 icrnl,0 inlcr,0 READBUF,2097152 igncr,0 EOFCHAR,0 WRITEBUF,0 RINT,4294967295 ocrnl,0 bsdel, opost,0 echoke,1 PARITY,none HNAME,localhost echoctl,0 CFG_3,none EVTCHAR,0 icanon,0 isig,0 HADDR,0 E_MSG,1 DATA,8 DVTYPE,none echo,0 quit,4 s_eof,26 s_kill,21 ERRCHAR,0 onlcr,1 ALIAS,COM7 HSHAKE,rts DATYPE,raw echok,1 echoe,1 BAUD,9600 WTOT,10
Коды ошибок NHSMS, GSM и коды статуса сообщений
Коды ошибок CME ERROR – GSM Equipment related codes
CME ERROR: 0 Phone failure CME ERROR: 1 No connection to phone CME ERROR: 2 Phone adapter link reserved CME ERROR: 3 Operation not allowed CME ERROR: 4 Operation not supported CME ERROR: 5 PH_SIM PIN required CME ERROR: 6 PH_FSIM PIN required CME ERROR: 7 PH_FSIM PUK required CME ERROR: 10 SIM not inserted CME ERROR: 11 SIM PIN required CME ERROR: 12 SIM PUK required CME ERROR: 13 SIM failure CME ERROR: 14 SIM busy CME ERROR: 15 SIM wrong CME ERROR: 16 Incorrect password CME ERROR: 17 SIM PIN2 required CME ERROR: 18 SIM PUK2 required CME ERROR: 20 Memory full CME ERROR: 21 Invalid index CME ERROR: 22 Not found CME ERROR: 23 Memory failure CME ERROR: 24 Text string too long CME ERROR: 25 Invalid characters in text string CME ERROR: 26 Dial string too long CME ERROR: 27 Invalid characters in dial string CME ERROR: 30 No network service CME ERROR: 31 Network timeout CME ERROR: 32 Network not allowed, emergency calls only CME ERROR: 40 Network personalization PIN required CME ERROR: 41 Network personalization PUK required CME ERROR: 42 Network subset personalization PIN required CME ERROR: 43 Network subset personalization PUK required CME ERROR: 44 Service provider personalization PIN required CME ERROR: 45 Service provider personalization PUK required CME ERROR: 46 Corporate personalization PIN required CME ERROR: 47 Corporate personalization PUK required CME ERROR: 48 PH-SIM PUK required CME ERROR: 100 Unknown error CME ERROR: 103 Illegal MS CME ERROR: 106 Illegal ME CME ERROR: 107 GPRS services not allowed CME ERROR: 111 PLMN not allowed CME ERROR: 112 Location area not allowed CME ERROR: 113 Roaming not allowed in this location area CME ERROR: 126 Operation temporary not allowed CME ERROR: 132 Service operation not supported CME ERROR: 133 Requested service option not subscribed CME ERROR: 134 Service option temporary out of order CME ERROR: 148 Unspecified GPRS error CME ERROR: 149 PDP authentication failure CME ERROR: 150 Invalid mobile class CME ERROR: 256 Operation temporarily not allowed CME ERROR: 257 Call barred CME ERROR: 258 Phone is busy CME ERROR: 259 User abort CME ERROR: 260 Invalid dial string CME ERROR: 261 SS not executed CME ERROR: 262 SIM Blocked CME ERROR: 263 Invalid block CME ERROR: 772 SIM powered down
Коды ошибок CMS Error – GSM Network related codes
CMS ERROR: 1 Unassigned number CMS ERROR: 8 Operator determined barring CMS ERROR: 10 Call bared CMS ERROR: 21 Short message transfer rejected CMS ERROR: 27 Destination out of service CMS ERROR: 28 Unindentified subscriber CMS ERROR: 29 Facility rejected CMS ERROR: 30 Unknown subscriber CMS ERROR: 38 Network out of order CMS ERROR: 41 Temporary failure CMS ERROR: 42 Congestion CMS ERROR: 47 Recources unavailable CMS ERROR: 50 Requested facility not subscribed CMS ERROR: 69 Requested facility not implemented CMS ERROR: 81 Invalid short message transfer reference value CMS ERROR: 95 Invalid message unspecified CMS ERROR: 96 Invalid mandatory information CMS ERROR: 97 Message type non existent or not implemented CMS ERROR: 98 Message not compatible with short message protocol CMS ERROR: 99 Information element non-existent or not implemente CMS ERROR: 111 Protocol error, unspecified CMS ERROR: 127 Internetworking , unspecified CMS ERROR: 128 Telematic internetworking not supported CMS ERROR: 129 Short message type 0 not supported CMS ERROR: 130 Cannot replace short message CMS ERROR: 143 Unspecified TP-PID error CMS ERROR: 144 Data code scheme not supported CMS ERROR: 145 Message class not supported CMS ERROR: 159 Unspecified TP-DCS error CMS ERROR: 160 Command cannot be actioned CMS ERROR: 161 Command unsupported CMS ERROR: 175 Unspecified TP-Command error CMS ERROR: 176 TPDU not supported CMS ERROR: 192 SC busy CMS ERROR: 193 No SC subscription CMS ERROR: 194 SC System failure CMS ERROR: 195 Invalid SME address CMS ERROR: 196 Destination SME barred CMS ERROR: 197 SM Rejected-Duplicate SM CMS ERROR: 198 TP-VPF not supported CMS ERROR: 199 TP-VP not supported CMS ERROR: 208 D0 SIM SMS Storage full CMS ERROR: 209 No SMS Storage capability in SIM CMS ERROR: 210 Error in MS CMS ERROR: 211 Memory capacity exceeded CMS ERROR: 212 Sim application toolkit busy CMS ERROR: 213 SIM data download error CMS ERROR: 255 Unspecified error cause CMS ERROR: 300 ME Failure CMS ERROR: 301 SMS service of ME reserved CMS ERROR: 302 Operation not allowed CMS ERROR: 303 Operation not supported CMS ERROR: 304 Invalid PDU mode parameter CMS ERROR: 305 Invalid Text mode parameter CMS ERROR: 310 SIM not inserted CMS ERROR: 311 SIM PIN required CMS ERROR: 312 PH-SIM PIN required CMS ERROR: 313 SIM failure CMS ERROR: 314 SIM busy CMS ERROR: 315 SIM wrong CMS ERROR: 316 SIM PUK required CMS ERROR: 317 SIM PIN2 required CMS ERROR: 318 SIM PUK2 required CMS ERROR: 320 Memory failure CMS ERROR: 321 Invalid memory index CMS ERROR: 322 Memory full CMS ERROR: 330 SMSC address unknown CMS ERROR: 331 No network service CMS ERROR: 332 Network timeout CMS ERROR: 340 No +CNMA expected CMS ERROR: 500 Unknown error CMS ERROR: 512 User abort CMS ERROR: 513 Unable to store CMS ERROR: 514 Invalid Status CMS ERROR: 515 Device busy or Invalid Character in string CMS ERROR: 516 Invalid length CMS ERROR: 517 Invalid character in PDU CMS ERROR: 518 Invalid parameter CMS ERROR: 519 Invalid length or character CMS ERROR: 520 Invalid character in text CMS ERROR: 521 Timer expired CMS ERROR: 522 Operation temporary not allowed CMS ERROR: 532 SIM not ready CMS ERROR: 534 Cell Broadcast error unknown CMS ERROR: 535 Protocol stack busy CMS ERROR: 538 Invalid parameter
Status of a previously submitted SMS-SUBMIT (статус отправленного сообщения SMS-SUBMIT)
Short message transaction completed 0000000 Short message received by the SME 0000001 Short message forwarded by the SC to the SME but the SC is unable to confirm delivery 0000010 Short message replaced by the SC Reserved values 0000011..0001111 Reserved 0010000..0011111 Values specific to each SC Temporary error, SC still trying to transfer SM 0100000 Congestion 0100001 SME busy 0100010 No response from SME 0100011 Service rejected 0100100 Quality of service not available 0100101 Error in SME 0100110..0101111 Reserved 0110000..0111111 Values specific to each SC Permanent error, SC is not making any more transfer attempts 1000000 Remote procedure error 1000001 Incompatible destination 1000010 Connection rejected by SME 1000011 Not obtainable 1000100 Quality of service not available 1000101 No interworking available 1000110 SM Validity Period Expired 1000111 SM Deleted by originating SME 1001000 SM Deleted by SC Administration 1001001 SM does not exist (The SM may have previously existed in the SC but the SC no longer has knowledge of it or the SM may never have previously existed in the SC) 1001010..1001111 Reserved 1010000..1011111 Values specific to each SC Temporary error, SC is not making any more transfer attempts 1100000 Congestion 1100001 SME busy 1100010 No response from SME 1100011 Service rejected 1100100 Quality of service not available 1100101 Error in SME 1100110..1101001 Reserved 1101010..1101111 Reserved 1110000..1111111 Values specific to each SC
Все в порядке, но.
Этот текст мало кто будет читать и мы можем написать здесь все, что угодно, например.
Вы живете в неведении. Роботы уже вторглись в нашу жизнь и быстро захватывают мир, но мы встали на светлый путь и боремся за выживание человечества. А если серьезно, то.
В целях обеспечения безопасности сайта от кибератак нам необходимо убедиться, что вы человек. Если данная страница выводится вам часто, есть вероятность, что ваш компьютер заражен или вы используете для доступа IP адрес зараженных компьютеров.
Если это ваш частный компьютер и вы пытаетесь зайти на сайт, например, из дома — мы рекомендуем вам проверить ваш компьютер на наличие вирусов.
Если вы пытаетесь зайти на сайт, например, с работы или открытых сетей — вам необходимо обратиться с системному администратору и сообщить, что о возможном заражении компьютеров в вашей сети.
- © 2005-2023, «4PDA». 4PDA® — зарегистрированный товарный знак.