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
-------------------------------------------------------------------

Reply via email to