Denis Kenzior
446b9e645d
Fix: modem _disable needs to send the CFUN
...
For Huawei driver
2009-11-18 12:09:42 -06:00
Denis Kenzior
16834cc005
Fix: modem _disable needs to send the CFUN
...
For HSO driver
2009-11-18 12:09:42 -06:00
Denis Kenzior
8c52019c1a
Fix: modem _disable needs to send the CFUN
...
For G1 Driver
2009-11-18 12:09:42 -06:00
Marcel Holtmann
f75930f859
Add test script to deactivate a context
2009-11-18 18:05:35 +01:00
Denis Kenzior
41050ef7b1
Implement CGREG query
...
Some modems do not properly send CGREG notifications when the context is
attached / detached. We manually query the registration state of GPRS
to make sure that if the modem is indeed attached, the state is
reflected properly
2009-11-18 10:34:23 -06:00
Denis Kenzior
d111fc3cee
Refactor: Move functions up to avoid declaration
2009-11-18 10:34:00 -06:00
Denis Kenzior
ec7f95de7e
Fix: Again, uncross the wires
2009-11-18 10:33:09 -06:00
Denis Kenzior
acb4e127c6
Fix: Uncross the wires
2009-11-18 10:00:04 -06:00
Denis Kenzior
911b78594e
Support SonyEricsson MD300
2009-11-18 09:34:08 -06:00
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