platform/upstream/ofono.git
12 years agohfp_hf: Fix crash
Denis Kenzior [Wed, 12 Oct 2011 23:15:26 +0000 (18:15 -0500)]
hfp_hf: Fix crash

If BlueZ exits during an outstanding Connect/Disconnect operation,
oFono can crash due to the pending call finishing on an already-removed
modem object.

12 years agombpi: Add filename and line information on error
Oleg Zhurakivskyy [Wed, 5 Oct 2011 13:18:32 +0000 (16:18 +0300)]
mbpi: Add filename and line information on error

12 years agolookup-apn: Fix crash on no APNs found
Oleg Zhurakivskyy [Wed, 5 Oct 2011 13:18:30 +0000 (16:18 +0300)]
lookup-apn: Fix crash on no APNs found

12 years agolookup-apn: Remove unused includes
Oleg Zhurakivskyy [Wed, 5 Oct 2011 13:18:29 +0000 (16:18 +0300)]
lookup-apn: Remove unused includes

12 years agombpi: Improve mbpi_lookup() error reporting
Oleg Zhurakivskyy [Wed, 5 Oct 2011 13:18:28 +0000 (16:18 +0300)]
mbpi: Improve mbpi_lookup() error reporting

12 years agombpi: Fix handling of the usage element
Oleg Zhurakivskyy [Wed, 5 Oct 2011 13:18:27 +0000 (16:18 +0300)]
mbpi: Fix handling of the usage element

12 years agombpi: Reflow gsm_end()
Oleg Zhurakivskyy [Wed, 5 Oct 2011 13:18:26 +0000 (16:18 +0300)]
mbpi: Reflow gsm_end()

12 years agombpi: Split gsm_start() for readability
Oleg Zhurakivskyy [Wed, 5 Oct 2011 13:18:25 +0000 (16:18 +0300)]
mbpi: Split gsm_start() for readability

12 years agovoicecall: Make emulator use release_queue
Denis Kenzior [Wed, 12 Oct 2011 21:14:06 +0000 (16:14 -0500)]
voicecall: Make emulator use release_queue

12 years agovoicecall: Fix HangupAll for HFP
Denis Kenzior [Wed, 12 Oct 2011 21:00:00 +0000 (16:00 -0500)]
voicecall: Fix HangupAll for HFP

HFP does not implement HangupAll natively and most AGs do not support
releasing held calls by id.  Work around this by using hangup active and
then dropping all held calls if no waiting calls exist.  Otherwise
fall back to releasing calls by id.

12 years agoRelease 1.0 1.0
Marcel Holtmann [Tue, 11 Oct 2011 16:52:40 +0000 (09:52 -0700)]
Release 1.0

12 years agodoc: Update copyright information
Marcel Holtmann [Mon, 10 Oct 2011 20:40:36 +0000 (13:40 -0700)]
doc: Update copyright information

12 years agotools: Update copyright information
Marcel Holtmann [Mon, 10 Oct 2011 20:40:30 +0000 (13:40 -0700)]
tools: Update copyright information

12 years agounit: Update copyright information
Marcel Holtmann [Mon, 10 Oct 2011 20:40:17 +0000 (13:40 -0700)]
unit: Update copyright information

12 years agogisi: Update copyright information
Marcel Holtmann [Mon, 10 Oct 2011 20:40:08 +0000 (13:40 -0700)]
gisi: Update copyright information

12 years agoplugins: Update copyright information
Marcel Holtmann [Mon, 10 Oct 2011 20:39:54 +0000 (13:39 -0700)]
plugins: Update copyright information

12 years agodrivers: Update copyright information
Marcel Holtmann [Mon, 10 Oct 2011 20:39:48 +0000 (13:39 -0700)]
drivers: Update copyright information

12 years agocore: Update copyright information
Marcel Holtmann [Mon, 10 Oct 2011 20:39:42 +0000 (13:39 -0700)]
core: Update copyright information

12 years agogatchat: Update copyright information
Marcel Holtmann [Mon, 10 Oct 2011 20:39:25 +0000 (13:39 -0700)]
gatchat: Update copyright information

12 years agoatmodem: Use ZTE specific vendor quirk for SMS support
Marcel Holtmann [Thu, 6 Oct 2011 22:30:14 +0000 (15:30 -0700)]
atmodem: Use ZTE specific vendor quirk for SMS support

12 years agozte: Use own vendor quirk for SMS atom driver
Marcel Holtmann [Thu, 6 Oct 2011 22:29:52 +0000 (15:29 -0700)]
zte: Use own vendor quirk for SMS atom driver

12 years agolog: Rename program executable variable
Marcel Holtmann [Thu, 6 Oct 2011 19:20:43 +0000 (12:20 -0700)]
log: Rename program executable variable

12 years agolog: Add support for backtrace symbole resolving
Marcel Holtmann [Thu, 6 Oct 2011 02:41:40 +0000 (19:41 -0700)]
log: Add support for backtrace symbole resolving

12 years agotest: add support to select modem
Gustavo F. Padovan [Thu, 29 Sep 2011 17:54:26 +0000 (14:54 -0300)]
test: add support to select modem

12 years agotest: add support to select modem
Gustavo F. Padovan [Thu, 29 Sep 2011 17:54:25 +0000 (14:54 -0300)]
test: add support to select modem

12 years agotest: add support to select modem
Gustavo F. Padovan [Thu, 29 Sep 2011 17:54:24 +0000 (14:54 -0300)]
test: add support to select modem

12 years agosap: also accept err = 0 in enable()
Gustavo F. Padovan [Thu, 29 Sep 2011 17:54:23 +0000 (14:54 -0300)]
sap: also accept err = 0 in enable()

12 years agotelit: fix shutdown of bluetooth socket
Gustavo F. Padovan [Thu, 29 Sep 2011 17:54:22 +0000 (14:54 -0300)]
telit: fix shutdown of bluetooth socket

12 years agosap: add sap modem disable() support
Gustavo F. Padovan [Thu, 29 Sep 2011 17:54:21 +0000 (14:54 -0300)]
sap: add sap modem disable() support

12 years agosap: clean up extra blank line
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:21 +0000 (18:24 -0300)]
sap: clean up extra blank line

12 years agosap: add full support to SAP modem
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:20 +0000 (18:24 -0300)]
sap: add full support to SAP modem

Add pre_sim, post_sim, set_online and post_online calls

12 years agotelit: add post_online to SAP Client
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:19 +0000 (18:24 -0300)]
telit: add post_online to SAP Client

12 years agotelit: add set_online to SAP Client
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:18 +0000 (18:24 -0300)]
telit: add set_online to SAP Client

12 years agotelit: add post_sim to SAP Client
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:17 +0000 (18:24 -0300)]
telit: add post_sim to SAP Client

12 years agotelit: add pre_sim support to SAP Client
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:16 +0000 (18:24 -0300)]
telit: add pre_sim support to SAP Client

12 years agotelit: init modem normally once SAP was enabled
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:15 +0000 (18:24 -0300)]
telit: init modem normally once SAP was enabled

12 years agotelit: add suport the disable SAP client
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:13 +0000 (18:24 -0300)]
telit: add suport the disable SAP client

12 years agosap: enable SAP modem, when BlueZ replies
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:12 +0000 (18:24 -0300)]
sap: enable SAP modem, when BlueZ replies

12 years agotelit: Reflow sap_enable logic
Denis Kenzior [Thu, 29 Sep 2011 15:48:23 +0000 (10:48 -0500)]
telit: Reflow sap_enable logic

To cover some conditions where we do not clean up properly

12 years agotelit: Remove unneeded if
Denis Kenzior [Thu, 29 Sep 2011 15:02:33 +0000 (10:02 -0500)]
telit: Remove unneeded if

12 years agotelit: add support the enable the SAP client modem
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:11 +0000 (18:24 -0300)]
telit: add support the enable the SAP client modem

12 years agosap: remove connect callback if enable fails
Gustavo F. Padovan [Wed, 28 Sep 2011 21:24:10 +0000 (18:24 -0300)]
sap: remove connect callback if enable fails

12 years agosap: clean up sap modem destruction
Gustavo F. Padovan [Wed, 28 Sep 2011 17:13:58 +0000 (14:13 -0300)]
sap: clean up sap modem destruction

12 years agosap: remove server_path
Gustavo F. Padovan [Wed, 28 Sep 2011 17:13:57 +0000 (14:13 -0300)]
sap: remove server_path

We use ofono_modem_set_string() instead to store it.
This also remove the need to have sap_data allocation on
bluetooth_sap_probe().

12 years agosap: fix sap modem remove
Gustavo F. Padovan [Tue, 27 Sep 2011 21:04:20 +0000 (18:04 -0300)]
sap: fix sap modem remove

prefix NULL means that the modem needs to be removed

12 years agosap: retrigger bluetooth GetProperties call
Gustavo F. Padovan [Tue, 27 Sep 2011 21:04:15 +0000 (18:04 -0300)]
sap: retrigger bluetooth GetProperties call

When plugging a SAP capable modem, GetProperties need to be called again
to fetch the SAP Server devices from BlueZ.

12 years agotelit: add #RSEN notify
Gustavo F. Padovan [Mon, 26 Sep 2011 17:26:58 +0000 (14:26 -0300)]
telit: add #RSEN notify

RSEN URC tells if the SAP Client was enabled or not

12 years agosap: add support to connect the RFCOMM link
Gustavo F. Padovan [Mon, 26 Sep 2011 17:26:57 +0000 (14:26 -0300)]
sap: add support to connect the RFCOMM link

12 years agotelit: add support to enable SAP client
Gustavo F. Padovan [Mon, 26 Sep 2011 17:26:56 +0000 (14:26 -0300)]
telit: add support to enable SAP client

12 years agosap: Fix minor whitespace issues
Denis Kenzior [Mon, 26 Sep 2011 18:37:06 +0000 (13:37 -0500)]
sap: Fix minor whitespace issues

12 years agosap: Add basic sap plugin
Gustavo F. Padovan [Mon, 26 Sep 2011 17:26:55 +0000 (14:26 -0300)]
sap: Add basic sap plugin

12 years agobluetooth: track DBus call pending
Gustavo F. Padovan [Tue, 13 Sep 2011 18:58:31 +0000 (15:58 -0300)]
bluetooth: track DBus call pending

12 years agocall-volume: Use g_idle_add to register
Denis Kenzior [Fri, 9 Sep 2011 05:23:09 +0000 (00:23 -0500)]
call-volume: Use g_idle_add to register

12 years agohfp_hf: add handsfree atom
Mikel Astiz [Thu, 15 Sep 2011 16:34:35 +0000 (18:34 +0200)]
hfp_hf: add handsfree atom

12 years agohandsfree: Add driver api for number requests
Mikel Astiz [Thu, 15 Sep 2011 16:34:38 +0000 (18:34 +0200)]
handsfree: Add driver api for number requests

e.g. AT+BINP=1

12 years agohandsfree: Implement inband ring settings
Mikel Astiz [Thu, 15 Sep 2011 16:34:36 +0000 (18:34 +0200)]
handsfree: Implement inband ring settings

12 years agoinclude: Add in-band ring to handsfree public api
Mikel Astiz [Thu, 15 Sep 2011 16:34:36 +0000 (18:34 +0200)]
include: Add in-band ring to handsfree public api

12 years agohfpmodem: Add skeleton driver implemenetation
Mikel Astiz [Thu, 15 Sep 2011 16:34:34 +0000 (18:34 +0200)]
hfpmodem: Add skeleton driver implemenetation

12 years agoAUTHORS: Mention Mikel's contributions
Denis Kenzior [Fri, 9 Sep 2011 05:12:12 +0000 (00:12 -0500)]
AUTHORS: Mention Mikel's contributions

12 years agohandsfree: Add skeleton implementation
Mikel Astiz [Thu, 15 Sep 2011 16:34:33 +0000 (18:34 +0200)]
handsfree: Add skeleton implementation

12 years agoinclude: Add skeleton handsfree public atom API
Mikel Astiz [Thu, 15 Sep 2011 16:34:33 +0000 (18:34 +0200)]
include: Add skeleton handsfree public atom API

12 years agodbus: Add Handsfree interface definition
Mikel Astiz [Thu, 15 Sep 2011 16:34:33 +0000 (18:34 +0200)]
dbus: Add Handsfree interface definition

12 years agoTODO: Task added for HFP-specific capabilities
Mikel Astiz [Thu, 15 Sep 2011 16:34:32 +0000 (18:34 +0200)]
TODO: Task added for HFP-specific capabilities

12 years agoplugins: Fix unused var warning
Denis Kenzior [Fri, 9 Sep 2011 05:09:51 +0000 (00:09 -0500)]
plugins: Fix unused var warning

12 years agotools: Make lookup-apn use mbpi.c
Denis Kenzior [Fri, 9 Sep 2011 04:49:49 +0000 (23:49 -0500)]
tools: Make lookup-apn use mbpi.c

12 years agoplugins: Add mobile-broadband-provider-info parser
Denis Kenzior [Fri, 9 Sep 2011 04:49:25 +0000 (23:49 -0500)]
plugins: Add mobile-broadband-provider-info parser

12 years agogprs: Allow NULL context names while provisioning
Denis Kenzior [Fri, 9 Sep 2011 03:19:44 +0000 (22:19 -0500)]
gprs: Allow NULL context names while provisioning

12 years agoinclude: Minor style tweaks
Denis Kenzior [Thu, 8 Sep 2011 08:42:19 +0000 (03:42 -0500)]
include: Minor style tweaks

12 years agoemulator: Minor style tweaks inside bia_cb
Denis Kenzior [Thu, 8 Sep 2011 08:41:07 +0000 (03:41 -0500)]
emulator: Minor style tweaks inside bia_cb

12 years agoTODO: mark HFP AG 1.6 indicator activation as done
Frédéric Danis [Wed, 31 Aug 2011 15:21:33 +0000 (17:21 +0200)]
TODO: mark HFP AG 1.6 indicator activation as done

12 years agoinclude: update HFP features types to version 1.6
Frédéric Danis [Wed, 31 Aug 2011 15:21:31 +0000 (17:21 +0200)]
include: update HFP features types to version 1.6

12 years agoemulator: add AT+BIA support for HFP
Frédéric Danis [Wed, 31 Aug 2011 15:21:30 +0000 (17:21 +0200)]
emulator: add AT+BIA support for HFP

12 years agobuild: Fix generating links in Makefile.am
Pekka Pessi [Tue, 30 Aug 2011 12:20:17 +0000 (15:20 +0300)]
build: Fix generating links in Makefile.am

In case relative dependency is in $(srcdir), $< already includes path to
$(srcdir).

12 years agoTODO: Rework USB DUN task
Denis Kenzior [Wed, 24 Aug 2011 04:52:17 +0000 (23:52 -0500)]
TODO: Rework USB DUN task

12 years agodoc: Reword features.txt
Denis Kenzior [Wed, 24 Aug 2011 04:50:13 +0000 (23:50 -0500)]
doc: Reword features.txt

12 years agodoc: Minor style fixes
Denis Kenzior [Wed, 24 Aug 2011 04:50:02 +0000 (23:50 -0500)]
doc: Minor style fixes

12 years agoTODO: Mark Bluetooth DUN task as done
Guillaume Zajac [Thu, 25 Aug 2011 14:19:51 +0000 (16:19 +0200)]
TODO: Mark Bluetooth DUN task as done

12 years agoTODO: Split DUN task into BT & USB DUN
Guillaume Zajac [Thu, 25 Aug 2011 14:19:50 +0000 (16:19 +0200)]
TODO: Split DUN task into BT & USB DUN

12 years agoisimodem: Add UICC functionality
Aki Niemi [Tue, 23 Aug 2011 23:33:49 +0000 (02:33 +0300)]
isimodem: Add UICC functionality

Based on patches from:
Iiro Kaihlaniemi <iiro.kaihlaniemi@nokia.com>
Jessica Nilsson <jessica.j.nilsson@stericsson.com>

12 years agobuild: Add isimodem UICC utilities to build
Iiro Kaihlaniemi [Tue, 23 Aug 2011 23:19:33 +0000 (02:19 +0300)]
build: Add isimodem UICC utilities to build

12 years agoisimodem: Add UICC utilities
Iiro Kaihlaniemi [Tue, 23 Aug 2011 23:18:56 +0000 (02:18 +0300)]
isimodem: Add UICC utilities

12 years agoisimodem: Allow network registration automatically
Iiro Kaihlaniemi [Fri, 19 Aug 2011 12:30:13 +0000 (15:30 +0300)]
isimodem: Allow network registration automatically

12 years agoisimodem: Add missing codepoints and debugs
Iiro Kaihlaniemi [Fri, 19 Aug 2011 12:30:12 +0000 (15:30 +0300)]
isimodem: Add missing codepoints and debugs

12 years agoTODO: Add cbs umts format task
Denis Kenzior [Mon, 22 Aug 2011 04:16:46 +0000 (23:16 -0500)]
TODO: Add cbs umts format task

12 years agoTODO: Add CPHS SPN and short-SPN tasks
Denis Kenzior [Mon, 22 Aug 2011 04:13:53 +0000 (23:13 -0500)]
TODO: Add CPHS SPN and short-SPN tasks

12 years agohso: Switch modem to use error numbers instead of strings
Marcel Holtmann [Tue, 23 Aug 2011 00:42:36 +0000 (17:42 -0700)]
hso: Switch modem to use error numbers instead of strings

12 years agovoicecall: Relax reqs for hangup of held calls
Denis Kenzior [Fri, 19 Aug 2011 00:28:40 +0000 (19:28 -0500)]
voicecall: Relax reqs for hangup of held calls

If we have a single held call, then it should be possible to hang it up
with 'Hangup' even if active calls exist.  Only if multiple held calls
or a waiting call exists should we disallow the request due to possible
side-effects.

12 years agovoicecall: Move stuff around
Denis Kenzior [Fri, 19 Aug 2011 00:28:20 +0000 (19:28 -0500)]
voicecall: Move stuff around

12 years agogprs: Experimental fix for twitchy Huawei firmware
Denis Kenzior [Tue, 26 Jul 2011 02:42:35 +0000 (21:42 -0500)]
gprs: Experimental fix for twitchy Huawei firmware

12 years agonetwork: Fix crash with an empty mcc/mnc cops list
Denis Kenzior [Thu, 18 Aug 2011 18:46:58 +0000 (13:46 -0500)]
network: Fix crash with an empty mcc/mnc cops list

Some hardware returns an empty mcc/mnc operator during an operator scan
when no operators are found (e.g. on an LTE dongle in a non-LTE area).
This results in oFono mistaking trying to update a non-existent operator
object.

For reference:
ofonod[27532]: Device: < \r\n+NWSTATEIND: 4\r\n\r\n+COPS:
(0,"","","",255),,(0-4),(0-2)\r\n\r
\nOK\r\n
process 27532: arguments to dbus_message_new_signal() were incorrect,
assertion "_dbus_check_
is_valid_path (path)" failed in file dbus-message.c line 1289.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace

12 years agoudev: Fix typo for Huawei diagnostic interfaces
Daniel Wagner [Wed, 17 Aug 2011 01:50:05 +0000 (18:50 -0700)]
udev: Fix typo for Huawei diagnostic interfaces

12 years agoplugin: Use weak reference for external debug statements
Marcel Holtmann [Tue, 16 Aug 2011 16:15:53 +0000 (09:15 -0700)]
plugin: Use weak reference for external debug statements

12 years agoplugin: Use simpler version mismatch error
Marcel Holtmann [Mon, 15 Aug 2011 23:22:03 +0000 (16:22 -0700)]
plugin: Use simpler version mismatch error

12 years agoplugin: Add debug support for external plugins
Marcel Holtmann [Mon, 15 Aug 2011 23:16:36 +0000 (16:16 -0700)]
plugin: Add debug support for external plugins

12 years agolog: Use separate function for enable logging
Marcel Holtmann [Mon, 15 Aug 2011 23:12:26 +0000 (16:12 -0700)]
log: Use separate function for enable logging

12 years agocdma-voicecall: Implement SendTones method
Caiwen Zhang [Fri, 12 Aug 2011 09:20:00 +0000 (17:20 +0800)]
cdma-voicecall: Implement SendTones method

12 years agoinclude: Add send_tones to cdma voicecall driver API
Caiwen Zhang [Fri, 12 Aug 2011 09:20:00 +0000 (17:20 +0800)]
include: Add send_tones to cdma voicecall driver API

12 years agocdma-voicecall: Implement SendFlash method
Caiwen Zhang [Fri, 12 Aug 2011 09:19:46 +0000 (17:19 +0800)]
cdma-voicecall: Implement SendFlash method

12 years agoinclude: Add send_flash to cdma voicecall driver API
Caiwen Zhang [Fri, 12 Aug 2011 09:19:46 +0000 (17:19 +0800)]
include: Add send_flash to cdma voicecall driver API

12 years agocdma-voicecall: Implement Answer method
Caiwen Zhang [Fri, 12 Aug 2011 09:19:09 +0000 (17:19 +0800)]
cdma-voicecall: Implement Answer method