转:http://blog.csdn.net/renjwjx/article/details/2290667
GSM device:
AT+CMEE=1
AT&W
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
CMSERROR's (GSM Network related codes)
Error Description
CMSERROR: 1 Unassigned number
CMSERROR: 8 Operator determined barring
CMSERROR: 10 Call bared
CMSERROR: 21 Short message transfer rejected
CMSERROR: 27 Destination out of service
CMSERROR: 28 Unindentified subscriber
CMSERROR: 29 Facility rejected
CMSERROR: 30 Unknown subscriber
CMSERROR: 38 Network out of order
CMSERROR: 41 Temporary failure
CMSERROR: 42 Congestion
CMSERROR: 47 Recources unavailable
CMSERROR: 50 Requested facility not subscribed
CMSERROR: 69 Requested facility not implemented
CMSERROR: 81 Invalid short message transfer reference value
CMSERROR: 95 Invalid message unspecified
CMSERROR: 96 Invalid mandatory information
CMSERROR: 97 Message type non existent or not implemented
CMSERROR: 98 Message not compatible with short message protocol
CMSERROR: 99 Information element non-existent or not implemente
CMSERROR: 111
Protocol error, unspecified
CMSERROR: 127
Internetworking , unspecified
CMSERROR: 128
Telematic internetworking not supported
CMSERROR: 129
Short message type 0 not supported
CMSERROR: 130
Cannot replace short message
CMSERROR: 143
Unspecified TP-PID error
CMSERROR: 144
Data code scheme not supported
CMSERROR: 145
Message class not supported
CMSERROR: 159
Unspecified TP-DCS error
CMSERROR: 160
Command cannot be actioned
CMSERROR: 161
Command unsupported
CMSERROR: 175
Unspecified TP-Command error
CMSERROR: 176
TPDU not supported
CMSERROR: 192
SC busy
CMSERROR: 193
No SC subscription
CMSERROR: 194
SC System failure
CMSERROR: 195
Invalid SME address
CMSERROR: 196
Destination SME barred
CMSERROR: 197
SM Rejected-Duplicate SM
CMSERROR: 198
TP-VPF not supported
CMSERROR: 199
TP-VP not supported
CMSERROR: 208
D0 SIM SMS Storage full
CMSERROR: 209
No SMS Storage capability in SIM
CMSERROR: 210
Errorin MS
CMSERROR: 211
Memory capacity exceeded
CMSERROR: 212
Sim application toolkit busy
CMSERROR: 213
SIM data download error
CMSERROR: 255
Unspecified errorcause
CMSERROR: 300
ME Failure
CMSERROR: 301
SMS service of ME reserved
CMSERROR: 302
Operation not allowed
CMSERROR: 303
Operation not supported
CMSERROR: 304
Invalid PDU mode parameter
CMSERROR: 305
Invalid Text mode parameter
CMSERROR: 310
SIM not inserted
CMSERROR: 311
SIM PIN required
CMSERROR: 312
PH-SIM PIN required
CMSERROR: 313
SIM failure
CMSERROR: 314
SIM busy
CMSERROR: 315
SIM wrong
CMSERROR: 316
SIM PUK required
CMSERROR: 317
SIM PIN2 required
CMSERROR: 318
SIM PUK2 required
CMSERROR: 320
Memory failure
CMSERROR: 321
Invalid memory index
CMSERROR: 322
Memory full
CMSERROR: 330
SMSC address unknown
CMSERROR: 331
No network service
CMSERROR: 332
Network timeout
CMSERROR: 340
No +CNMA expected
CMSERROR: 500
Unknown error
CMSERROR: 512
User abort
CMSERROR: 513
Unable to store
CMSERROR: 514
Invalid Status
CMSERROR: 515
Device busy or Invalid Character in string
CMSERROR: 516
Invalid length
CMSERROR: 517
Invalid character in PDU
CMSERROR: 518
Invalid parameter
CMSERROR: 519
Invalid length or character
CMSERROR: 520
Invalid character in text
CMSERROR: 521
Timer expired
CMSERROR: 522
Operation temporary not allowed
CMSERROR: 532
SIM not ready
CMSERROR: 534
Cell Broadcast errorunknown
CMSERROR: 535
Protocol stack busy
CMSERROR: 538
Invalid parameter