Denis Kenzior
e1e44e772a
Refactor: Send NotAttached error
...
If one tries to activate the context and we're currently not attached to
GPRS, report a NotAttached error instead of a failure
2009-11-18 13:23:13 -06:00
Denis Kenzior
39b043a40a
Fix: Report status & tech in hfpmodem
2009-11-18 13:02:26 -06:00
Denis Kenzior
cbebad0cc7
Fix: Report the current operator as current
2009-11-18 13:02:02 -06:00
Denis Kenzior
d43244477b
Update network API
2009-11-18 12:52:29 -06:00
Denis Kenzior
06632f8192
Add ProposeScan method
...
This is the replacement for automatic operator scanning
2009-11-18 12:49:26 -06:00
Denis Kenzior
ac144e40a2
Fix: Use a different function for initial register
...
Just in case pending variable gets set to something
2009-11-18 12:28:45 -06:00
Denis Kenzior
d87e0e86f7
Refactor: Reshuffle bit flags
2009-11-18 12:21:45 -06:00
Denis Kenzior
bbfb17366c
Refactor: Remove period operator scan
2009-11-18 12:21:30 -06:00
Denis Kenzior
cd9b7c07b6
Refactor: Get rid of PENDING flag in netreg
2009-11-18 12:20:39 -06:00
Denis Kenzior
9badf5ca73
Fix: modem _disable needs to send the CFUN
...
For PalmPre driver
2009-11-18 12:09:43 -06:00
Denis Kenzior
d7613a0478
Fix: modem _disable needs to send the CFUN
...
For Novatel driver
2009-11-18 12:09:43 -06:00
Denis Kenzior
1ebf59b61b
Fix: modem _disable needs to send the CFUN
...
For MBM driver
2009-11-18 12:09:42 -06:00
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