Re: smsc_at and CNMA+OK

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Marius Huysamen schrieb:
> Function at2_wait_modem_command in smsc_at.c exits prematurely if 
> messages were received, and acknowledged with AT+CNMA, since the modem 
> will respond to the CNMA with an OK.
> 
> This patch keeps a counter for every OK that should be ignored within 
> the function's main loop.
> 
> I have been running Kannel versions 1.4.0 and 1.4.1 for more than a year 
> with this change in place, and I haven't experienced a "random" modem 
> reset since.

Thanks a lot Marius for your patch. As per Hillel (+1) vote commited to cvs:

2008-03-23	Stipe Tolj  <stolj at kannel.org>
     * gw/smsc/smsc_at.c: fix at2_wait_modem_command() to ignore specific OK
       responses for AT+CNMA acknowledges.
       Thanks to Marius Huysamen <mhuysamen at mhg.co.za> for providing patch.
       [Msg-Id: <[email protected]>]

Great work! Keep on going.

Please can you and Hillel check if we have any open bug reports concerning this 
AT+CNMA issue which can be resolved then in the bug tracking database?

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.