platform/upstream/ofono.git
12 years agotools: watch for signals only on OFONO_SERVICE
Lucas De Marchi [Thu, 28 Jun 2012 13:59:21 +0000 (10:59 -0300)]
tools: watch for signals only on OFONO_SERVICE

12 years agostemgr: watch for signals only on MGR_SERVICE
Lucas De Marchi [Thu, 28 Jun 2012 13:59:20 +0000 (10:59 -0300)]
stemgr: watch for signals only on MGR_SERVICE

12 years agobluetooth: watch for signals only on BLUEZ_SERVICE
Lucas De Marchi [Thu, 28 Jun 2012 13:59:19 +0000 (10:59 -0300)]
bluetooth: watch for signals only on BLUEZ_SERVICE

12 years agoREADME: add information about mailing list and site
Lucas De Marchi [Thu, 28 Jun 2012 13:59:18 +0000 (10:59 -0300)]
README: add information about mailing list and site

12 years agoRelease 1.8 1.8
Marcel Holtmann [Mon, 2 Jul 2012 13:00:08 +0000 (15:00 +0200)]
Release 1.8

12 years agogdbus: Fix removal of filter after last filter_data
Lucas De Marchi [Mon, 25 Jun 2012 15:44:40 +0000 (12:44 -0300)]
gdbus: Fix removal of filter after last filter_data

If there's a signal watch that's also watching for name
(data->name_watch) currently we are trying to remove the message_filter
twice since we may have the following call chain:

filter_data_remove_callback()
  filter_data_free()
    g_dbus_remove_watch()
      filter_data_remove_callback()
filter_data_free()
        dbus_connection_remove_filter()
  dbus_connection_remove_filter()

Because of this we can't currently watch for signals passing the bus
name. After this patch we don't have this issue anymore.

We fix it by removing the filter before calling filter_data_free() if we
are the last filter_data and thus avoid calling
dbus_connection_remove_filter() twice.

12 years agoemulator: Test already done in g_at_server_resume()
Guillaume Zajac [Tue, 26 Jun 2012 08:12:58 +0000 (10:12 +0200)]
emulator: Test already done in g_at_server_resume()

12 years agogatserver: Add NULL check to avoid crash
Guillaume Zajac [Tue, 26 Jun 2012 08:12:59 +0000 (10:12 +0200)]
gatserver: Add NULL check to avoid crash

Dundee is not waiting to receive the NO CARRIER notification
to close the IO channel with oFono so that oFono is trying to
send a NO CARRIER although GAtServer is removed.

12 years agoqmi: fix whitespace
Denis Kenzior [Sat, 23 Jun 2012 05:31:04 +0000 (00:31 -0500)]
qmi: fix whitespace

12 years agomodem: Add skeleton for USSD support
Marcel Holtmann [Tue, 26 Jun 2012 03:24:33 +0000 (20:24 -0700)]
modem: Add skeleton for USSD support

12 years agogobi: Add support for USSD atom driver
Marcel Holtmann [Tue, 26 Jun 2012 03:14:29 +0000 (20:14 -0700)]
gobi: Add support for USSD atom driver

12 years agogobi: The location reporting is available even without SIM card present
Marcel Holtmann [Mon, 25 Jun 2012 19:28:08 +0000 (12:28 -0700)]
gobi: The location reporting is available even without SIM card present

12 years agogobi: Add support for voice call atom driver
Marcel Holtmann [Mon, 25 Jun 2012 19:11:45 +0000 (12:11 -0700)]
gobi: Add support for voice call atom driver

12 years agoqmimodem: Add skeleton for voice call support
Marcel Holtmann [Mon, 25 Jun 2012 19:11:08 +0000 (12:11 -0700)]
qmimodem: Add skeleton for voice call support

12 years agogobi: Cancel all requests and notifications on device shutdown
Marcel Holtmann [Mon, 25 Jun 2012 17:25:49 +0000 (10:25 -0700)]
gobi: Cancel all requests and notifications on device shutdown

12 years agoqmimodem: Make sure all service destroy functions are called
Marcel Holtmann [Mon, 25 Jun 2012 17:25:03 +0000 (10:25 -0700)]
qmimodem: Make sure all service destroy functions are called

12 years agoqmimodem: Add support for canceling all service requests
Marcel Holtmann [Mon, 25 Jun 2012 17:20:08 +0000 (10:20 -0700)]
qmimodem: Add support for canceling all service requests

12 years agoqmimodem: Use shared DMS service for device information and SIM handling
Marcel Holtmann [Mon, 25 Jun 2012 16:31:49 +0000 (09:31 -0700)]
qmimodem: Use shared DMS service for device information and SIM handling

12 years agogobi: Use shared DMS for power and online operations
Marcel Holtmann [Mon, 25 Jun 2012 16:31:02 +0000 (09:31 -0700)]
gobi: Use shared DMS for power and online operations

12 years agoqmimodem: Add support for shared services with same client id
Marcel Holtmann [Mon, 25 Jun 2012 16:30:31 +0000 (09:30 -0700)]
qmimodem: Add support for shared services with same client id

12 years agobluetooth: ignore error if driver returns -EALREADY
Luiz Augusto von Dentz [Mon, 25 Jun 2012 08:54:35 +0000 (11:54 +0300)]
bluetooth: ignore error if driver returns -EALREADY

12 years agoqmimodem: Use unsigned int for notify id to make GUINT_TO_POINTER happy
Marcel Holtmann [Mon, 25 Jun 2012 08:56:33 +0000 (01:56 -0700)]
qmimodem: Use unsigned int for notify id to make GUINT_TO_POINTER happy

12 years agoqmimodem: Use unsigned int for tid to make GUINT_TO_POINTER happy
Marcel Holtmann [Mon, 25 Jun 2012 08:23:14 +0000 (01:23 -0700)]
qmimodem: Use unsigned int for tid to make GUINT_TO_POINTER happy

12 years agoqmimodem: Use unsigned int for hash_id to make GUINT_TO_POINTER happy
Marcel Holtmann [Mon, 25 Jun 2012 08:18:48 +0000 (01:18 -0700)]
qmimodem: Use unsigned int for hash_id to make GUINT_TO_POINTER happy

12 years agotest: Fix missing UseDeliveryReports setting for SMS script
Marcel Holtmann [Mon, 25 Jun 2012 07:03:25 +0000 (00:03 -0700)]
test: Fix missing UseDeliveryReports setting for SMS script

12 years agoswmodem: Add extra informational AT+CGCONTRDP command
Marcel Holtmann [Mon, 25 Jun 2012 07:02:17 +0000 (00:02 -0700)]
swmodem: Add extra informational AT+CGCONTRDP command

12 years agosim: Add extra errors for EFmsisdn and EFad length mismatches
Marcel Holtmann [Mon, 25 Jun 2012 07:00:45 +0000 (00:00 -0700)]
sim: Add extra errors for EFmsisdn and EFad length mismatches

12 years agoqmimodem: Add support for unregister of individual notifications
Marcel Holtmann [Mon, 25 Jun 2012 06:31:49 +0000 (23:31 -0700)]
qmimodem: Add support for unregister of individual notifications

12 years agoqmimodem: Add support for canceling service requests
Marcel Holtmann [Mon, 25 Jun 2012 06:20:25 +0000 (23:20 -0700)]
qmimodem: Add support for canceling service requests

12 years agoqmimodem: Add skeleton for radio settings support
Marcel Holtmann [Mon, 25 Jun 2012 05:56:27 +0000 (22:56 -0700)]
qmimodem: Add skeleton for radio settings support

12 years agogobi: Add support for radio settings atom driver
Marcel Holtmann [Mon, 25 Jun 2012 05:55:08 +0000 (22:55 -0700)]
gobi: Add support for radio settings atom driver

12 years agogobi: Disable UIM support for now and allow DMS fallback
Marcel Holtmann [Mon, 25 Jun 2012 05:41:32 +0000 (22:41 -0700)]
gobi: Disable UIM support for now and allow DMS fallback

12 years agoqmimodem: Return transaction identifier from service requests
Marcel Holtmann [Mon, 25 Jun 2012 05:38:26 +0000 (22:38 -0700)]
qmimodem: Return transaction identifier from service requests

12 years agoqmimodem: Add helper function for accessing 64-bit integers
Marcel Holtmann [Mon, 25 Jun 2012 05:24:56 +0000 (22:24 -0700)]
qmimodem: Add helper function for accessing 64-bit integers

12 years agoqmimodem: Add common constants for GSM, UMTS and LTE bands
Marcel Holtmann [Mon, 25 Jun 2012 05:15:45 +0000 (22:15 -0700)]
qmimodem: Add common constants for GSM, UMTS and LTE bands

12 years agosim: Fix use of uninitialized values
Denis Kenzior [Tue, 19 Jun 2012 17:57:53 +0000 (12:57 -0500)]
sim: Fix use of uninitialized values

In the case of an error, sim_pin_query_cb should not assume the
pin_type value is valid.

12 years agosim: Don't re-init the SIM needlessly
Denis Kenzior [Tue, 19 Jun 2012 17:54:37 +0000 (12:54 -0500)]
sim: Don't re-init the SIM needlessly

When calling ChangePin with the wrong original PIN, we're still left in
the READY state.  Do not re-initialize the SIM needlessly in this case.

12 years agotest: Add change-pin script
Denis Kenzior [Tue, 19 Jun 2012 17:19:23 +0000 (12:19 -0500)]
test: Add change-pin script

12 years agoqmimodem: Add support for SMS handling
Marcel Holtmann [Fri, 22 Jun 2012 20:20:11 +0000 (13:20 -0700)]
qmimodem: Add support for SMS handling

12 years agoqmimodem: Add support for GPS location reporting
Marcel Holtmann [Fri, 22 Jun 2012 04:08:31 +0000 (21:08 -0700)]
qmimodem: Add support for GPS location reporting

12 years agoqmimodem: Add support for GPRS data connection handling
Marcel Holtmann [Fri, 22 Jun 2012 03:46:04 +0000 (20:46 -0700)]
qmimodem: Add support for GPRS data connection handling

12 years agoqmimodem: Add support for network registration handling
Marcel Holtmann [Fri, 22 Jun 2012 01:37:37 +0000 (18:37 -0700)]
qmimodem: Add support for network registration handling

12 years agoqmimodem: Add support for legacy SIM handling
Marcel Holtmann [Fri, 22 Jun 2012 00:29:16 +0000 (17:29 -0700)]
qmimodem: Add support for legacy SIM handling

12 years agogobi: Use QMI support to drive this modem
Marcel Holtmann [Thu, 21 Jun 2012 23:09:57 +0000 (16:09 -0700)]
gobi: Use QMI support to drive this modem

12 years agoqmimodem: Add support for device information handling
Marcel Holtmann [Thu, 21 Jun 2012 23:07:59 +0000 (16:07 -0700)]
qmimodem: Add support for device information handling

12 years agoqmimodem: Add support for QMI control point handling
Marcel Holtmann [Thu, 21 Jun 2012 22:18:36 +0000 (15:18 -0700)]
qmimodem: Add support for QMI control point handling

12 years agobuild: Add dundee executable to ignore list
Marcel Holtmann [Thu, 21 Jun 2012 21:57:29 +0000 (14:57 -0700)]
build: Add dundee executable to ignore list

12 years agodoc: Fix typo
Denis Kenzior [Mon, 18 Jun 2012 14:58:49 +0000 (09:58 -0500)]
doc: Fix typo

12 years agodoc: Describe the handling of MMI codes with oFono
Denis Kenzior [Mon, 18 Jun 2012 14:28:03 +0000 (09:28 -0500)]
doc: Describe the handling of MMI codes with oFono

12 years agoussd: send NotRecognized error for invalid USSD
Denis Kenzior [Mon, 18 Jun 2012 14:23:20 +0000 (09:23 -0500)]
ussd: send NotRecognized error for invalid USSD

12 years agodoc: Add new error type to ussd Initiate() method
Denis Kenzior [Mon, 18 Jun 2012 14:22:15 +0000 (09:22 -0500)]
doc: Add new error type to ussd Initiate() method

12 years agodbus: Add NotRecognized error
Denis Kenzior [Mon, 18 Jun 2012 14:21:32 +0000 (09:21 -0500)]
dbus: Add NotRecognized error

12 years agocommon: Match logic to comment: valid_ussd_string
Denis Kenzior [Mon, 18 Jun 2012 13:59:04 +0000 (08:59 -0500)]
common: Match logic to comment: valid_ussd_string

12 years agosimutil: Add entry for EFimsi
Denis Kenzior [Sun, 17 Jun 2012 13:11:15 +0000 (08:11 -0500)]
simutil: Add entry for EFimsi

12 years agosim: Allow IMSI to be obtained via EF reads
Denis Kenzior [Sun, 17 Jun 2012 13:01:04 +0000 (08:01 -0500)]
sim: Allow IMSI to be obtained via EF reads

12 years agostk: Fix crash when envelope returns sync
Denis Kenzior [Sun, 17 Jun 2012 04:22:04 +0000 (23:22 -0500)]
stk: Fix crash when envelope returns sync

ofonod[13066]: src/stk.c:stk_select_item()
ofonod[13066]: src/stk.c:stk_select_item()
ofonod[13066]: src/stk.c:stk_send_envelope()
ofonod[13066]: drivers/qmimodem/stk.c:qmi_envelope()
ofonod[13066]: src/stk.c:envelope_cb() length 0
ofonod[13066]: src/stk.c:menu_selection_envelope_cb()
ofonod[13066]: Sending Menu Selection to UICC failed
process 13066: arguments to dbus_message_new_error() were incorrect,
assertion "reply_to != NULL" failed in file dbus-message.c line 1333.
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
  ofonod[13066]: Aborting (signal 6) [./src/ofonod]
  ofonod[13066]: ++++++++ backtrace ++++++++

12 years agosim: Revert adding special callback for EFiccid
Denis Kenzior [Sat, 16 Jun 2012 13:18:16 +0000 (08:18 -0500)]
sim: Revert adding special callback for EFiccid

This reverts commit 1960dbbc79e43f33f23886c2a12e508a0350aad1.

12 years agosim: Revert adding special callback for EFmsisdn
Denis Kenzior [Sat, 16 Jun 2012 13:17:47 +0000 (08:17 -0500)]
sim: Revert adding special callback for EFmsisdn

This reverts commit c3124b66d903a43ce639e3de8e838ef39419fc4f.

12 years agosim: Revert adding special callback for EFad
Denis Kenzior [Sat, 16 Jun 2012 13:17:22 +0000 (08:17 -0500)]
sim: Revert adding special callback for EFad

This reverts commit 5522df64fac7b57d3d9db2272fc9be97c8815b94.

12 years agoradio-settings: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 13:13:50 +0000 (08:13 -0500)]
radio-settings: Conform to coding style item M4

12 years agomodem: Conform to coding style item M9
Denis Kenzior [Sat, 16 Jun 2012 13:10:55 +0000 (08:10 -0500)]
modem: Conform to coding style item M9

12 years agomessage-waiting: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 13:08:31 +0000 (08:08 -0500)]
message-waiting: Conform to coding style item M4

12 years agosms: Constify isimodem driver submit method
Denis Kenzior [Sat, 16 Jun 2012 13:03:01 +0000 (08:03 -0500)]
sms: Constify isimodem driver submit method

12 years agosms: Constify atmodem driver submit method
Denis Kenzior [Sat, 16 Jun 2012 13:02:10 +0000 (08:02 -0500)]
sms: Constify atmodem driver submit method

12 years agosms: Constify submit method
Denis Kenzior [Sat, 16 Jun 2012 13:03:41 +0000 (08:03 -0500)]
sms: Constify submit method

12 years agogprs-context: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 12:51:29 +0000 (07:51 -0500)]
gprs-context: Conform to coding style item M4

12 years agocdma-sms: Update to the new API declaration
Denis Kenzior [Sat, 16 Jun 2012 13:04:01 +0000 (08:04 -0500)]
cdma-sms: Update to the new API declaration

12 years agocdma-sms: Make const correct
Denis Kenzior [Sat, 16 Jun 2012 12:48:41 +0000 (07:48 -0500)]
cdma-sms: Make const correct

12 years agocall-volume: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 12:46:32 +0000 (07:46 -0500)]
call-volume: Conform to coding style item M4

12 years agocall-settings: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 12:45:48 +0000 (07:45 -0500)]
call-settings: Conform to coding style item M4

12 years agocall-meter: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 12:45:00 +0000 (07:45 -0500)]
call-meter: Conform to coding style item M4

12 years agocall-forwarding: Conform to coding style item M4
Denis Kenzior [Sat, 16 Jun 2012 12:43:35 +0000 (07:43 -0500)]
call-forwarding: Conform to coding style item M4

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