Marcel Holtmann [Mon, 23 Nov 2009 23:26:09 +0000 (00:26 +0100)]
Add support bringing GPRS interfaces up and down as needed
Martin Xu [Sat, 21 Nov 2009 10:56:48 +0000 (18:56 +0800)]
Emit settings signal before active signal
Zhenhua Zhang [Mon, 23 Nov 2009 06:06:53 +0000 (14:06 +0800)]
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.
Zhenhua Zhang [Wed, 18 Nov 2009 06:55:15 +0000 (14:55 +0800)]
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.
Marcel Holtmann [Thu, 19 Nov 2009 03:52:09 +0000 (04:52 +0100)]
Add pretty decoding for DomainNameServers settings
Denis Kenzior [Thu, 19 Nov 2009 00:03:05 +0000 (18:03 -0600)]
Fix: warnings
Denis Kenzior [Wed, 18 Nov 2009 23:58:15 +0000 (17:58 -0600)]
Turn off echo on HSO modems
Denis Kenzior [Wed, 18 Nov 2009 23:58:07 +0000 (17:58 -0600)]
Get rid of a few debugs
Denis Kenzior [Wed, 18 Nov 2009 23:43:54 +0000 (17:43 -0600)]
Make HSO context driver use OWANCALL/OWANDATA
Denis Kenzior [Wed, 18 Nov 2009 23:43:45 +0000 (17:43 -0600)]
Add CALLBACK_WITH_SUCCESS
Denis Kenzior [Wed, 18 Nov 2009 23:13:28 +0000 (17:13 -0600)]
Parse the weird response of _OWANDATA
The strings are unquoted and preceded by space. Don't these people read
specs?
Denis Kenzior [Wed, 18 Nov 2009 23:11:43 +0000 (17:11 -0600)]
Make HSO modem driver use App & Control ports
The Application port gets all unsolicited notifications except for
OWANCALL notifications. In turn only the Control port gets OWANCALL
notifications.
This means that we run GPRS Context control on the Control port and
network registration / sms on the application port
Denis Kenzior [Wed, 18 Nov 2009 23:11:13 +0000 (17:11 -0600)]
Make HSO support detect Application & Control port
Denis Kenzior [Wed, 18 Nov 2009 23:10:25 +0000 (17:10 -0600)]
Fix: Use none_prefix
Do not eat up unsolicited notifications that might arrive as a result of
CFUN=0
Denis Kenzior [Wed, 18 Nov 2009 22:34:32 +0000 (16:34 -0600)]
Fix: Properly send & parse _OWANDATA
Denis Kenzior [Wed, 18 Nov 2009 22:34:06 +0000 (16:34 -0600)]
Fix: Send username and password properly
Denis Kenzior [Wed, 18 Nov 2009 22:28:47 +0000 (16:28 -0600)]
Add disable-modem script
Denis Kenzior [Wed, 18 Nov 2009 21:26:23 +0000 (15:26 -0600)]
Add initial HSO GPRS context driver
Marcel Holtmann [Wed, 18 Nov 2009 21:37:46 +0000 (22:37 +0100)]
Decode the settings information of a context
Marcel Holtmann [Wed, 18 Nov 2009 21:37:25 +0000 (22:37 +0100)]
Add some extra pretty decoding to monitor script
Denis Kenzior [Wed, 18 Nov 2009 19:25:35 +0000 (13:25 -0600)]
Update docs with new Errors
Denis Kenzior [Wed, 18 Nov 2009 19:24:20 +0000 (13:24 -0600)]
Report AttachInProgress Error
If one tries to activate a context and we're currently attaching or
detaching from GPRS, report the AttachInProgress error
Denis Kenzior [Wed, 18 Nov 2009 19:23:13 +0000 (13:23 -0600)]
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
Denis Kenzior [Wed, 18 Nov 2009 19:02:26 +0000 (13:02 -0600)]
Fix: Report status & tech in hfpmodem
Denis Kenzior [Wed, 18 Nov 2009 19:02:02 +0000 (13:02 -0600)]
Fix: Report the current operator as current
Denis Kenzior [Wed, 18 Nov 2009 18:52:29 +0000 (12:52 -0600)]
Update network API
Denis Kenzior [Wed, 18 Nov 2009 18:49:26 +0000 (12:49 -0600)]
Add ProposeScan method
This is the replacement for automatic operator scanning
Denis Kenzior [Wed, 18 Nov 2009 18:28:45 +0000 (12:28 -0600)]
Fix: Use a different function for initial register
Just in case pending variable gets set to something
Denis Kenzior [Wed, 18 Nov 2009 18:21:45 +0000 (12:21 -0600)]
Refactor: Reshuffle bit flags
Denis Kenzior [Wed, 18 Nov 2009 18:21:30 +0000 (12:21 -0600)]
Refactor: Remove period operator scan
Denis Kenzior [Wed, 18 Nov 2009 18:20:39 +0000 (12:20 -0600)]
Refactor: Get rid of PENDING flag in netreg
Denis Kenzior [Wed, 18 Nov 2009 18:08:47 +0000 (12:08 -0600)]
Fix: modem _disable needs to send the CFUN
For PalmPre driver
Denis Kenzior [Wed, 18 Nov 2009 18:08:37 +0000 (12:08 -0600)]
Fix: modem _disable needs to send the CFUN
For Novatel driver
Denis Kenzior [Wed, 18 Nov 2009 18:08:26 +0000 (12:08 -0600)]
Fix: modem _disable needs to send the CFUN
For MBM driver
Denis Kenzior [Wed, 18 Nov 2009 18:08:14 +0000 (12:08 -0600)]
Fix: modem _disable needs to send the CFUN
For Huawei driver
Denis Kenzior [Wed, 18 Nov 2009 18:07:59 +0000 (12:07 -0600)]
Fix: modem _disable needs to send the CFUN
For HSO driver
Denis Kenzior [Wed, 18 Nov 2009 18:07:14 +0000 (12:07 -0600)]
Fix: modem _disable needs to send the CFUN
For G1 Driver
Marcel Holtmann [Wed, 18 Nov 2009 17:05:35 +0000 (18:05 +0100)]
Add test script to deactivate a context
Denis Kenzior [Wed, 18 Nov 2009 16:34:23 +0000 (10:34 -0600)]
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
Denis Kenzior [Wed, 18 Nov 2009 16:34:00 +0000 (10:34 -0600)]
Refactor: Move functions up to avoid declaration
Denis Kenzior [Wed, 18 Nov 2009 16:33:09 +0000 (10:33 -0600)]
Fix: Again, uncross the wires
Denis Kenzior [Wed, 18 Nov 2009 16:00:04 +0000 (10:00 -0600)]
Fix: Uncross the wires
Denis Kenzior [Wed, 18 Nov 2009 15:33:01 +0000 (09:33 -0600)]
Support SonyEricsson MD300
Marcel Holtmann [Wed, 18 Nov 2009 10:52:39 +0000 (11:52 +0100)]
Show list of technologies in a simpler format
Denis Kenzior [Wed, 18 Nov 2009 00:55:32 +0000 (18:55 -0600)]
Support Settings property of PrimaryContext
Denis Kenzior [Wed, 18 Nov 2009 00:55:07 +0000 (18:55 -0600)]
Update the MBM modem driver to the new API
Denis Kenzior [Wed, 18 Nov 2009 00:54:46 +0000 (18:54 -0600)]
Update the AT modem driver to the new API
Denis Kenzior [Wed, 18 Nov 2009 00:54:21 +0000 (18:54 -0600)]
Support returning settings from context activation
Martin Xu [Tue, 17 Nov 2009 21:56:31 +0000 (15:56 -0600)]
Add ofono_gprs_context_get_modem
Denis Kenzior [Tue, 17 Nov 2009 17:37:21 +0000 (11:37 -0600)]
Fix: Use Application port instead of Control
It seems Control port does not send CGREG unsolicited notifications
Denis Kenzior [Mon, 16 Nov 2009 17:45:03 +0000 (11:45 -0600)]
Fix: Don't drop dialing calls when call=0 signaled
Denis Kenzior [Mon, 16 Nov 2009 17:23:48 +0000 (11:23 -0600)]
Fix: Don't double-swap calls when 3-way dialing
Denis Kenzior [Mon, 16 Nov 2009 17:19:23 +0000 (11:19 -0600)]
Fix: Update the status to held properly
Denis Kenzior [Mon, 16 Nov 2009 17:15:31 +0000 (11:15 -0600)]
Refactor: Move repeated code to a function
Zhenhua Zhang [Mon, 16 Nov 2009 14:10:54 +0000 (22:10 +0800)]
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.
Denis Kenzior [Mon, 16 Nov 2009 17:06:12 +0000 (11:06 -0600)]
Fix: Typo
Denis Kenzior [Mon, 16 Nov 2009 16:17:12 +0000 (10:17 -0600)]
Fix: Ignore repeated CCWAs in atmodem as well
Zhenhua Zhang [Mon, 16 Nov 2009 14:12:43 +0000 (22:12 +0800)]
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.
Denis Kenzior [Mon, 16 Nov 2009 16:09:48 +0000 (10:09 -0600)]
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.
Denis Kenzior [Mon, 16 Nov 2009 16:02:52 +0000 (10:02 -0600)]
Style: Spacing
Martin Xu [Mon, 16 Nov 2009 04:05:04 +0000 (12:05 +0800)]
add Settings property description to dataconnectionmanger-api.txt
Marcel Holtmann [Sat, 14 Nov 2009 09:23:14 +0000 (10:23 +0100)]
Release 0.10
Denis Kenzior [Sat, 14 Nov 2009 04:47:10 +0000 (22:47 -0600)]
Add three-way calling support to HFP voice driver
Denis Kenzior [Fri, 13 Nov 2009 22:04:45 +0000 (16:04 -0600)]
Fix: Make sure we don't dial with an incoming call
Denis Kenzior [Fri, 13 Nov 2009 22:03:33 +0000 (16:03 -0600)]
Refactor: Simplify code and add have_incoming
Denis Kenzior [Fri, 13 Nov 2009 21:34:41 +0000 (15:34 -0600)]
Make sure the atmodem handles ATD properly
The driver must set any existing active calls to held
Denis Kenzior [Fri, 13 Nov 2009 21:34:20 +0000 (15:34 -0600)]
Update some internal documentation
Denis Kenzior [Fri, 13 Nov 2009 21:29:30 +0000 (15:29 -0600)]
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.
Zhenhua Zhang [Fri, 13 Nov 2009 11:28:32 +0000 (19:28 +0800)]
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.
Denis Kenzior [Fri, 13 Nov 2009 15:12:47 +0000 (09:12 -0600)]
Fix: Add support for Option Icon 401
Denis Kenzior [Fri, 13 Nov 2009 15:12:35 +0000 (09:12 -0600)]
Fix: Remove yet another duplicate atom
Denis Kenzior [Fri, 13 Nov 2009 06:23:19 +0000 (00:23 -0600)]
Fix: Remove duplicate SMS atom from HSO plugin
Denis Kenzior [Fri, 13 Nov 2009 06:05:42 +0000 (00:05 -0600)]
Style: add new line
Marcel Holtmann [Fri, 13 Nov 2009 03:33:29 +0000 (04:33 +0100)]
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
Denis Kenzior [Fri, 13 Nov 2009 01:16:01 +0000 (19:16 -0600)]
Fix: On calypso use proprietory %CHLD=7X command
Denis Kenzior [Thu, 12 Nov 2009 23:54:49 +0000 (17:54 -0600)]
Use release_all_held to release a single held call
Denis Kenzior [Thu, 12 Nov 2009 23:54:26 +0000 (17:54 -0600)]
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.
Zhenhua Zhang [Thu, 12 Nov 2009 16:32:19 +0000 (00:32 +0800)]
Use at_util_parse_clcc in atmodem
Replace parse_clcc by at_util_parse_clcc in atmodem voicecall.
Zhenhua Zhang [Thu, 12 Nov 2009 16:31:38 +0000 (00:31 +0800)]
Add parse_clcc into atutil.c
So that it could be shared by atmodem and hfpmodem.
Zhenhua Zhang [Thu, 12 Nov 2009 16:31:03 +0000 (00:31 +0800)]
Fix: Set data to NULL in hfpmodem drivers
Denis Kenzior [Thu, 12 Nov 2009 04:09:36 +0000 (22:09 -0600)]
Fix: Emit Manufacturer, not Serial
Ryan M. Raasch [Wed, 11 Nov 2009 22:44:57 +0000 (23:44 +0100)]
Fix: Capitalize modem options in calypso driver
This patch fixes the calypso driver when setting the g_at_tty
variables.
Zhenhua Zhang [Sat, 7 Nov 2009 07:22:59 +0000 (15:22 +0800)]
Style: Use 1 instead of 0x1
Zhenhua Zhang [Sat, 7 Nov 2009 07:21:25 +0000 (15:21 +0800)]
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)
Denis Kenzior [Wed, 11 Nov 2009 21:59:01 +0000 (15:59 -0600)]
Fix: Set data to NULL in drivers
Denis Kenzior [Wed, 11 Nov 2009 21:58:45 +0000 (15:58 -0600)]
Fix: Don't leak data in SIM atom driver
Zhenhua Zhang [Sun, 8 Nov 2009 17:15:59 +0000 (01:15 +0800)]
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.
Zhenhua Zhang [Wed, 11 Nov 2009 13:32:07 +0000 (21:32 +0800)]
Fix: Invoke microphone_volume, not speaker
Denis Kenzior [Tue, 10 Nov 2009 22:28:27 +0000 (16:28 -0600)]
Add SMS support to PalmPre plugin
Andrzej Zaborowski [Tue, 10 Nov 2009 06:30:23 +0000 (07:30 +0100)]
Add Palm Pre plugin
Denis Kenzior [Tue, 10 Nov 2009 22:22:27 +0000 (16:22 -0600)]
Fix: Rename G1 quirk to QUALCOMM_MSM
Andrzej Zaborowski [Tue, 10 Nov 2009 06:30:10 +0000 (07:30 +0100)]
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.
Marcel Holtmann [Tue, 10 Nov 2009 19:43:47 +0000 (20:43 +0100)]
Remove GTHREAD_CFLAGS and GTHREAD_LIBS usage
Andrzej Zaborowski [Tue, 10 Nov 2009 06:31:31 +0000 (07:31 +0100)]
Properly skip over quoted values
Otherwise a left paren in a string can bring an obscure segfault.
Andrzej Zaborowski [Tue, 10 Nov 2009 06:31:20 +0000 (07:31 +0100)]
Update test script to newer api.
Also remove an unused "import".
Andrzej Zaborowski [Tue, 10 Nov 2009 06:31:07 +0000 (07:31 +0100)]
Fix +CGEV: parsing
Andrzej Zaborowski [Tue, 10 Nov 2009 06:30:55 +0000 (07:30 +0100)]
Accept ranges in +CSMS responses.
Andrzej Zaborowski [Tue, 10 Nov 2009 06:29:56 +0000 (07:29 +0100)]
Fix: Don't bail if CREG/CGREG mode=2 is unsupported
Denis Kenzior [Mon, 9 Nov 2009 21:42:36 +0000 (15:42 -0600)]
Update network-api.txt to match implementation
Denis Kenzior [Thu, 5 Nov 2009 23:06:21 +0000 (17:06 -0600)]
Add basic state saving for SMS atom
Message ID and Reference number for concatenated messages should be
persisted.