ofono/drivers
Kuba Pawlak 4e9cbcdb89 hfp: Handle extra CCWA event
When a call is waitng, CCWA event is sent and call object
in state WAITING is created. on ReleaseAndAnswer it is
promoted to INCOMING and later to ACTIVE.
iPhones send an extra CCWA event when active call is ended.
This extra event is creating a second call object in state
WAITING. It is not possible to have two WAITING calls, but
previously waiting call was already promoted to INCOMING.
For a brief time we have two calls from the same number,
one INCOMING and one WAITING. Later WAITING one is removed.
As we cannot have a waiting and incoming call at the same
time, ignore CCWA when there is already an INCOMING call.

< \r\n+CIEV: 3,3\r\n
< \r\n+CIEV: 2,1\r\n
< \r\n+CIEV: 3,0\r\n
< \r\n+CCWA: "01234567890",129,1,"Me"\r\n
< \r\n+CIEV: 3,1\r\n
> AT+CLCC\r
< \r\n+CLCC: 1,0,0,0,0,"09876543210",129,"Me"\r\n
< \r\n+CLCC: 2,1,5,0,0,"01234567890",129,"Me"\r\n
< \r\nOK\r\n
< \r\n+CIEV: 2,0\r\n
< \r\n+CCWA: "01234567890",129,1,"Me"\r\n
< \r\n+CIEV: 2,1\r\n
< \r\n+CIEV: 3,0\r\n
> AT+CLCC\r
< \r\n+CLCC: 2,1,0,0,0,"01234567890",129,"Me"\r\n
< \r\nOK\r\n
2015-08-24 16:29:29 -05:00
..
atmodem atmodem: Add Cinterion quirk for signal strength 2015-05-13 09:57:53 -05:00
calypsomodem drivers: Update copyright information 2011-10-10 13:39:48 -07:00
cdmamodem cdma-connman: Turn off modem dormancy timeouts 2011-12-09 05:35:48 -06:00
dunmodem dunmodem: Add stub for gprs. 2011-08-03 22:34:04 +02:00
hfpmodem hfp: Handle extra CCWA event 2015-08-24 16:29:29 -05:00
hsomodem hsomodem: Remove atom if driver fails to init 2012-03-26 16:50:36 -05:00
huaweimodem huaweimodem: Use network interface from modem for GPRS context 2012-05-26 09:48:25 +02:00
iceramodem iceramodem: Read supported bands as part of radio settings 2012-05-25 20:54:21 +02:00
ifxmodem ifx: Fix the case of modem-originated call 2012-11-28 10:31:15 -06:00
isimodem isi: Update UICC driver to the new API 2012-11-22 10:26:34 -06:00
mbmmodem drivers: Update copyright information 2011-10-10 13:39:48 -07:00
nwmodem nwmodem: Remove atom if driver fails to init 2012-03-26 16:50:59 -05:00
qmimodem sim: Fix whitespace violation 2013-01-15 12:16:08 -06:00
speedupmodem speedup: No need to parse error 2012-04-16 13:15:52 -05:00
stemodem drivers: Update copyright information 2011-10-10 13:39:48 -07:00
swmodem swmodem: Add extra informational AT+CGCONTRDP command 2012-06-25 00:02:17 -07:00
telitmodem telitmodem: Fix a few coding style violations 2014-10-22 21:21:49 -05:00
ztemodem ztemodem: Remove atom if driver fails to init 2012-03-26 16:50:11 -05:00