I have a modem that sometimes can read an incoming sms and sometimes get an
error like the log below.

Is this a setting problem or a modem problem ?

>From log, while +CMGR get response CMGR: 0,,114 , message read successfully
and sometime get CMGR: "REC UNREAD","+6282114799316",,"11/12/30,09:15:33+28
and get pdu_extract failed.

Log if error .

2011-12-30 09:15:37 [20321] [9] DEBUG: AT2[smpt4]: +CMTI incoming SMS
indication: +CMTI: "SM",1
2011-12-30 09:15:39 [20321] [9] DEBUG: AT2[smpt4]: --> AT+CMGR=1^M
2011-12-30 09:15:39 [20321] [9] DEBUG: AT2[smpt4]: <-- AT+CMGR=1
2011-12-30 09:15:39 [20321] [9] DEBUG: AT2[smpt4]: <-- +CMGR: "REC
UNREAD","+6282114799316",,"11/12/30,09:15:33+28"
2011-12-30 09:15:39 [20321] [9] DEBUG: AT2[smpt4]: <--
Data message
2011-12-30 09:15:39 [20321] [9] ERROR: AT2[smpt4]: got +CMT but pdu_extract
failed
2011-12-30 09:15:39 [20321] [9] DEBUG: AT2[smpt4]: <-- OK
2011-12-30 09:15:39 [20321] [9] DEBUG: AT2[smpt4]: not deleted.
2011-12-30 09:15:39 [20321] [9] ERROR: AT2[smpt4]: CMTI notification
received, but no message found in memory!
2011-12-30 09:15:39 [20321] [9] ERROR: System error 1: Operation not
permitted


Log if success :

2011-12-29 15:22:24 [20321] [9] DEBUG: AT2[smpt4]: <-- +CMTI: "SM",1
2011-12-29 15:22:24 [20321] [9] DEBUG: AT2[smpt4]: +CMTI incoming SMS
indication: +CMTI: "SM",1
2011-12-29 15:22:25 [20321] [9] DEBUG: AT2[smpt4]: --> AT+CMGR=1^M
2011-12-29 15:22:25 [20321] [9] DEBUG: AT2[smpt4]: <-- +CMGR: 0,,114
2011-12-29 15:22:25 [20321] [9] DEBUG: AT2[smpt4]: <--
069126180100000410D0D42273F96C4E8B4C0011112192512202826AD3323BDC0ED3416137390C6A97DDE4303C4C5F87DD20F1DB5D9F83623018A85D76A7E9A07519342FCFC3ED30883A2FB3412B500C060335852072981E76818465393BBCAE83E0F5759D0D82C17430580B66D3C160A0F2FCBD06A1C3F234

2011-12-29 15:22:25 [20321] [9] DEBUG: AT2[smpt4]: received message from
SMSC: +6281100000
2011-12-29 15:22:25 [20321] [9] DEBUG: AT2[smpt4]: Alphanumeric sender
<TELKOMSEL>
2011-12-29 15:22:25 [20321] [9] DEBUG: AT2[smpt4]: User data length read as
(106)
2011-12-29 15:22:25 [20321] [9] DEBUG: AT2[smpt4]: Udh decoding done
len=106 udhi=0 udh

Reply via email to