All of lore.kernel.org
 help / color / mirror / Atom feed
* Polling CLCC error handling on Option modem (GTA04)
@ 2012-03-06 20:47 Radek Polak
  2012-03-05 19:26 ` Denis Kenzior
  2012-03-08 21:54 ` Jean-Christian de Rivaz
  0 siblings, 2 replies; 14+ messages in thread
From: Radek Polak @ 2012-03-06 20:47 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

Hi,
first of all QtMoko [1] now supports ofono as another telephony backend [2]. We 
have also autogenerated qt bindings [3] which can be interesting also for 
other projects.

But now the problem that has already been discussed. If you make call to GTA04 
with ofono running, it starts CLCC polling. After you hangup sometimes 
everything is ok and the call disappears:

fonod[1027]: App: < \r\n+CLCC: 1,1,4,0,0,"+420608828973",145\r\n\r\nOK\r\n
ofonod[1027]: App: > AT+CLCC\r
ofonod[1027]: App: < \r\nOK\r\n
ofonod[1027]: src/voicecall.c:ofono_voicecall_disconnected() Got disconnection 
event for id: 1, reason: 2
ofonod[1027]: App: < \r\n_OSIGQ: 18,0\r\n
ofonod[1027]: src/network.c:ofono_netreg_strength_notify() strength 58
ofonod[1027]: App: > AT+CLCC\r
ofonod[1027]: App: < \r\nOK\r\n

but sometimes the modem returns error:

ofonod[1027]: App: < \r\n+CLCC: 1,1,4,0,0,"+420608828973",145\r\n\r\nOK\r\n
ofonod[1027]: App: > AT+CLCC\r
ofonod[1027]: App: < \r\n+CME ERROR: 100\r\n
ofonod[1027]: We are polling CLCC and received an error
ofonod[1027]: All bets are off for call management

and ofono never reports that the call is removed. The result is that GUI shows 
dialed call forever.

I know that modem should not return error, but it would be nice to have@
least some workaround. E.g. assume remote hangup or missed call.

Or anyone has better ideas?

Regards

Radek


[1] http://qtmoko.org
[2] 
https://github.com/radekp/qtmoko/tree/master/src/server/phone/telephony/phoneserver/ofonoservice
[3] https://github.com/radekp/qtmoko/tree/master/src/libraries/qofono

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <2B3E493D-2A99-47FD-9AB7-C8669C14643A@goldelico.com>]

end of thread, other threads:[~2012-03-08 23:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 20:47 Polling CLCC error handling on Option modem (GTA04) Radek Polak
2012-03-05 19:26 ` Denis Kenzior
2012-03-06 22:37   ` Neil Jerram
2012-03-05 21:59     ` Denis Kenzior
2012-03-07 10:36   ` Radek Polak
2012-03-06 16:13     ` Denis Kenzior
2012-03-07 19:19       ` Radek Polak
2012-03-07 10:48     ` [Gta04-owner] " Matthias Apitz
2012-03-07 19:06       ` Neil Jerram
2012-03-07 19:09       ` Marcel Holtmann
2012-03-08 21:54 ` Jean-Christian de Rivaz
2012-03-08 23:47   ` Radek Polak
     [not found] <2B3E493D-2A99-47FD-9AB7-C8669C14643A@goldelico.com>
2012-03-06 21:30 ` [Gta04-owner] " Radek Polak
2012-03-05 19:46   ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.