platform/upstream/ofono.git
13 years agogisi: Fix copyright and license boilerplate
Aki Niemi [Thu, 14 Oct 2010 12:29:58 +0000 (15:29 +0300)]
gisi: Fix copyright and license boilerplate

13 years agosms: Implement text and datagram watch
Aki Niemi [Fri, 1 Oct 2010 14:24:28 +0000 (17:24 +0300)]
sms: Implement text and datagram watch

Allow setting a watch for incoming text and datagram messages on the
sms atom.

13 years agoisimodem: Fix copyright and license boilerplate
Aki Niemi [Thu, 14 Oct 2010 07:50:08 +0000 (10:50 +0300)]
isimodem: Fix copyright and license boilerplate

13 years agoisimodem: Fix SMSC address update request
Aki Niemi [Thu, 14 Oct 2010 07:40:37 +0000 (10:40 +0300)]
isimodem: Fix SMSC address update request

13 years agosimutil: add ID of EFadn
Petteri Tikander [Tue, 12 Oct 2010 15:18:12 +0000 (18:18 +0300)]
simutil: add ID of EFadn

13 years agostk: Add a debug to print the handled command type
Denis Kenzior [Thu, 14 Oct 2010 09:17:06 +0000 (04:17 -0500)]
stk: Add a debug to print the handled command type

13 years agoAPI for STK driver to signal executed commands
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:16 +0000 (15:54 +0200)]
API for STK driver to signal executed commands

Some modems are able to handle some proactive commands in their
firmware or otherwise, if the command doesn't require input from user.
Nevertheles ofono may need to update internal state or notify the user
where necessary.  With this api the driver can notify core that a
command is being executed in the modem or that a command is finished
executing and the TERMINAL RESPONSE has been sent to SIM.  It would
also be possible for a driver to handle a command.

13 years agostkagent: Add PlayTone and LoopTone requests
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:14 +0000 (15:54 +0200)]
stkagent: Add PlayTone and LoopTone requests

13 years agostk: Simplify and add icon to alphaId api
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:12 +0000 (15:54 +0200)]
stk: Simplify and add icon to alphaId api

The assumption is now that stk_alpha_id_set will handle NULL
or empty alphaIds or icons.

13 years agostk: Make the stk properties not optional
Denis Kenzior [Thu, 14 Oct 2010 07:45:05 +0000 (02:45 -0500)]
stk: Make the stk properties not optional

13 years agostkagent: Handle NULL items in append_menu_items
Denis Kenzior [Thu, 14 Oct 2010 07:58:07 +0000 (02:58 -0500)]
stkagent: Handle NULL items in append_menu_items

13 years agodoc: Update the properties to be readonly
Denis Kenzior [Thu, 14 Oct 2010 07:44:32 +0000 (02:44 -0500)]
doc: Update the properties to be readonly

This also implies that none of these properties are optional

13 years agostk: IdleModeIcon and MainMenuIcon properties
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:11 +0000 (15:54 +0200)]
stk: IdleModeIcon and MainMenuIcon properties

13 years agostk: Rename sms_submit_req to extern_req
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:05 +0000 (15:54 +0200)]
stk: Rename sms_submit_req to extern_req

13 years agodoc: Remove unused property
Denis Kenzior [Thu, 14 Oct 2010 06:36:08 +0000 (01:36 -0500)]
doc: Remove unused property

13 years agostk: Reflow stk_menu_create slightly
Denis Kenzior [Thu, 14 Oct 2010 06:21:10 +0000 (01:21 -0500)]
stk: Reflow stk_menu_create slightly

13 years agostk: Add icon ID information in stk_menu
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:10 +0000 (15:54 +0200)]
stk: Add icon ID information in stk_menu

13 years agophonesim: minor whitespace fix
Denis Kenzior [Thu, 14 Oct 2010 06:07:44 +0000 (01:07 -0500)]
phonesim: minor whitespace fix

13 years agostk: Pass icon IDs in stk agent request parameters
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:09 +0000 (15:54 +0200)]
stk: Pass icon IDs in stk agent request parameters

13 years agodoc: Add STK properties relevant for icons.
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:08 +0000 (15:54 +0200)]
doc: Add STK properties relevant for icons.

13 years agodoc: Update property name to match code.
Andrzej Zaborowski [Wed, 13 Oct 2010 13:54:07 +0000 (15:54 +0200)]
doc: Update property name to match code.

13 years agogdbus: fix not handling bus disconnects
Luiz Augusto von Dentz [Wed, 13 Oct 2010 12:06:46 +0000 (15:06 +0300)]
gdbus: fix not handling bus disconnects

We where not dispatching data when a bus disconnects which cause
Disconnected signal to not be processed and thus causing the process to
either not exit or to not trigger callbacks registered with
g_dbus_set_disconnect_function.

To fix this now we always schedule a dispatch which will make sure data
still not processed will make its way to the proper handlers even if
disconnected.

13 years agoofono.rules: Add additional MBM rules
Torgny Johansson [Tue, 12 Oct 2010 12:41:03 +0000 (14:41 +0200)]
ofono.rules: Add additional MBM rules

Add Ericsson c3607w and HP f3607gw/f3307 devices to udev rules file

13 years agosim: Refactor iidf reading
Denis Kenzior [Wed, 13 Oct 2010 13:41:41 +0000 (08:41 -0500)]
sim: Refactor iidf reading

Get rid of image_data since it can lead to potential memory leaks when
sim is removed while the IIDF operations are in progress.

13 years agotest: Update get-icon to the new API
Denis Kenzior [Wed, 13 Oct 2010 09:02:58 +0000 (04:02 -0500)]
test: Update get-icon to the new API

13 years agosim: Use ay return signature for GetIcon
Denis Kenzior [Wed, 13 Oct 2010 09:01:32 +0000 (04:01 -0500)]
sim: Use ay return signature for GetIcon

13 years agodoc: Update sim-api.txt with GetIcon
Denis Kenzior [Wed, 13 Oct 2010 09:01:05 +0000 (04:01 -0500)]
doc: Update sim-api.txt with GetIcon

13 years agosimfs: Also clean out image files
Denis Kenzior [Wed, 13 Oct 2010 07:55:04 +0000 (02:55 -0500)]
simfs: Also clean out image files

When cleaning cache

13 years agotest: Add get-icon script
Denis Kenzior [Wed, 13 Oct 2010 07:41:53 +0000 (02:41 -0500)]
test: Add get-icon script

13 years agosimfs: Fix the number of bytes copied
Denis Kenzior [Wed, 13 Oct 2010 07:38:11 +0000 (02:38 -0500)]
simfs: Fix the number of bytes copied

In block reading operations we read too much when the number of bytes to
read is smaller than the size of the file.

13 years agosimfs: Add some debug statements
Denis Kenzior [Wed, 13 Oct 2010 07:37:59 +0000 (02:37 -0500)]
simfs: Add some debug statements

13 years agohuawei: Fixup whitespace corruption
Denis Kenzior [Tue, 12 Oct 2010 02:40:52 +0000 (21:40 -0500)]
huawei: Fixup whitespace corruption

13 years agosimfs: Move buffer back to the op structure
Denis Kenzior [Tue, 12 Oct 2010 02:38:26 +0000 (21:38 -0500)]
simfs: Move buffer back to the op structure

This was causing problems when multiple sim writes were being issued
(and thus bug #8265).

13 years agosimfs: Reflow to get rid of unnecessary label
Denis Kenzior [Tue, 12 Oct 2010 01:45:27 +0000 (20:45 -0500)]
simfs: Reflow to get rid of unnecessary label

13 years agosim: Use g_dbus_create_reply
Denis Kenzior [Tue, 12 Oct 2010 01:42:07 +0000 (20:42 -0500)]
sim: Use g_dbus_create_reply

Instead of compound statements

13 years agosim: Don't re-check for id != 0
Denis Kenzior [Tue, 12 Oct 2010 01:40:16 +0000 (20:40 -0500)]
sim: Don't re-check for id != 0

We already check the id is valid in the get_icon function, there's no
reason to re-check it.

13 years agosimutil: add file type for EFimg
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:22 +0000 (15:33 -0700)]
simutil: add file type for EFimg

13 years agosim: implement GetIcon
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:20 +0000 (15:33 -0700)]
sim: implement GetIcon

13 years agosimfs: Group lines logically
Denis Kenzior [Tue, 12 Oct 2010 01:14:24 +0000 (20:14 -0500)]
simfs: Group lines logically

13 years agosimfs: If buffer alloc fails, error out
Denis Kenzior [Tue, 12 Oct 2010 01:14:04 +0000 (20:14 -0500)]
simfs: If buffer alloc fails, error out

13 years agosimfs: Don't try to read image cache imsi is null
Denis Kenzior [Tue, 12 Oct 2010 01:13:08 +0000 (20:13 -0500)]
simfs: Don't try to read image cache imsi is null

13 years agosimfs: Make image cache logic a bit easier to read
Denis Kenzior [Tue, 12 Oct 2010 01:12:26 +0000 (20:12 -0500)]
simfs: Make image cache logic a bit easier to read

13 years agosimfs: cache images
Kristen Carlson Accardi [Mon, 4 Oct 2010 22:33:19 +0000 (15:33 -0700)]
simfs: cache images

13 years agoifx: Disable modem UART for power saving
Marcel Holtmann [Wed, 13 Oct 2010 05:38:43 +0000 (08:38 +0300)]
ifx: Disable modem UART for power saving

Send AT+XPOW=0,0,0 command when enabling modem to disable UART. This
is done for power saving.

13 years agoatmodem: Send DTMF commands without quotes
Marcel Holtmann [Wed, 13 Oct 2010 05:25:59 +0000 (08:25 +0300)]
atmodem: Send DTMF commands without quotes

The AT+VTS command takes a single character and should not use quotes.

13 years agoifxmodem: Send DTMF commands without quotes
Marcel Holtmann [Wed, 13 Oct 2010 05:24:13 +0000 (08:24 +0300)]
ifxmodem: Send DTMF commands without quotes

The AT+VTS command takes a single character and should not use quotes.

13 years agoFix smart messaging D-Bus signatures
Aki Niemi [Mon, 11 Oct 2010 12:56:15 +0000 (15:56 +0300)]
Fix smart messaging D-Bus signatures

13 years agoFix smart messaging documentation
Aki Niemi [Mon, 11 Oct 2010 12:56:00 +0000 (15:56 +0300)]
Fix smart messaging documentation

13 years agoisigen: Add dummy ops for enable/disable
Aki Niemi [Mon, 11 Oct 2010 12:41:41 +0000 (15:41 +0300)]
isigen: Add dummy ops for enable/disable

Without these the core gets confused. These are actually no-ops, since
enabling and disabling aren't supported with a USB modem.

13 years agovoicecall: check g_try_new0 return value
Pekka Pessi [Wed, 6 Oct 2010 14:52:19 +0000 (17:52 +0300)]
voicecall: check g_try_new0 return value

13 years agovoicecall: remove dial_request_finish() cb param
Pekka Pessi [Wed, 6 Oct 2010 14:52:18 +0000 (17:52 +0300)]
voicecall: remove dial_request_finish() cb param

There is no need for callback param anymore.

13 years agovoicecall: Check dial requests in voicecall_is_busy
Pekka Pessi [Wed, 6 Oct 2010 14:52:17 +0000 (17:52 +0300)]
voicecall: Check dial requests in voicecall_is_busy

Return true if a call is being dialed by stk.

Use __ofono_voicecall_is_busy() in __ofono_voicecall_dial().

13 years agoussd: pass call_in_progress to valid_ussd_string
Pekka Pessi [Wed, 6 Oct 2010 14:52:16 +0000 (17:52 +0300)]
ussd: pass call_in_progress to valid_ussd_string

Query the voicecall atom whether a call is in progress and pass this
information along to valid_ussd_string.

13 years agocommon: fixup logic of valid_ussd_string()
Pekka Pessi [Wed, 6 Oct 2010 14:52:16 +0000 (17:52 +0300)]
common: fixup logic of valid_ussd_string()

The logic of valid_ussd_string was not quite correct as it didn't take
care of size 1 USSD strings.  In addition, call_in_progress parameter is
passed in to take care of size 2 USSD strings which might start with a
'1' according to the rules of 22.030.

The comment about USSD routing is removed, it is out of scope of oFono.
The cellular network routes the USSD requests based on the rules laid
out in the 22.090, however, any string that can be encoded according to
the rules of 23.030 is valid USSD.

13 years agoTODO: long phone numbers
Pekka Pessi [Fri, 8 Oct 2010 15:39:17 +0000 (18:39 +0300)]
TODO: long phone numbers

13 years agoudev: refactor add_isi
Pekka Pessi [Mon, 4 Oct 2010 13:11:05 +0000 (15:11 +0200)]
udev: refactor add_isi

Gather OFONO_ISI_ADDRESS from same udev device node as OFONO_DRIVER.

13 years agoudev: do not use post-143 libudev features
Pekka Pessi [Mon, 4 Oct 2010 13:11:04 +0000 (15:11 +0200)]
udev: do not use post-143 libudev features

There is no udev_device_get_property_value() in libudev version 143.

13 years agoFix COLR typo
Alexander Kanavin [Thu, 7 Oct 2010 10:50:55 +0000 (13:50 +0300)]
Fix COLR typo

13 years agoFix typo in SS enum to string conversion
Alexander Kanavin [Thu, 7 Oct 2010 10:50:54 +0000 (13:50 +0300)]
Fix typo in SS enum to string conversion

13 years agodoc: Play Tone command proposed d-bus API.
Andrzej Zaborowski [Wed, 6 Oct 2010 10:35:00 +0000 (12:35 +0200)]
doc: Play Tone command proposed d-bus API.

13 years agoussd: check g_try_new0 return value
Pekka Pessi [Wed, 6 Oct 2010 15:01:40 +0000 (18:01 +0300)]
ussd: check g_try_new0 return value

13 years agogisi/verify: check g_try_new0 return value
Pekka Pessi [Wed, 6 Oct 2010 15:01:39 +0000 (18:01 +0300)]
gisi/verify: check g_try_new0 return value

13 years agoisimodem/voicecall: fix hangup_active
Pekka Pessi [Wed, 6 Oct 2010 09:58:29 +0000 (12:58 +0300)]
isimodem/voicecall: fix hangup_active

13 years agoTODO: ofono_sim_ready_notify()
Pekka Pessi [Tue, 5 Oct 2010 15:49:28 +0000 (18:49 +0300)]
TODO: ofono_sim_ready_notify()

13 years agoIgnore generated src/ofono.service file
Marcel Holtmann [Tue, 5 Oct 2010 14:53:55 +0000 (16:53 +0200)]
Ignore generated src/ofono.service file

13 years agohuawei: Use modem interface only if NDIS support is not available
Marcel Holtmann [Tue, 5 Oct 2010 14:50:09 +0000 (16:50 +0200)]
huawei: Use modem interface only if NDIS support is not available

13 years agohuawei: Add support for enabling NDIS GPRS driver if supported
Marcel Holtmann [Tue, 5 Oct 2010 14:38:23 +0000 (16:38 +0200)]
huawei: Add support for enabling NDIS GPRS driver if supported

13 years agohuaweimodem: Print the NDIS device node to be used
Marcel Holtmann [Tue, 5 Oct 2010 14:30:04 +0000 (16:30 +0200)]
huaweimodem: Print the NDIS device node to be used

13 years agohuaweimodem: Add error handling for too many ^DHCP failures
Marcel Holtmann [Tue, 5 Oct 2010 14:28:52 +0000 (16:28 +0200)]
huaweimodem: Add error handling for too many ^DHCP failures

13 years agoudev: Track NDIS port of Huawei devices (if present)
Marcel Holtmann [Tue, 5 Oct 2010 14:21:19 +0000 (16:21 +0200)]
udev: Track NDIS port of Huawei devices (if present)

13 years agotest: Add script for enabling/disabling RoamingAllowed property
Marcel Holtmann [Tue, 5 Oct 2010 14:11:09 +0000 (16:11 +0200)]
test: Add script for enabling/disabling RoamingAllowed property

13 years agosms: fix type error
Pekka Pessi [Tue, 5 Oct 2010 10:37:55 +0000 (13:37 +0300)]
sms: fix type error

13 years agoSupport -p and -P options with list of plugins
Pekka Pessi [Fri, 24 Sep 2010 14:22:40 +0000 (17:22 +0300)]
Support -p and -P options with list of plugins

13 years agoTODO: BDN description update
Jeevaka Badrappan [Mon, 4 Oct 2010 11:26:27 +0000 (04:26 -0700)]
TODO: BDN description update

13 years agostk: Additional info for failed Send USSD case
Jeevaka Badrappan [Fri, 1 Oct 2010 06:32:57 +0000 (23:32 -0700)]
stk: Additional info for failed Send USSD case

13 years agobuild: Add support for systemd configuration
Marcel Holtmann [Sat, 2 Oct 2010 18:20:31 +0000 (20:20 +0200)]
build: Add support for systemd configuration

13 years agobuild: Remove some empty lines
Marcel Holtmann [Sat, 2 Oct 2010 16:09:15 +0000 (18:09 +0200)]
build: Remove some empty lines

13 years agobuild: Add D-Bus service autostart support
Marcel Holtmann [Sat, 2 Oct 2010 15:57:19 +0000 (17:57 +0200)]
build: Add D-Bus service autostart support

13 years agoTODO: Owner of Fixed Dialing task
Petteri Tikander [Fri, 1 Oct 2010 16:06:41 +0000 (19:06 +0300)]
TODO: Owner of Fixed Dialing task

13 years agoRelease 0.31 0.31
Marcel Holtmann [Fri, 1 Oct 2010 14:48:23 +0000 (16:48 +0200)]
Release 0.31

13 years agoudev: Fix coding style
Marcel Holtmann [Fri, 1 Oct 2010 14:44:26 +0000 (16:44 +0200)]
udev: Fix coding style

13 years agoudev: Fix ISI address setting
Pekka Pessi [Fri, 1 Oct 2010 14:38:19 +0000 (17:38 +0300)]
udev: Fix ISI address setting

13 years agoisimodem: Properly clean up audio settings driver
Aki Niemi [Fri, 1 Oct 2010 13:51:34 +0000 (16:51 +0300)]
isimodem: Properly clean up audio settings driver

13 years agoAUTHORS: Mention Kai's contributions
Aki Niemi [Fri, 1 Oct 2010 13:42:16 +0000 (16:42 +0300)]
AUTHORS: Mention Kai's contributions

13 years agon900: Enable audio settings atom
Kai Vehmanen [Fri, 1 Oct 2010 13:39:39 +0000 (16:39 +0300)]
n900: Enable audio settings atom

13 years agoisimodem: Add support for audio settings
Kai Vehmanen [Fri, 1 Oct 2010 13:04:15 +0000 (16:04 +0300)]
isimodem: Add support for audio settings

The audio state is mapped directly to isimodem's call server status
indications. When active, the modem speech path should be opened, and
when closed, the modem speech path may be closed.

13 years agoifx: Remove support for OFONO_IFX_MODEL option
Marcel Holtmann [Fri, 1 Oct 2010 13:18:06 +0000 (15:18 +0200)]
ifx: Remove support for OFONO_IFX_MODEL option

The Infineon modem model is now auto-detected, so there is no longer
any need to specify it in the udev configuration rules.

13 years agoifx: Enable audio settings atom support
Marcel Holtmann [Fri, 1 Oct 2010 11:17:24 +0000 (13:17 +0200)]
ifx: Enable audio settings atom support

13 years agoudev: Include "hsi" in the subsystems to watch
Marcel Holtmann [Fri, 1 Oct 2010 11:01:08 +0000 (13:01 +0200)]
udev: Include "hsi" in the subsystems to watch

13 years agon900: Fix link target status
Aki Niemi [Fri, 1 Oct 2010 10:07:45 +0000 (13:07 +0300)]
n900: Fix link target status

13 years agoifx: Fix crash with XGENDATA result callback
Marcel Holtmann [Fri, 1 Oct 2010 10:31:19 +0000 (12:31 +0200)]
ifx: Fix crash with XGENDATA result callback

13 years agoTODO: Take ownership of fast dormancy
Mika Liljeberg [Fri, 1 Oct 2010 08:14:13 +0000 (11:14 +0300)]
TODO: Take ownership of fast dormancy

13 years agoUpdate .mailmap rules for Pekka
Marcel Holtmann [Fri, 1 Oct 2010 07:36:16 +0000 (09:36 +0200)]
Update .mailmap rules for Pekka

13 years agodoc: Fix typo in smart messaging agent interface
Aki Niemi [Fri, 1 Oct 2010 07:26:01 +0000 (10:26 +0300)]
doc: Fix typo in smart messaging agent interface

13 years agobuild: Remove no longer needed plugins/usbpnmodem.c
Marcel Holtmann [Fri, 1 Oct 2010 07:27:44 +0000 (09:27 +0200)]
build: Remove no longer needed plugins/usbpnmodem.c

13 years agobuild: Rename smart_messaging.c to smart-messaging.c
Marcel Holtmann [Fri, 1 Oct 2010 05:51:43 +0000 (07:51 +0200)]
build: Rename smart_messaging.c to smart-messaging.c

13 years agobuild: Move example plugins to its own directory
Marcel Holtmann [Fri, 1 Oct 2010 05:44:09 +0000 (07:44 +0200)]
build: Move example plugins to its own directory

13 years agoifxmodem: Notify about audio settings mode
Marcel Holtmann [Fri, 1 Oct 2010 05:29:53 +0000 (07:29 +0200)]
ifxmodem: Notify about audio settings mode

13 years agoaudio: Add helper to get modem information from audio settings
Marcel Holtmann [Fri, 1 Oct 2010 05:28:39 +0000 (07:28 +0200)]
audio: Add helper to get modem information from audio settings

13 years agoaudio: Add support for notifying about audio mode
Marcel Holtmann [Fri, 1 Oct 2010 05:22:45 +0000 (07:22 +0200)]
audio: Add support for notifying about audio mode