platform/upstream/ofono.git
12 years agoudev: Add matching support for CDC WDM device nodes
Marcel Holtmann [Sat, 26 May 2012 04:46:54 +0000 (06:46 +0200)]
udev: Add matching support for CDC WDM device nodes

12 years agoiceramodem: Read supported bands as part of radio settings
Marcel Holtmann [Fri, 25 May 2012 18:54:21 +0000 (20:54 +0200)]
iceramodem: Read supported bands as part of radio settings

12 years agogatsyntax: Fix typo with GSM_PERMISSIVE_STATE_RESPONSE_STRING
Marcel Holtmann [Fri, 25 May 2012 18:48:22 +0000 (20:48 +0200)]
gatsyntax: Fix typo with GSM_PERMISSIVE_STATE_RESPONSE_STRING

12 years agogatsyntax: Handle lines starting with '"'
Denis Kenzior [Thu, 24 May 2012 14:26:04 +0000 (09:26 -0500)]
gatsyntax: Handle lines starting with '"'

12 years agobuild: Whitespace & keep vim happy
Denis Kenzior [Thu, 24 May 2012 11:48:48 +0000 (06:48 -0500)]
build: Whitespace & keep vim happy

12 years agoatmodem: Fix parsing of Icera network state updates
Marcel Holtmann [Fri, 25 May 2012 12:46:41 +0000 (14:46 +0200)]
atmodem: Fix parsing of Icera network state updates

12 years agoatmodem: Add support for Icera PIN retry counters
Marcel Holtmann [Fri, 25 May 2012 12:32:28 +0000 (14:32 +0200)]
atmodem: Add support for Icera PIN retry counters

12 years agobuild: Add dundee/dundee.service to .gitignore
Marcel Holtmann [Fri, 25 May 2012 11:14:57 +0000 (13:14 +0200)]
build: Add dundee/dundee.service to .gitignore

12 years agoicera: Select USSD driver based on USSD mode setting
Marcel Holtmann [Fri, 25 May 2012 11:09:27 +0000 (13:09 +0200)]
icera: Select USSD driver based on USSD mode setting

12 years agoiceramodem: Handle context deactivation responses
Marcel Holtmann [Fri, 25 May 2012 10:55:08 +0000 (12:55 +0200)]
iceramodem: Handle context deactivation responses

12 years agoudev: Add detection for Nokia 21M-01 modems
Marcel Holtmann [Fri, 25 May 2012 10:35:45 +0000 (12:35 +0200)]
udev: Add detection for Nokia 21M-01 modems

12 years agoudev: Add detection for Samsung GT-Y3300 modems
Marcel Holtmann [Fri, 25 May 2012 10:35:25 +0000 (12:35 +0200)]
udev: Add detection for Samsung GT-Y3300 modems

12 years agoudev: Extend port mapping for Icera modems
Marcel Holtmann [Fri, 25 May 2012 10:30:40 +0000 (12:30 +0200)]
udev: Extend port mapping for Icera modems

12 years agoicera: Request USSD mode and firmware details
Marcel Holtmann [Fri, 25 May 2012 10:29:59 +0000 (12:29 +0200)]
icera: Request USSD mode and firmware details

12 years agoicera: Query initial state of SIM init status
Marcel Holtmann [Fri, 25 May 2012 08:41:10 +0000 (10:41 +0200)]
icera: Query initial state of SIM init status

12 years agoicera: Enable support for radio settings handling
Marcel Holtmann [Fri, 25 May 2012 08:33:14 +0000 (10:33 +0200)]
icera: Enable support for radio settings handling

12 years agoiceramodem: Add support special radio settings handling
Marcel Holtmann [Fri, 25 May 2012 08:32:33 +0000 (10:32 +0200)]
iceramodem: Add support special radio settings handling

12 years agoicera: Use SIM init nofitication instead of polling
Marcel Holtmann [Thu, 24 May 2012 03:41:44 +0000 (05:41 +0200)]
icera: Use SIM init nofitication instead of polling

12 years agoatmodem: Add support for Icera network status updates
Marcel Holtmann [Thu, 24 May 2012 02:59:12 +0000 (04:59 +0200)]
atmodem: Add support for Icera network status updates

12 years agoatmodem: Add support for Icera network time handling
Marcel Holtmann [Thu, 24 May 2012 02:58:35 +0000 (04:58 +0200)]
atmodem: Add support for Icera network time handling

12 years agoicera: Enable SMS sending and receiving support
Marcel Holtmann [Thu, 24 May 2012 01:56:36 +0000 (03:56 +0200)]
icera: Enable SMS sending and receiving support

12 years agoatmodem: Icera devices don't support SMS ACK PDUs either
Marcel Holtmann [Thu, 24 May 2012 01:54:29 +0000 (03:54 +0200)]
atmodem: Icera devices don't support SMS ACK PDUs either

12 years agoicera: Enable USSD support and ensure default character set
Marcel Holtmann [Thu, 24 May 2012 01:44:31 +0000 (03:44 +0200)]
icera: Enable USSD support and ensure default character set

12 years agoatmodem: Fix issue with AT+CREG=? and AT+CGREG=? handling
Marcel Holtmann [Thu, 24 May 2012 01:28:50 +0000 (03:28 +0200)]
atmodem: Fix issue with AT+CREG=? and AT+CGREG=? handling

Some modems might see an interim +CREG: or +CGREG: notification when
querying the supported modes.

  Aux: > AT+CFUN=1\r
  Aux: < \r\nOK\r\n
  Aux: > AT+CREG=?\r
  Aux: < \r\n+CREG: 2\r\n
  Aux: < \r\n+CREG: (0-2)\r\nOK\r\n
  Unable to initialize Network Registration

To make this work, skip to the first line with an actual range value.

12 years agogdbus: Fix incorrectly discarded signals
Mikel Astiz [Tue, 22 May 2012 14:58:18 +0000 (16:58 +0200)]
gdbus: Fix incorrectly discarded signals

Signals with no arguments were incorrectly filtered out due to the NULL
inequality check.

12 years agodundee: Add Bluetooth DUN driver
Daniel Wagner [Wed, 4 Jan 2012 17:12:46 +0000 (18:12 +0100)]
dundee: Add Bluetooth DUN driver

12 years agodundee: Add PPP handling code to device
Daniel Wagner [Wed, 4 Jan 2012 17:08:38 +0000 (18:08 +0100)]
dundee: Add PPP handling code to device

12 years agodundee: Add device D-Bus interface
Daniel Wagner [Tue, 20 Dec 2011 14:15:37 +0000 (15:15 +0100)]
dundee: Add device D-Bus interface

12 years agodundee: Add driver helper functions
Daniel Wagner [Tue, 20 Dec 2011 14:23:19 +0000 (15:23 +0100)]
dundee: Add driver helper functions

12 years agodundee: Add device un/register
Daniel Wagner [Tue, 20 Dec 2011 14:12:51 +0000 (15:12 +0100)]
dundee: Add device un/register

12 years agodundee: Add callback helpers
Daniel Wagner [Tue, 20 Dec 2011 14:09:18 +0000 (15:09 +0100)]
dundee: Add callback helpers

12 years agodundee: Manager append devices
Daniel Wagner [Mon, 19 Dec 2011 08:46:59 +0000 (09:46 +0100)]
dundee: Manager append devices

12 years agodundee: Add skeleton implementation for device
Daniel Wagner [Wed, 4 Jan 2012 17:12:11 +0000 (18:12 +0100)]
dundee: Add skeleton implementation for device

12 years agodundee: Add Manager interface
Daniel Wagner [Wed, 4 Jan 2012 17:11:36 +0000 (18:11 +0100)]
dundee: Add Manager interface

12 years agodundee: Add systemd configuration file
Daniel Wagner [Mon, 2 Apr 2012 15:47:19 +0000 (17:47 +0200)]
dundee: Add systemd configuration file

12 years agodundee: Add D-Bus configuration file
Daniel Wagner [Mon, 19 Dec 2011 08:37:31 +0000 (09:37 +0100)]
dundee: Add D-Bus configuration file

12 years agodundee: Add D-Bus error messages
Daniel Wagner [Mon, 19 Dec 2011 08:36:09 +0000 (09:36 +0100)]
dundee: Add D-Bus error messages

12 years agodundee: Add skeleton implementation
Daniel Wagner [Wed, 4 Jan 2012 17:10:52 +0000 (18:10 +0100)]
dundee: Add skeleton implementation

12 years agodundee: Add test scripts
Daniel Wagner [Mon, 2 Apr 2012 16:16:48 +0000 (18:16 +0200)]
dundee: Add test scripts

12 years agodundee: Add documentation
Daniel Wagner [Mon, 19 Dec 2011 08:25:49 +0000 (09:25 +0100)]
dundee: Add documentation

12 years agobluetooth: Add Serial interface definition
Daniel Wagner [Fri, 9 Dec 2011 14:56:39 +0000 (15:56 +0100)]
bluetooth: Add Serial interface definition

12 years agohfp_hf: Fix up whitespace corruption
Denis Kenzior [Tue, 22 May 2012 02:26:19 +0000 (21:26 -0500)]
hfp_hf: Fix up whitespace corruption

12 years agotest: Add timeout to be compliant with GCF
Guillaume Zajac [Tue, 22 May 2012 12:49:16 +0000 (14:49 +0200)]
test: Add timeout to be compliant with GCF

With some GCF test cases, default python script timeout
is too short to pass the tests.

12 years agoiceramodem: Add special GPRS context driver
Marcel Holtmann [Tue, 22 May 2012 10:05:24 +0000 (12:05 +0200)]
iceramodem: Add special GPRS context driver

12 years agoicera: Add SIM, network registration and GPRS handling
Marcel Holtmann [Tue, 22 May 2012 10:04:13 +0000 (12:04 +0200)]
icera: Add SIM, network registration and GPRS handling

12 years agoatmodem: The Icera modem does not support CIND reporting
Marcel Holtmann [Tue, 22 May 2012 10:03:00 +0000 (12:03 +0200)]
atmodem: The Icera modem does not support CIND reporting

12 years agoatmodem: Add specific quirk for Icera modems
Marcel Holtmann [Tue, 22 May 2012 10:02:30 +0000 (12:02 +0200)]
atmodem: Add specific quirk for Icera modems

12 years agogdbus: do not check signature twice
Lucas De Marchi [Sun, 20 May 2012 05:07:36 +0000 (02:07 -0300)]
gdbus: do not check signature twice

Message signature is already checked in generic_message(), so there's no
need to check again in the callback.

12 years agogdbus: add Method.NoReply annotation in introspection
Lucas De Marchi [Sun, 20 May 2012 05:07:35 +0000 (02:07 -0300)]
gdbus: add Method.NoReply annotation in introspection

12 years agogdbus: add Deprecated annotation in introspection
Lucas De Marchi [Sun, 20 May 2012 05:07:34 +0000 (02:07 -0300)]
gdbus: add Deprecated annotation in introspection

12 years agogdbus: remove signature and reply from tables
Lucas De Marchi [Sun, 20 May 2012 05:07:33 +0000 (02:07 -0300)]
gdbus: remove signature and reply from tables

12 years agoDo not set signature and reply in GDBus tables
Lucas De Marchi [Sun, 20 May 2012 05:07:32 +0000 (02:07 -0300)]
Do not set signature and reply in GDBus tables

Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.

12 years agogdbus: loop over args to check message signature
Lucas De Marchi [Sun, 20 May 2012 05:07:31 +0000 (02:07 -0300)]
gdbus: loop over args to check message signature

12 years agogdbus: use GDBusArgInfo to generate introspection
Lucas De Marchi [Sun, 20 May 2012 05:07:30 +0000 (02:07 -0300)]
gdbus: use GDBusArgInfo to generate introspection

By using GDBusArgInfo in methods and signals, the introspection
generation is much simpler and we can add each argument name.

12 years agoConvert GDBus methods to use macro helpers
Lucas De Marchi [Sun, 20 May 2012 05:07:29 +0000 (02:07 -0300)]
Convert GDBus methods to use macro helpers

With these macro helpers we can separate in/out arguments and use their
own vector.

12 years agogdbus: add and use helpers for table declarations
Lucas De Marchi [Sun, 20 May 2012 05:07:28 +0000 (02:07 -0300)]
gdbus: add and use helpers for table declarations

12 years agogdbus: add argument info to methods and signals
Lucas De Marchi [Sun, 20 May 2012 05:07:27 +0000 (02:07 -0300)]
gdbus: add argument info to methods and signals

12 years agoConstify GDBus signal tables
Henrique Dante de Almeida [Sun, 20 May 2012 05:07:26 +0000 (02:07 -0300)]
Constify GDBus signal tables

Constify signal tables with the following command:

    find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;

12 years agoConstify GDBus method tables
Henrique Dante de Almeida [Sun, 20 May 2012 05:07:25 +0000 (02:07 -0300)]
Constify GDBus method tables

Constify method tables with the following command:

find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;

12 years agogdbus: Constify introspection method table
Marcel Holtmann [Fri, 18 May 2012 02:56:27 +0000 (19:56 -0700)]
gdbus: Constify introspection method table

12 years agogdbus: do not call memset for terminating NUL
Lucas De Marchi [Thu, 17 May 2012 18:19:59 +0000 (15:19 -0300)]
gdbus: do not call memset for terminating NUL

12 years agogdbus: return if method signature is malformed
Lucas De Marchi [Thu, 17 May 2012 18:19:58 +0000 (15:19 -0300)]
gdbus: return if method signature is malformed

12 years agobuild: BlueZ version 4.99 is required.
Marko Saukko [Mon, 14 May 2012 19:52:57 +0000 (22:52 +0300)]
build: BlueZ version 4.99 is required.

BlueZ 4.99 introduced key_size to bt_security struct that is used in
oFono, thus the requirement needs to be higher.

12 years agomailmap: Fix up Michael's name
Marcel Holtmann [Tue, 1 May 2012 10:40:09 +0000 (12:40 +0200)]
mailmap: Fix up Michael's name

12 years agomailmap: Fix up Syam's email address
Marcel Holtmann [Mon, 30 Apr 2012 23:17:30 +0000 (01:17 +0200)]
mailmap: Fix up Syam's email address

12 years agocall-forwarding: Remove unneeded variable
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:29 +0000 (15:17 +0300)]
call-forwarding: Remove unneeded variable

12 years agocall-forwarding: Streamline set_query_cf_callback()
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:28 +0000 (15:17 +0300)]
call-forwarding: Streamline set_query_cf_callback()

12 years agocall-forwarding: Refactor cf_find_unconditional()
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:27 +0000 (15:17 +0300)]
call-forwarding: Refactor cf_find_unconditional()

12 years agocall-forwarding: Streamline cf_find_timeout() logic
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:26 +0000 (15:17 +0300)]
call-forwarding: Streamline cf_find_timeout() logic

12 years agocall-forwarding: Get rid of extra variable
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:24 +0000 (15:17 +0300)]
call-forwarding: Get rid of extra variable

12 years agocall-forwarding: Make cf_cond_find more readable
Denis Kenzior [Mon, 23 Apr 2012 20:31:29 +0000 (15:31 -0500)]
call-forwarding: Make cf_cond_find more readable

12 years agocall-forwarding: Refactor cf_condition_find_with_cls()
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:23 +0000 (15:17 +0300)]
call-forwarding: Refactor cf_condition_find_with_cls()

12 years agocall-forwarding: Refactor cf_condition_compare()
Oleg Zhurakivskyy [Tue, 10 Apr 2012 12:17:22 +0000 (15:17 +0300)]
call-forwarding: Refactor cf_condition_compare()

12 years agotest: Add test script for ReleaseAndAnswer
Denis Kenzior [Mon, 23 Apr 2012 20:18:08 +0000 (15:18 -0500)]
test: Add test script for ReleaseAndAnswer

12 years agoRelease 1.6 1.6
Marcel Holtmann [Fri, 20 Apr 2012 19:12:48 +0000 (21:12 +0200)]
Release 1.6

12 years agodoc: Clarify CallRemoved behavior
Denis Kenzior [Thu, 19 Apr 2012 13:58:20 +0000 (08:58 -0500)]
doc: Clarify CallRemoved behavior

12 years agodoc: Clarify Interfaces property
Denis Kenzior [Thu, 19 Apr 2012 13:50:26 +0000 (08:50 -0500)]
doc: Clarify Interfaces property

12 years agohfp_hf: Fix modifying hash table while iterating
Mikel Astiz [Thu, 19 Apr 2012 06:58:58 +0000 (08:58 +0200)]
hfp_hf: Fix modifying hash table while iterating

Calling ofono_remove_modem() while iterating the hash table is not safe
given that it can modify the table in hfp_remove().

A simple way to reproduce the problem is to pair some Bluetooth phones
and remove the Bluetooth adapter, triggering a GLib-CRITICAL assertion.

This patch just removes the update of the hash table inside
hfp_remove(). This can be safe as long as all calls to
ofono_modem_remove() are accompanied by a hash table update. The only
example of this kind right now is hfp_agent_release().

12 years agoatmodem: Poll SIM state after having entered PIN
Guillaume Zajac [Wed, 18 Apr 2012 12:39:48 +0000 (14:39 +0200)]
atmodem: Poll SIM state after having entered PIN

We encountered the problem of CME ERROR 14: SIM busy on ZTE modems.
ZTE modems don't use SIM notification to check SIM state.
We poll SIM ready state before confirming PIN is entered.

12 years agozte: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
zte: Update to new sim_state_query API

12 years agospeedup: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
speedup: Update to new sim_state_query API

12 years agosamsung: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
samsung: Update to new sim_state_query API

12 years agombm: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
mbm: Update to new sim_state_query API

12 years agoalcatel: Update to new sim_state_query API
Guillaume Zajac [Wed, 18 Apr 2012 12:16:09 +0000 (14:16 +0200)]
alcatel: Update to new sim_state_query API

12 years agoatutil: Add destroy notify to sim_state_query
Guillaume Zajac [Wed, 18 Apr 2012 12:16:08 +0000 (14:16 +0200)]
atutil: Add destroy notify to sim_state_query

12 years agospeedup: enable online/offline support
Bertrand Aygon [Mon, 16 Apr 2012 13:10:08 +0000 (15:10 +0200)]
speedup: enable online/offline support

Add speedup_set_online.
Add a polling mechanism since most speedup dongles failed in couple of
AT commands following the CFUN=1 when they are offline.
Cleanup online polling in case modem is removed during online process.

12 years agospeedup: Use speedup specific driver for ussd
Nicolas Bertrand [Tue, 17 Apr 2012 12:17:31 +0000 (14:17 +0200)]
speedup: Use speedup specific driver for ussd

12 years agospeedup: No need to parse error
Denis Kenzior [Mon, 16 Apr 2012 18:15:15 +0000 (13:15 -0500)]
speedup: No need to parse error

12 years agospeedup: Remove ussd atom in case we fail to init
Denis Kenzior [Mon, 16 Apr 2012 18:12:18 +0000 (13:12 -0500)]
speedup: Remove ussd atom in case we fail to init

12 years agoatmodem: Remove ussd atom in case we fail to init
Denis Kenzior [Mon, 16 Apr 2012 18:11:37 +0000 (13:11 -0500)]
atmodem: Remove ussd atom in case we fail to init

12 years agoMakefile: Add speedup modem target
Nicolas Bertrand [Mon, 16 Apr 2012 15:10:23 +0000 (17:10 +0200)]
Makefile: Add speedup modem target

12 years agospeedup: Add speedup driver to handle USSD
Nicolas Bertrand [Mon, 16 Apr 2012 15:10:21 +0000 (17:10 +0200)]
speedup: Add speedup driver to handle USSD

12 years agogdbus: Remove unneeded NEED_DBUS_WATCH_GET_UNIX_FD check
Marcel Holtmann [Mon, 16 Apr 2012 15:57:08 +0000 (17:57 +0200)]
gdbus: Remove unneeded NEED_DBUS_WATCH_GET_UNIX_FD check

12 years agobuild: Require D-Bus 1.4 or later
Marcel Holtmann [Mon, 16 Apr 2012 15:56:45 +0000 (17:56 +0200)]
build: Require D-Bus 1.4 or later

12 years agomodem: Add missing empty line
Marcel Holtmann [Thu, 12 Apr 2012 10:09:32 +0000 (12:09 +0200)]
modem: Add missing empty line

12 years agoAUTHORS: Mention Michael's contributions
Denis Kenzior [Thu, 12 Apr 2012 04:55:29 +0000 (23:55 -0500)]
AUTHORS: Mention Michael's contributions

12 years agohfpmodem: use full CLCC handling in dialing case
Michael Brudevold [Wed, 11 Apr 2012 19:36:38 +0000 (14:36 -0500)]
hfpmodem: use full CLCC handling in dialing case

A call that moves from the dialing to active state before the +CLCC response
will not properly be added as a voicecall. This is because the dialing callback
was using simplified handling and only looked for calls in the dialing or
alerting state.

AT sequence that exhibited the failure (AG device was an iPhone accessing
visual voicemail):

> +CIND: ("service",(0-1)),("call",(0-1)),("callsetup",(0-3)),
("battchg",(0-5)),("signal",(0-5)),("roam",(0-1)),("callheld",(0-2))
...
> +CIEV: 3,2
< AT+CLCC
> +CIEV: 2,1
> +CIEV: 3,0
> +CLCC: 1,0,0,0,0,"**21153**",129,"Voicemail"

12 years agosms: Add ZTE quirk for CDS notifications
Philippe Nunes [Fri, 6 Apr 2012 09:47:32 +0000 (11:47 +0200)]
sms: Add ZTE quirk for CDS notifications

12 years agoAdd udev rules for SpeedUp U3501
Bertrand Aygon [Fri, 6 Apr 2012 13:30:32 +0000 (15:30 +0200)]
Add udev rules for SpeedUp U3501

12 years agoicera: Add skeleton for Icera modem plugin
Marcel Holtmann [Fri, 6 Apr 2012 14:28:35 +0000 (16:28 +0200)]
icera: Add skeleton for Icera modem plugin