platform/upstream/ofono.git
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

12 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

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

12 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

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

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

12 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

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

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

12 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

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

12 years agostk: Use phonesim vendor for modem-handled cmds
Denis Kenzior [Thu, 11 Aug 2011 09:14:30 +0000 (04:14 -0500)]
stk: Use phonesim vendor for modem-handled cmds

12 years agostkagent: Use infinite timeouts
Denis Kenzior [Thu, 11 Aug 2011 09:13:28 +0000 (04:13 -0500)]
stkagent: Use infinite timeouts

for DisplayActionInformation and DisplayAction

12 years agodoc: Clarify DisplayActionInformation STK API
Denis Kenzior [Thu, 11 Aug 2011 09:13:01 +0000 (04:13 -0500)]
doc: Clarify DisplayActionInformation STK API

12 years agostk: Fix crashes
Denis Kenzior [Thu, 11 Aug 2011 06:59:57 +0000 (01:59 -0500)]
stk: Fix crashes

12 years agostk: Rewrite generic driver to use 27.007 commands
Denis Kenzior [Thu, 11 Aug 2011 06:59:35 +0000 (01:59 -0500)]
stk: Rewrite generic driver to use 27.007 commands

12 years agosim-poll: Remove unused code
Denis Kenzior [Thu, 11 Aug 2011 06:59:09 +0000 (01:59 -0500)]
sim-poll: Remove unused code

12 years agobuild: Do not install ofono.rules anymore
Marcel Holtmann [Fri, 12 Aug 2011 20:15:03 +0000 (13:15 -0700)]
build: Do not install ofono.rules anymore

12 years agoudev: Add automatic detection for Linktop devices
Marcel Holtmann [Thu, 11 Aug 2011 22:27:33 +0000 (15:27 -0700)]
udev: Add automatic detection for Linktop devices

12 years agoudev: Detect Diagnostic (QCDM) port for Telit devices
Marcel Holtmann [Thu, 11 Aug 2011 17:53:54 +0000 (10:53 -0700)]
udev: Detect Diagnostic (QCDM) port for Telit devices

12 years agoudev: Add automatic detection for Telit modems
Marcel Holtmann [Thu, 11 Aug 2011 17:40:59 +0000 (10:40 -0700)]
udev: Add automatic detection for Telit modems

12 years agoudev: Add support for automatic ISI USB modem detection
Marcel Holtmann [Thu, 11 Aug 2011 17:28:48 +0000 (10:28 -0700)]
udev: Add support for automatic ISI USB modem detection