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.
Denis Kenzior [Thu, 5 Nov 2009 22:47:38 +0000 (16:47 -0600)]
Add sample implementation of SMS history
Denis Kenzior [Thu, 5 Nov 2009 22:47:12 +0000 (16:47 -0600)]
Add hooks to call into sms history for SMS atom
Denis Kenzior [Thu, 5 Nov 2009 22:46:43 +0000 (16:46 -0600)]
Add SMS history capability
Denis Kenzior [Thu, 5 Nov 2009 22:44:22 +0000 (16:44 -0600)]
Refactor: Make SendMessage async
This commit does two things. First it makes SendMessage an async
method, which returns only when the SMS message has been successfully
sent or failed.
This also adds a set number of tries that oFono will resubmit the PDU to
the SMSC. If any fragment fails to be submitted, the entire send
message attempt is deemed a failure and an error is returned to the caller.
Denis Kenzior [Thu, 5 Nov 2009 22:42:15 +0000 (16:42 -0600)]
Rename sms assembly path to sms_assembly from sms
Not to interfere with sms settings storage
Denis Kenzior [Thu, 5 Nov 2009 22:00:34 +0000 (16:00 -0600)]
Use localtime_r instead of localtime
Denis Kenzior [Thu, 5 Nov 2009 17:51:54 +0000 (11:51 -0600)]
Fix: Update send-sms to the new API
Denis Kenzior [Thu, 5 Nov 2009 17:00:57 +0000 (11:00 -0600)]
Fix: Handle MBM hardware that fails on EMRDY?
Denis Kenzior [Thu, 5 Nov 2009 16:27:25 +0000 (10:27 -0600)]
Refactor: Move SMS SendMessage to 1 recipient only
Denis Kenzior [Thu, 5 Nov 2009 16:25:59 +0000 (10:25 -0600)]
Fix: Load GPRS settings before finding netreg
GPRS Settings should be loaded before we try to find netreg atom and
potentially try to make the attach/detach decisions.
Denis Kenzior [Wed, 4 Nov 2009 17:43:57 +0000 (11:43 -0600)]
Fix: Handle the case where only PLMN name is given
HFP does not allow the use of register / unregister or scan for operator
functionality. It only allows the name of the operator to be given, not
even an MCC/MNC. Handle this situation inside netreg atom.
Denis Kenzior [Tue, 3 Nov 2009 17:57:43 +0000 (11:57 -0600)]
Fix: Minor style issues
Gustavo F. Padovan [Tue, 3 Nov 2009 17:44:36 +0000 (15:44 -0200)]
Create network registration driver for hfpmodem
This driver handles phone informations about registration status, signal
strength and roaming status listening +CIEV commands. It also gets the
Network Operator name with +COPS commands.
Zhenhua Zhang [Tue, 3 Nov 2009 17:26:08 +0000 (11:26 -0600)]
Fix: The use of cind_val / cind_pos was wrong
Zhenhua Zhang [Tue, 3 Nov 2009 17:22:23 +0000 (11:22 -0600)]
Refactor: Get rid of mpty_call variable
Zhenhua Zhang [Tue, 3 Nov 2009 17:19:39 +0000 (11:19 -0600)]
Fix: Remove some dead code
Denis Kenzior [Mon, 2 Nov 2009 21:59:38 +0000 (15:59 -0600)]
Add ability to restore GPRS contexts from settings
Denis Kenzior [Mon, 2 Nov 2009 20:43:15 +0000 (14:43 -0600)]
Save GPRS context settings
Denis Kenzior [Mon, 2 Nov 2009 20:42:10 +0000 (14:42 -0600)]
Add Basic save/restore code for GPRS setting
Denis Kenzior [Mon, 2 Nov 2009 17:31:29 +0000 (11:31 -0600)]
Limit the number of contexts that we manage
Denis Kenzior [Mon, 2 Nov 2009 17:24:59 +0000 (11:24 -0600)]
Update CreateContext API
Denis Kenzior [Mon, 2 Nov 2009 17:22:35 +0000 (11:22 -0600)]
Add utility to convert strings to context type
Denis Kenzior [Fri, 30 Oct 2009 22:19:32 +0000 (17:19 -0500)]
Fix: Default to type internet
Marcel Holtmann [Sun, 1 Nov 2009 14:49:40 +0000 (23:49 +0900)]
Release 0.9
Marcel Holtmann [Sun, 1 Nov 2009 14:42:18 +0000 (23:42 +0900)]
Use ofono_info() for AT command debugging
Ryan M. Raasch [Fri, 30 Oct 2009 13:18:00 +0000 (14:18 +0100)]
Inserted the GSM syntax option in modem.conf
This is patch to allow the gsm syntax to be specified in the
modem.conf file. It is a 2nd version based on code change requests.
Denis Kenzior [Fri, 30 Oct 2009 21:09:59 +0000 (16:09 -0500)]
Fix: Quiet compiler warnings
Denis Kenzior [Fri, 30 Oct 2009 20:54:32 +0000 (15:54 -0500)]
Add checking for valid APN format
Denis Kenzior [Fri, 30 Oct 2009 20:52:38 +0000 (15:52 -0500)]
Add unit test for valid APN names
Denis Kenzior [Fri, 30 Oct 2009 20:52:29 +0000 (15:52 -0500)]
Add utility to test for valid APN names
Denis Kenzior [Fri, 30 Oct 2009 20:23:27 +0000 (15:23 -0500)]
Add saving / restoring of netreg settings
Denis Kenzior [Fri, 30 Oct 2009 20:22:06 +0000 (15:22 -0500)]
Add utilities for settings management
Denis Kenzior [Fri, 30 Oct 2009 18:20:31 +0000 (13:20 -0500)]
Fix: Remove unused header include
Denis Kenzior [Fri, 30 Oct 2009 17:38:12 +0000 (12:38 -0500)]
Add Mode property to NetworkRegistration
Denis Kenzior [Fri, 30 Oct 2009 17:37:23 +0000 (12:37 -0500)]
Fix: style issues
Denis Kenzior [Fri, 30 Oct 2009 17:02:43 +0000 (12:02 -0500)]
Fix: Refine the logic for CHLD=1 and CHLD=2
Denis Kenzior [Thu, 29 Oct 2009 21:38:25 +0000 (16:38 -0500)]
Fix: Properly update technologies
When current operator is reported, update the technology list if the
tech information is available
Denis Kenzior [Thu, 29 Oct 2009 21:33:29 +0000 (16:33 -0500)]
Compress the operator list before processing
Denis Kenzior [Thu, 29 Oct 2009 21:09:32 +0000 (16:09 -0500)]
Update the network API
Denis Kenzior [Thu, 29 Oct 2009 20:58:32 +0000 (15:58 -0500)]
Add utility to compress plmns that vary by tech
Denis Kenzior [Thu, 29 Oct 2009 20:58:09 +0000 (15:58 -0500)]
Refactor: Get rid of useless netreg parameter
Denis Kenzior [Thu, 29 Oct 2009 20:57:02 +0000 (15:57 -0500)]
Refactor: Use Technologies instead of Technology
Denis Kenzior [Thu, 29 Oct 2009 20:54:23 +0000 (15:54 -0500)]
Add utility to create a list of supported techs
Denis Kenzior [Thu, 29 Oct 2009 20:48:37 +0000 (15:48 -0500)]
Refactor: Operator registration to DBUS
Denis Kenzior [Thu, 29 Oct 2009 20:33:57 +0000 (15:33 -0500)]
Refactor: Internal data structures
This is in preparation to coalescing multiple operators reported by the
driver that vary only by technology into a single operator with multiple
technologies
Denis Kenzior [Thu, 29 Oct 2009 20:29:55 +0000 (15:29 -0500)]
Update the isimodem driver to the new API
Denis Kenzior [Thu, 29 Oct 2009 20:29:41 +0000 (15:29 -0500)]
Update the atmodem driver to the new API
Denis Kenzior [Thu, 29 Oct 2009 20:29:12 +0000 (15:29 -0500)]
Update the netreg driver to use mcc/mnc
Don't use the ofono_network_operator structure anymore