Commit Graph

360 Commits

Author SHA1 Message Date
Marcel Holtmann b939d5e8d7 Activate Speech Service for Option devices 2009-12-10 02:56:16 +01:00
Marcel Holtmann 7546557469 Query current state of Option specific settings 2009-12-10 02:55:53 +01:00
Denis Kenzior 62ba3b30d2 Use at_util_parse_reg in netreg driver 2009-12-09 12:50:52 -06:00
Denis Kenzior fe02d6bc45 Use new at_util_parse_reg in gprs driver 2009-12-09 12:50:22 -06:00
Denis Kenzior 66d1e90814 Add utilities to parse CREG/CGREG
These are nearly identical and can be shared between gprs/netreg
2009-12-09 12:49:43 -06:00
Denis Kenzior 2297bc926d Style: Fix some remaining style issues in atmodem 2009-12-09 02:46:33 -06:00
Denis Kenzior b95025ab01 Style: Fix style issues in hfpmodem 2009-12-09 02:41:16 -06:00
Zhenhua Zhang aeaf9b4a55 Add clip_timeout for notify incoming call
Schedule a clip_timeout in the ring notify. If CLIP comes right
after RING, we cancel the timer. If doesn't, we notify the call
without phone number.
2009-12-09 02:37:07 -06:00
Zhenhua Zhang c7902b83e6 Add poll_clcc if we are in multiparty call
If we are in multiparty call, remote AG won't update indicator
if any call in multiparty call is released by CHLD=1x. So we
have to poll it periodically.
2009-12-09 02:37:02 -06:00
Zhenhua Zhang 7f9e4038a2 Add multiparty call support for hfpmodem
Add CHLD=3, 2x and 4 to create multiparty call, private chat and
call transfer.
2009-12-09 02:36:43 -06:00
Zhenhua Zhang 5dbb2f424a Add hfp_release_specific to release specific call
Use AT+CHLD=1x to release a specific call if AG supports that.
2009-12-09 02:36:28 -06:00
Denis Kenzior e049862b51 Style: Remove empty line 2009-12-08 22:17:51 -06:00
Zhenhua Zhang bd81a13493 Fix update hfp_hangup to release active call
In HFP, AT+CHUP is intended to release the current active call.
2009-12-08 04:29:14 -06:00
Denis Kenzior ee1e9d14bd Fix: Change the order of register & set_powered 2009-12-08 04:26:24 -06:00
Denis Kenzior 07bdfc6bce Harden the CGREG parsing function
Sometimes the CGREG query and CGREG unsolicited notification get
intermixed.  Since they have the same prefix, GAtChat clumps them
together.  Make sure the parser skips the unsolicited notification.
2009-12-08 03:43:54 -06:00
Denis Kenzior 7c7f265ebc Add experimental Option tech parsing
Option seems to implement their own commands for network technology
reporting.  This is a first attempt to implement this for data gathering
purposes.
2009-12-07 17:14:57 -06:00
Denis Kenzior 5b12b25ce6 Add support for HSO signal quality reporting 2009-12-07 17:14:41 -06:00
Denis Kenzior 8b496ec7eb Add Option HSO quirk 2009-12-07 17:14:41 -06:00
Denis Kenzior e50efac7cc Fix: Sometimes Option modems don't return info
When querying CGMI the Option modems sometimes just return OK, with no
manufacturer information given.
2009-12-07 17:14:41 -06:00
Denis Kenzior ddad4d8067 Refactor: Calypso unsolicited signal strength 2009-12-07 17:14:40 -06:00
Denis Kenzior 18e8c906c5 Make sure to list calls in HFP voicecall driver 2009-12-04 16:52:32 -06:00
Zhenhua Zhang 62df556f28 Fix release clcc_source when voicecall is removed
Release the timer to avoid invoking the callback function after
voicecall driver is removed.
2009-12-04 16:52:32 -06:00
Zhenhua Zhang d90c657bd4 Add hfp_send_dtmf to send tones for hfpmodem 2009-12-04 16:52:32 -06:00
Denis Kenzior 0fbaed38aa Refactor: Run CLCC when initializing
When voicecall atom is initialized, we should run a CLCC query to
populate our call list.  This also notifies the core of the new calls
2009-12-04 16:52:31 -06:00
Denis Kenzior 770586bfb7 Update atmodem voicecall driver to new world order 2009-12-04 16:52:31 -06:00
Denis Kenzior 7fa99301a0 Fix: Style 2009-12-04 16:52:31 -06:00
Denis Kenzior a3539b5988 Update HFP voicecall driver to new world order 2009-12-04 16:52:31 -06:00
Denis Kenzior 341c631cd1 Remove: at_util callid APIs are no longer necessary 2009-12-04 16:52:31 -06:00
Denis Kenzior 8e258ff54b Get rid of list_calls in hfp driver 2009-12-04 16:52:31 -06:00
Denis Kenzior 3d3a9eee84 Get rid of list_calls in calypso driver 2009-12-04 16:52:31 -06:00
Denis Kenzior 4d5eb77de5 Get rid of list_calls in isi driver 2009-12-04 16:52:30 -06:00
Denis Kenzior fc030de2ec Fix: Make sure to never overflow DNS variable 2009-12-01 20:38:26 -06:00
Denis Kenzior 8cd0990c66 Fix: Poll ENAP on older mbm hardware 2009-12-01 19:38:44 -06:00
Denis Kenzior 6389552fd5 Style: Fix whitespace 2009-12-01 17:36:48 -06:00
Denis Kenzior 3a189b1973 Fix: Fix parsing in MBM 2009-12-01 17:35:30 -06:00
Denis Kenzior ab9e02bb30 Add experimental support for E2IPCFG 2009-12-01 17:25:20 -06:00
Denis Kenzior 72912d5eed Fix: Don't decode error unnecessarily 2009-12-01 17:24:50 -06:00
Denis Kenzior b96e33b692 Fix: Add username/password support to mbm context 2009-12-01 16:08:12 -06:00
Denis Kenzior 184eb91aa6 Fix: Make sure we don't overflow the buffer 2009-12-01 16:05:20 -06:00
Denis Kenzior 55572b6e69 Style: Use unsigned int instead of unsigned 2009-12-01 12:42:23 -06:00
Denis Kenzior d91c61e621 Fix: None of this seems necessary for the Calypso 2009-11-26 07:44:25 -06:00
Zhenhua Zhang 64015ff4b8 Fix: Move CHLD from voicecall driver to plugin
According HFP v1.5 spec, AT+CHLD=? should be a part of SLC
connection. So we should not do it after SLC connection is
created.
2009-11-24 20:43:41 -06:00
Denis Kenzior 6e0eb3cfd5 Fix: Change order of init commands
This seems to make the calypso return from ATD right away instead of
waiting for connect/busy to be returned.  It should now be possible to
hangup alerting calls.
2009-11-23 19:56:41 -06:00
Denis Kenzior ca025eb905 Fix: Make sure we don't gobble up unsolicited 2009-11-23 19:55:59 -06:00
Zhenhua Zhang f3fe75553a Add mpty field to ofono_call
A field 'mpty' is added to ofono_call so that we can know
whether the call belongs to multiparty call or not. According
to 27.007 7.18, it is a defined return value of AT+CLCC.
2009-11-23 09:04:48 +01:00
Zhenhua Zhang bbc2eecd6f Fix: Poll CLCC to replace the code in call_held=1
When using CHLD=2x in multiparty call, call_held is 1 and we
should not swap all active->held. So we cannot save this pull
in private chat.
2009-11-20 09:37:37 +01:00
Denis Kenzior 9f931378c7 Fix: warnings 2009-11-18 18:07:11 -06:00
Denis Kenzior 19758e3520 Get rid of a few debugs 2009-11-18 18:07:11 -06:00
Denis Kenzior b77d392bc8 Make HSO context driver use OWANCALL/OWANDATA 2009-11-18 18:07:11 -06:00
Denis Kenzior efd34778d1 Add CALLBACK_WITH_SUCCESS 2009-11-18 18:07:11 -06:00