platform/upstream/ofono.git
12 years agocall-barring: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 12:41:35 +0000 (07:41 -0500)]
call-barring: Conform to coding style item M4

12 years agoaudio-settings: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 12:39:33 +0000 (07:39 -0500)]
audio-settings: Conform to coding style item M4

12 years agogprs: Use ofono_bool_t instead of gboolean
Marcel Holtmann [Mon, 18 Jun 2012 05:23:23 +0000 (22:23 -0700)]
gprs: Use ofono_bool_t instead of gboolean

12 years agosms: Make PDU data arrays const
Marcel Holtmann [Sun, 17 Jun 2012 07:58:35 +0000 (00:58 -0700)]
sms: Make PDU data arrays const

12 years agomodem: Add function for setting new driver type
Marcel Holtmann [Sun, 17 Jun 2012 07:58:08 +0000 (00:58 -0700)]
modem: Add function for setting new driver type

12 years agosim: Add special callback for reading MCC and MNC value
Marcel Holtmann [Sun, 17 Jun 2012 04:30:28 +0000 (21:30 -0700)]
sim: Add special callback for reading MCC and MNC value

12 years agosim: Add special callback for reading MSISDN value
Marcel Holtmann [Sun, 17 Jun 2012 03:52:18 +0000 (20:52 -0700)]
sim: Add special callback for reading MSISDN value

12 years agosim: Add special callback for reading ICCID value
Marcel Holtmann [Sun, 17 Jun 2012 03:22:30 +0000 (20:22 -0700)]
sim: Add special callback for reading ICCID value

12 years agosim: Use ofono_bool_t instead of gboolean
Marcel Holtmann [Sun, 17 Jun 2012 03:08:10 +0000 (20:08 -0700)]
sim: Use ofono_bool_t instead of gboolean

12 years agoRelease 1.7 1.7
Marcel Holtmann [Wed, 13 Jun 2012 06:51:17 +0000 (23:51 -0700)]
Release 1.7

12 years agosim: Quirk Wavecom Q2XXX CPIN behavior
Pablo Neira Ayuso [Thu, 31 May 2012 14:01:25 +0000 (16:01 +0200)]
sim: Quirk Wavecom Q2XXX CPIN behavior

12 years agowavecom: add support for Wavecom Q2403/Q2686 modems
Pablo Neira Ayuso [Thu, 31 May 2012 14:01:25 +0000 (16:01 +0200)]
wavecom: add support for Wavecom Q2403/Q2686 modems

12 years agoudev: add Wavecom support
Pablo Neira Ayuso [Thu, 31 May 2012 14:01:24 +0000 (16:01 +0200)]
udev: add Wavecom support

This adds OFONO_WAVECOM_MODEL that can set in the udev rules file
to indicate the modem model, eg.

ENV{OFONO_WAVECOM_MODEL}="Q2XXX"

12 years agocall-settings: Return specific errors for SS
Philippe Nunes [Wed, 30 May 2012 13:53:10 +0000 (15:53 +0200)]
call-settings: Return specific errors for SS

12 years agocall-forwarding: Return specific errors for SS
Philippe Nunes [Wed, 30 May 2012 13:53:10 +0000 (15:53 +0200)]
call-forwarding: Return specific errors for SS

12 years agocall-barring: Return specific errors for SS
Philippe Nunes [Wed, 30 May 2012 13:53:10 +0000 (15:53 +0200)]
call-barring: Return specific errors for SS

12 years agodbus: Add __ofono_error_from_error utility function
Philippe Nunes [Wed, 30 May 2012 13:53:09 +0000 (15:53 +0200)]
dbus: Add __ofono_error_from_error utility function

12 years agosms: Fix GetMessages argument / return signature
Denis Kenzior [Wed, 30 May 2012 14:00:32 +0000 (09:00 -0500)]
sms: Fix GetMessages argument / return signature

12 years agotest: Add new script for SS GCF test cases
Guillaume Zajac [Wed, 30 May 2012 08:28:16 +0000 (10:28 +0200)]
test: Add new script for SS GCF test cases

This script uses dynamic SS codes in input and
displays answers to the different requests.
It handles all SS: call barring, call forwarding,
call waiting, CLIP, CLIR, ...

12 years agodoc: Extend possible error types
Philippe Nunes [Tue, 29 May 2012 16:38:37 +0000 (18:38 +0200)]
doc: Extend possible error types

SupplementaryServices.Initiate method should return more specific error
types.

12 years agodbus: Add new error types
Philippe Nunes [Tue, 29 May 2012 16:38:33 +0000 (18:38 +0200)]
dbus: Add new error types

12 years agocommon: Fix typos in error strings
Philippe Nunes [Tue, 29 May 2012 16:38:32 +0000 (18:38 +0200)]
common: Fix typos in error strings

12 years agoAUTHORS: Mention Pablo's contributions
Denis Kenzior [Wed, 30 May 2012 05:02:57 +0000 (00:02 -0500)]
AUTHORS: Mention Pablo's contributions

12 years agosms: Handle quirky Wavecom Q2XXX CPMS syntax
Pablo Neira Ayuso [Tue, 29 May 2012 02:14:26 +0000 (04:14 +0200)]
sms: Handle quirky Wavecom Q2XXX CPMS syntax

12 years agosim: Handle quirky CPIN of Wavecom Q2XXX
Pablo Neira Ayuso [Tue, 29 May 2012 02:14:26 +0000 (04:14 +0200)]
sim: Handle quirky CPIN of Wavecom Q2XXX

12 years agodrivers: add quirk for Wavecom Q2403/Q2686 modems
Pablo Neira Ayuso [Tue, 29 May 2012 02:14:26 +0000 (04:14 +0200)]
drivers: add quirk for Wavecom Q2403/Q2686 modems

The existing wavecom driver in tree slightly differs from these
modems. Thus, it doesn't work work with them. We (the osmocom
team) use these Wavecom Q2403/Q2686 modems in our testbed.

12 years agobuild: Fix build issue with QMI utility skeleton
Marcel Holtmann [Tue, 29 May 2012 08:18:10 +0000 (10:18 +0200)]
build: Fix build issue with QMI utility skeleton

12 years agobuild: Remove dependency on libcap-ng
Marcel Holtmann [Tue, 29 May 2012 06:17:01 +0000 (08:17 +0200)]
build: Remove dependency on libcap-ng

12 years agobuild: Add skeleton for QMI utility
Marcel Holtmann [Sun, 27 May 2012 12:52:43 +0000 (14:52 +0200)]
build: Add skeleton for QMI utility

12 years agobuild: Reduce indentation for isimodem and atmodem sources
Marcel Holtmann [Sun, 27 May 2012 12:48:01 +0000 (14:48 +0200)]
build: Reduce indentation for isimodem and atmodem sources

12 years agobuild: Remove some empty lines
Marcel Holtmann [Sun, 27 May 2012 12:43:31 +0000 (14:43 +0200)]
build: Remove some empty lines

12 years agobuild: Add skeleton for Qualcomm QMI modem driver
Marcel Holtmann [Sun, 27 May 2012 08:13:55 +0000 (10:13 +0200)]
build: Add skeleton for Qualcomm QMI modem driver

12 years agoatmodem: Enable Icera radio access technology updates
Marcel Holtmann [Sat, 26 May 2012 14:15:34 +0000 (16:15 +0200)]
atmodem: Enable Icera radio access technology updates

12 years agohuaweimodem: Use network interface from modem for GPRS context
Marcel Holtmann [Sat, 26 May 2012 07:48:25 +0000 (09:48 +0200)]
huaweimodem: Use network interface from modem for GPRS context

12 years agogobi: Use the correct modem property for AT command device
Marcel Holtmann [Sat, 26 May 2012 05:36:30 +0000 (07:36 +0200)]
gobi: Use the correct modem property for AT command device

12 years agoudev: Fix matching to prefer entries with VID and PID
Marcel Holtmann [Sat, 26 May 2012 05:35:58 +0000 (07:35 +0200)]
udev: Fix matching to prefer entries with VID and PID

12 years agoudev: Add support for detecting Huawei QMI devices
Marcel Holtmann [Sat, 26 May 2012 05:35:25 +0000 (07:35 +0200)]
udev: Add support for detecting Huawei QMI devices

12 years agoudev: Add support for detecting Gobi QMI devices
Marcel Holtmann [Sat, 26 May 2012 04:47:26 +0000 (06:47 +0200)]
udev: Add support for detecting Gobi QMI devices

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