platform/upstream/ofono.git
13 years agoRelease 1.0 1.0
Marcel Holtmann [Tue, 11 Oct 2011 16:52:40 +0000 (09:52 -0700)]
Release 1.0

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

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

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

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

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

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

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

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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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()

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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().

13 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

13 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.

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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

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

13 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

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

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

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

13 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

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

13 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

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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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).

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

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

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

13 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

13 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

13 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>

13 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

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

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

13 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

13 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

13 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

13 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

13 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.

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

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

13 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

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

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

13 years agodoc: Reword features.txt entry
Denis Kenzior [Mon, 15 Aug 2011 05:28:56 +0000 (00:28 -0500)]
doc: Reword features.txt entry

13 years agoTODO: mark HFP AG emulator task as done
Frédéric Danis [Wed, 3 Aug 2011 13:53:41 +0000 (15:53 +0200)]
TODO: mark HFP AG emulator task as done

13 years agoemulator: fix indicator notification
Frédéric Danis [Thu, 4 Aug 2011 14:29:50 +0000 (16:29 +0200)]
emulator: fix indicator notification

13 years agogatserver: Add command finished callbacks
Denis Kenzior [Mon, 15 Aug 2011 05:22:07 +0000 (00:22 -0500)]
gatserver: Add command finished callbacks

13 years agostkagent: Define DBUS_TIMEOUT_INFINITE if undefined
Marcel Holtmann [Mon, 15 Aug 2011 18:15:20 +0000 (11:15 -0700)]
stkagent: Define DBUS_TIMEOUT_INFINITE if undefined

13 years agogatserver: Fix not processing after async error
Denis Kenzior [Mon, 15 Aug 2011 04:17:37 +0000 (23:17 -0500)]
gatserver: Fix not processing after async error

If we send an async error response, all future commands are ignored.

13 years agogatserver: Add sanity check
Denis Kenzior [Mon, 15 Aug 2011 04:11:20 +0000 (23:11 -0500)]
gatserver: Add sanity check

13 years agogatserver: Fix not sending OK final response
Denis Kenzior [Mon, 15 Aug 2011 04:11:03 +0000 (23:11 -0500)]
gatserver: Fix not sending OK final response

13 years agogatserver: Refactor IO code
Denis Kenzior [Mon, 15 Aug 2011 03:54:03 +0000 (22:54 -0500)]
gatserver: Refactor IO code

The current GAtServer implementation had nasty corner cases where
multiple commands were issued on the same command line.  The
server_suspend had no effect and we ended up processing the second
command anyway, resulting in interesting side-effects or crashes.

This commit simply discards the rest of the read input if the server
starts processing a command.  Since we do not yet support command
abortion we also discard data that arrives when command is being
processed.