[Gta04-owner] Polling CLCC error handling on Option modem (GTA04)

Radek Polak psonek2 at seznam.cz
Wed Mar 7 11:36:24 CET 2012

On Monday 05 March 2012 20:26:29 Denis Kenzior wrote:

> You can always try ignoring CME ERROR 100 and re-try the CLCC poll.
> Maybe the modem is in a transitional period (e.g. call being released)
> and it can't answer the CLCC properly.  In other words, there's a bug
> related to timing of call state changes & CLCC implementation in the
> modem firmware.

Yes, it is definitely timing bug. Attached is patch that continues CLCC polling 
even after error assuming that CLCC will start working again. It works fine for 
me (see log below). It would be nice to get this in ofono git.

ofonod[1188]: App: < \r\n+CLCC: 1,1,4,0,0,"+420608828973",145\r\n\r\nOK\r\n
ofonod[1188]: App: > AT+CLCC\r
ofonod[1188]: App: < \r\n+CME ERROR: 100\r\n
ofonod[1188]: We are polling CLCC and received an error, retrying...
ofonod[1188]: App: > AT+CLCC\r
ofonod[1188]: App: < \r\nOK\r\n
ofonod[1188]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection 
event for id: 1, reason: 2


-------------- next part --------------
A non-text attachment was scrubbed...
Name: continue_clcc_after_error.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120307/3b0570a7/attachment.bin>

More information about the Gta04-owner mailing list