Re: [Fwd: error after receiving messages (modem is wavecom)]

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
>   2006-06-08 15:22:08 [7311] [6] DEBUG: AT2[wavecom]: <-- +CMT: ,24
> 2006-06-08 15:22:08 [7311] [6] DEBUG: AT2[wavecom]: <-- 0791361908005030040C9136294184798500006060805112920005CF35288C06
> 2006-06-08 15:22:08 [7311] [6] DEBUG: AT2[wavecom]: Numeric sender (international) <+639214489758>
> 2006-06-08 15:22:08 [7311] [6] DEBUG: AT2[wavecom]: User data length read as (5)
> 2006-06-08 15:22:08 [7311] [6] DEBUG: AT2[wavecom]: Udh decoding done len=5 udhi=0 udhlen=0 udh=''
> 2006-06-08 15:22:08 [7311] [6] DEBUG: AT2[wavecom]: --> AT+CNMA^M
> 2006-06-08 15:22:08 [7311] [16] DEBUG: send_msg: sending msg to box: <127.0.0.1>
> 2006-06-08 15:22:08 [7311] [16] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2006-06-08 15:22:08 [7311] [15] DEBUG: boxc_receiver: got ack
> 2006-06-08 15:22:14 [7311] [6] DEBUG: AT2[wavecom]: <-- >
> 2006-06-08 15:22:14 [7311] [6] DEBUG: AT2[wavecom]: <-- +CME ERROR: 515
> 2006-06-08 15:22:14 [7311] [6] ERROR: AT2[wavecom]: Error occurs: +CME ERROR: 515 (error number not known to us. ask google $
> 2006-06-08 15:22:14 [7311] [6] DEBUG: AT2[wavecom]: send command status: -1

since this is a Wavecom modem, the CM[E|S] ERROR 515 means according to Wavecom 
manual: Pleast wait, init or command processing in progress.

Meaning the GSM modem is currently doing some work in the background and doesn't 
  want to get disturbed by any AT command.

Hence, this is a temporary failure and we should sleep for a retry of the AT 
command.

Did anyone of the smsc_at.c commiteres take this into concideration?

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.