AT编程常见问题与错误代码的意义

首先你需要返回具体的错误代码而不是仅仅返回一个ERROR。

执行以下指令即可

如果您想在出错后得到错误代码号,需将GSM Modem作如下设置:
AT+CMEE=1

 

然后对应下面的具体错误代码快速解决问题

0 phone failure
1  no connection to phone
2  phone-adaptor link reserved
3  operation not allowed
4  operation not supported
5  PH-SIM PIN required
6  PH-FSIM PIN required
7  PH-FSIM PUK required
10  SIM not inserted
11  SIM PIN required
12  SIM PUK required
13 SIM failure SIM300 AT Command Set
14 SIM busy
15 SIM wrong
16 incorrect password
17  SIM PIN2 required
18  SIM PUK2 required
20 memory full
21 invalid index
22 not found
23 memory failure
24  text string too long
25  invalid characters in text string
26  dial string too long
27  invalid characters in dial string
30 no network service
31 network timeout
32  network not allowed - emergency calls only
40  network personalization PIN required
41  network personalization PUK required
42  network subset personalization PIN required
43  network subset personalization PUK required
44  service provider personalization PIN required
45  service provider personalization PUK required
46  corporate personalization PIN required
47  corporate personalization PUK required
100 unknown
103 illegal MS
106 illegal ME
107  GPRS services not allowed
111  PLMN not allowed
112  location area not allowed
113  roaming not allowed in this location area
132  service option not supported
133  requested service option not subscribed
134  service option temporarily out of order
148  unspecified GPRS error
149  PDP authentication failure
150  invalid mobile class

300 ME failure
301  SMS ME reserved
302  operation not allowed
303  operation not supported
304  invalid PDU mode
305 invalid text mode
310  SIM not inserted
311  SIM pin necessary
312  PH SIM pin necessary
313 SIM failure
314 SIM busy
315 SIM wrong
316  SIM PUK required
317  SIM PIN2 required
318  SIM PUK2 required
320 memory failure
321  invalid memory index
322 memory full
330  SMSC address unknown
331 no network
332 network timeout
500 unknown
512  SIM not ready
513  unread records on SIM
514 CB error unknown
515 PS busy
517  SM BL not ready
528  Invalid (non-hex) chars in PDU SIM300 AT Command Set
529  Incorrect PDU length
530 Invalid MTI
531  Invalid (non-hex) chars in address
532  Invalid address (no digits read)
533  Incorrect PDU length (UDL)
534  Incorrect SCA length
536  Invalid First Octet (should be 2 or 34)
537 Invalid Command Type
538  SRR bit not set
539  SRR bit set
540  Invalid User Data Header IE
577  GPRS - activation rejected by GGSN
578  PRS - unspecified activation rejection
579  GPRS - bad code or protocol rejection
580  GPRS - can't modify address
581  GPRS - CHAP close
582  GPRS - profile (cid) currently unavailable
583  GPRS - a profile (cid) is currently active SIM300 AT Command Set
584  GPRS - combined services not allowed
585  GPRS - conditional IE error
586  GPRS - context activation rejected
587  GPRS - duplicate TI received
588  GPRS - feature not supported
589  GPRS - service not available
590  GPRS - unknown IE from network
591  GPRS - implicitly detached
592  GPRS - insufficient resources
593  GPRS - invalid activation state (0-1)
594  GPRS - invalid address length
595  GPRS - invalid character in address string
596  GPRS - invalid cid value
597  GPRS - invalid dial string length
598  GPRS - mode value not in range
599  GPRS - invalid MAND information
600  GPRS - SMS service preference out of range
601  GPRS - invalid TI value
602  GPRS - IPCP negotiation timeout
603  GPRS - LCP negotiation timeout
604  GPRS - LLC error
605  GPRS - LLC or SNDCP failure
606  GPRS - lower layer failure
607  GPRS - missing or unknown APN
608  GPRS - mobile not ready
609  GPRS - MS identity not in network
610  GPRS - MSC temporarily not reachable
611  GPRS - message incompatible with state
612  GPRS - message type incompatible with state
613  GPRS - unknown message from network
614  GPRS - NCP close
615  GPRS - network failure
616  PRS - no echo reply
617  GPRS - no free NSAPIs
618  GPRS - processing of multiple cids not supported
619  GPRS - no PDP context activated
620  GPRS - normal termination
621  GPRS - NSAPI already used
622  GPRS - address element out of range
623  GPRS - PAP close
624  GPRS - PDP context w/o TFT already activated
625  GPRS - PDP type not supported
626  GPRS - peer refuses our ACCM
627  GPRS - peer refuses our IP address SIM300 AT Command Set
628  GPRS - peer refuses our MRU
629  GPRS - peer requested CHAP
630  GPRS - profile (cid) not defined
631  GPRS - unspecified protocol error
632  GPRS - QOS not accepted
633  GPRS - QOS validation fail
634  GPRS - reactivation required
635  GPRS - regular deactivation
636  GPRS - semantic error in TFT operation
637  GPRS - semantic errors in packet filter
638  GPRS - semantically incorrect message
639  GPRS - service type not yet available
640  GPRS - syntactical error in TFT operation
641  GPRS - syntactical errors in packet filter
642  PRS - too many RXJs
643  GPRS - unknown PDP address or type
644  GPRS - unknown PDP context
645  GPRS - user authorization failed
646  GPRS - QOS invalid parameter
673  audio manager not ready
674  audio format cannot be configured
705  SIM toolkit menu has not been configured
706  SIM toolkit already in use
707  SIM toolkit not enabled
737  +CSCS type not supported
738  CSCS type not found
741  must include  with 
742 incorrect  format
743   length too long
744 SIM full
745  unable to change PLMN list
746  network operator not recognized
749 invalid command length
750 invalid input string
753  missing required cmd parameter
754 invalid SIM command
755  invalid File Id
756  missing required P1/2/3 parameter
757  invalid P1/2/3 parameter
758  missing required command data
759  invalid characters in command data
765 invalid input value
766  unsupported value or mode
767 operation failed SIM300 AT Command Set
768  multiplexer already active
769  unable to get control of required module
770  SIM invalid - network reject
771  call setup in progress
772 SIM powered down
773  SIM File not present

posted @ 2010-03-04 15:39  phcis  阅读(2518)  评论(0编辑  收藏  举报