Commit Graph

1271 Commits

Author SHA1 Message Date
Marcel Holtmann 7deca83e99 Show list of technologies in a simpler format 2009-11-18 11:52:39 +01:00
Denis Kenzior 9b4e898702 Support Settings property of PrimaryContext 2009-11-17 18:55:32 -06:00
Denis Kenzior 62e22e383c Update the MBM modem driver to the new API 2009-11-17 18:55:07 -06:00
Denis Kenzior 38ae7bd9aa Update the AT modem driver to the new API 2009-11-17 18:54:46 -06:00
Denis Kenzior 91dfc2ddb9 Support returning settings from context activation 2009-11-17 18:54:21 -06:00
Martin Xu 26413141be Add ofono_gprs_context_get_modem 2009-11-17 15:56:31 -06:00
Denis Kenzior 6afea47158 Fix: Use Application port instead of Control
It seems Control port does not send CGREG unsolicited notifications
2009-11-17 11:38:23 -06:00
Denis Kenzior 1c3d41fafc Fix: Don't drop dialing calls when call=0 signaled 2009-11-16 11:47:42 -06:00
Denis Kenzior 77b3048325 Fix: Don't double-swap calls when 3-way dialing 2009-11-16 11:23:48 -06:00
Denis Kenzior 534d7f89d2 Fix: Update the status to held properly 2009-11-16 11:19:23 -06:00
Denis Kenzior 957fc90d37 Refactor: Move repeated code to a function 2009-11-16 11:15:31 -06:00
Zhenhua Zhang 5e1067b8a2 Fix: Handle callsetup=0 when no waiting or dialing call
When call=1 and callsetup=0, if no waiting or dialing call, the call
is active and no need to notify status change.
2009-11-16 11:09:21 -06:00
Denis Kenzior f6d1397753 Fix: Typo 2009-11-16 11:06:12 -06:00
Denis Kenzior bfc9eb302f Fix: Ignore repeated CCWAs in atmodem as well 2009-11-16 10:17:12 -06:00
Zhenhua Zhang 2cbb307013 Fix: Ignore repeated CCWA notify if have
Some phone like iPhone repeats CCWA notify. So we need to ignore
it when we already have waiting call.
2009-11-16 10:17:05 -06:00
Denis Kenzior ea29ea9bd5 Fix: Set current element properly
When removing an element from the list, the current iterator was not
being updated properly.  Most likely leading to double free.
2009-11-16 10:09:48 -06:00
Denis Kenzior 83ee938312 Style: Spacing 2009-11-16 10:02:52 -06:00
Martin Xu 0eb3d1cb98 add Settings property description to dataconnectionmanger-api.txt 2009-11-16 09:58:35 -06:00
Marcel Holtmann 9cbd6ad33f Release 0.10 2009-11-14 10:23:14 +01:00
Denis Kenzior d5ae0e557f Add three-way calling support to HFP voice driver 2009-11-13 22:47:10 -06:00
Denis Kenzior 6b223870bd Fix: Make sure we don't dial with an incoming call 2009-11-13 16:04:45 -06:00
Denis Kenzior 27cb260d07 Refactor: Simplify code and add have_incoming 2009-11-13 16:03:33 -06:00
Denis Kenzior 1a8dd438b2 Make sure the atmodem handles ATD properly
The driver must set any existing active calls to held
2009-11-13 15:34:41 -06:00
Denis Kenzior 5e8583f1b7 Update some internal documentation 2009-11-13 15:34:20 -06:00
Denis Kenzior f9580e7b3e Revert: Go back to the old dial behavior
The driver has a better idea of how to handle ATD being invoked when
a waiting/held/active call(s) is/are already present.  Generally most
modems will swap the call automatically preserving the state of the
waiting call.

We do block dialing another call while a dial is still in progress.
2009-11-13 15:29:30 -06:00
Zhenhua Zhang e620a058fb Fix: Fill in the phone number info for outgoing call
There're two cases of outgoing call: dial from HF or dial from
phone. We could receive callsetup=2 indicator in both case. So
adding AT+CLCC query to sync the outgoing call.

In the first case, we only need to sync the phone number.  In
the second case, the phone is dialing from phone and we know
nothing. Create a new call and notify the core.

If phone does not support AT+CLCC and there's no call dialing
from HF, we fake a new call for it.
2009-11-13 11:15:13 -06:00
Denis Kenzior 6c428c9823 Fix: Add support for Option Icon 401 2009-11-13 09:12:47 -06:00
Denis Kenzior 9a29698cdf Fix: Remove yet another duplicate atom 2009-11-13 09:12:35 -06:00
Denis Kenzior df410cfd1e Fix: Remove duplicate SMS atom from HSO plugin 2009-11-13 00:23:19 -06:00
Denis Kenzior 0b4b41c6a9 Style: add new line 2009-11-13 00:05:42 -06:00
Marcel Holtmann 5fe640858a Fix issue with missing masking of AT%CHLD
drivers/calypsomodem/voicecall.c: In function ‘calypso_release_specific’:
drivers/calypsomodem/voicecall.c:162: error: too few arguments for format
2009-11-13 04:33:29 +01:00
Denis Kenzior 72e0d2c578 Fix: On calypso use proprietory %CHLD=7X command 2009-11-12 19:16:32 -06:00
Denis Kenzior 9a703cd378 Use release_all_held to release a single held call 2009-11-12 19:16:32 -06:00
Denis Kenzior e9341c5203 Remove Voicecall.Busy method
According to 22.030, UDUB or CHLD=0 can only be invoked on waiting
calls.  Most AT command based modems do not support using CHLD=0 on an
incoming call.  So we remove the Busy method and invoke set_udub on
a call that is in the waiting state.
2009-11-12 19:16:31 -06:00
Zhenhua Zhang 9b084e9656 Use at_util_parse_clcc in atmodem
Replace parse_clcc by at_util_parse_clcc in atmodem voicecall.
2009-11-12 11:23:05 -06:00
Zhenhua Zhang 20e9ff8551 Add parse_clcc into atutil.c
So that it could be shared by atmodem and hfpmodem.
2009-11-12 11:22:31 -06:00
Zhenhua Zhang 3003ebd066 Fix: Set data to NULL in hfpmodem drivers 2009-11-12 11:21:00 -06:00
Denis Kenzior 7600c4b3ac Fix: Emit Manufacturer, not Serial 2009-11-11 22:09:36 -06:00
Ryan M. Raasch d10f7c2b04 Fix: Capitalize modem options in calypso driver
This patch fixes the calypso driver when setting the g_at_tty
variables.
2009-11-11 16:49:25 -06:00
Zhenhua Zhang c7fd6d13b6 Style: Use 1 instead of 0x1 2009-11-11 16:27:26 -06:00
Zhenhua Zhang 372edf4f21 Add call_compare_by_phone_number utility function
This utility will be used by HFP voicecall driver to compare
two calls. In some hardware, the call index may be shift when
a call transitions from waiting to incoming state (e.g. all other
held and active calls are released)
2009-11-11 16:24:54 -06:00
Denis Kenzior 95aafed445 Fix: Set data to NULL in drivers 2009-11-11 15:59:01 -06:00
Denis Kenzior 5335d2deb1 Fix: Don't leak data in SIM atom driver 2009-11-11 15:58:45 -06:00
Zhenhua Zhang 28c6bbb558 Add call volume support for hfpmodem
The call volume driver listens the speaker volume and microphone
gain from the AG. It also allow to synchronze the speaker and
microphone volume changes with the AG through AT+VGS and AT+VGM.

Volume level synchronization from HFP spec 1.5 Section 4.28.2
is performed on startup.
2009-11-11 15:53:55 -06:00
Zhenhua Zhang 0825070655 Fix: Invoke microphone_volume, not speaker 2009-11-11 15:51:23 -06:00
Denis Kenzior 7b9d72f2fe Add SMS support to PalmPre plugin 2009-11-10 16:29:24 -06:00
Andrzej Zaborowski aad6a76125 Add Palm Pre plugin 2009-11-10 16:29:23 -06:00
Denis Kenzior 27e32f12cd Fix: Rename G1 quirk to QUALCOMM_MSM 2009-11-10 16:29:23 -06:00
Andrzej Zaborowski d6c3a513c6 Work around Palm Pre SIM file reading quirk.
I'm not sure if MSM is not a too generic name but it seems the G1's
Qualcomm MSM suffers from similar problems.
2009-11-10 16:29:23 -06:00
Marcel Holtmann 5097439602 Remove GTHREAD_CFLAGS and GTHREAD_LIBS usage 2009-11-10 20:43:47 +01:00