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

13 years agoaudio: Update audio settings API for active notification
Marcel Holtmann [Fri, 1 Oct 2010 05:14:59 +0000 (07:14 +0200)]
audio: Update audio settings API for active notification

13 years agodoc: Update audio settings API
Marcel Holtmann [Fri, 1 Oct 2010 05:12:39 +0000 (07:12 +0200)]
doc: Update audio settings API

13 years agoudev: Some minor coding style updates
Marcel Holtmann [Fri, 1 Oct 2010 04:57:22 +0000 (06:57 +0200)]
udev: Some minor coding style updates

13 years agoisi: Remove not needed includes for oFono headers
Marcel Holtmann [Fri, 1 Oct 2010 04:54:27 +0000 (06:54 +0200)]
isi: Remove not needed includes for oFono headers

13 years agoisi: Private header files don't need circular inclusion protection
Marcel Holtmann [Fri, 1 Oct 2010 04:52:38 +0000 (06:52 +0200)]
isi: Private header files don't need circular inclusion protection

13 years agoplugins: Mode fixups for copyrigh headers
Marcel Holtmann [Fri, 1 Oct 2010 04:51:34 +0000 (06:51 +0200)]
plugins: Mode fixups for copyrigh headers

13 years agoisi: Fix up the copyright headers of modem plugins
Marcel Holtmann [Fri, 1 Oct 2010 04:46:32 +0000 (06:46 +0200)]
isi: Fix up the copyright headers of modem plugins

It is important that the copyright headers are consistent throughout
the source code. While the copyright might be owned by different
people of companies, the header itself with its license information
should be identical.

13 years agoifx: Use XGENDATA for modem model detection
Marcel Holtmann [Fri, 1 Oct 2010 04:38:02 +0000 (06:38 +0200)]
ifx: Use XGENDATA for modem model detection

The XGENDATA result contains various strings that also contain the modem
model. Make this command mandatory for the modem bringup and after it
succeeded, check for the XMM6260 string to setup specific audio settings.

This makes using ENV{OFONO_IFX_MODEL}="XMM6260" obsolete, but for now it
is still left as a possible option. It might be removed later.

13 years agosmart_messaging: Remove interface on atom removal
Aki Niemi [Thu, 30 Sep 2010 08:22:05 +0000 (11:22 +0300)]
smart_messaging: Remove interface on atom removal

13 years agoisimodem: Report GPRS detach
Aki Niemi [Thu, 30 Sep 2010 08:14:05 +0000 (11:14 +0300)]
isimodem: Report GPRS detach

13 years agoisimodem: Fix signal strength reporting
Aki Niemi [Thu, 30 Sep 2010 07:23:09 +0000 (10:23 +0300)]
isimodem: Fix signal strength reporting

ISI modems send the signal strength indication before registration
status changes, which causes the core to ignore initial signal
strength values.

13 years agoRemove usbpbmodem plugin
Aki Niemi [Wed, 22 Sep 2010 19:03:57 +0000 (22:03 +0300)]
Remove usbpbmodem plugin

13 years agogisi: Remove route adding API
Aki Niemi [Wed, 22 Sep 2010 18:14:16 +0000 (21:14 +0300)]
gisi: Remove route adding API

13 years agoAdd udev support for ISI modems
Aki Niemi [Tue, 28 Sep 2010 07:33:36 +0000 (10:33 +0300)]
Add udev support for ISI modems

13 years agomodemconf: set up isigen and n900
Pekka Pessi [Thu, 16 Sep 2010 14:56:18 +0000 (17:56 +0300)]
modemconf: set up isigen and n900

Allows basic configuration of phonet links.

13 years agon900: modem driver plugin for Nokia N900
Pekka Pessi [Thu, 16 Sep 2010 14:56:17 +0000 (17:56 +0300)]
n900: modem driver plugin for Nokia N900

This patch adds a modem driver plugin for the Nokia N900 internal
modem. It controls the modem using the appropriate GPIO lines and thus
works without the Maemo userspace.

This plugin can run natively on the N900 with either Maemo or Meego
kernels. However, it conflicts with the Maemo userspace, for which
isigen should be used instead.

13 years agoisimodem: remove generic modem driver parts
Pekka Pessi [Thu, 16 Sep 2010 14:56:16 +0000 (17:56 +0300)]
isimodem: remove generic modem driver parts

The isimodem driver is now part of isigen (just like atmodem and atgen).

13 years agoisigen: generic modem driver plugin for ISI
Pekka Pessi [Thu, 16 Sep 2010 14:56:15 +0000 (17:56 +0300)]
isigen: generic modem driver plugin for ISI

The new isigen modem driver plugin replaces the generic parts in the
isimodem modem driver. This plugin works with recent Nokia modems in
PC suite mode over USB, as well as with the N900 modem using Maemo5
userspace.

13 years agotools: Start tracking audio interface
Marcel Holtmann [Wed, 29 Sep 2010 15:35:45 +0000 (00:35 +0900)]
tools: Start tracking audio interface

13 years agodoc: Add audio settings API description
Marcel Holtmann [Wed, 29 Sep 2010 15:25:28 +0000 (00:25 +0900)]
doc: Add audio settings API description

13 years agoifxmodem: Remove setting of XPROGRESS notifications
Marcel Holtmann [Wed, 29 Sep 2010 15:21:23 +0000 (00:21 +0900)]
ifxmodem: Remove setting of XPROGRESS notifications

The XPROGRESS notifcations are now handled inside an Infineon specific
audio settings driver. So no need to do that in the the voice call
driver as well.

13 years agoifxmodem: Add support for audio settings
Marcel Holtmann [Wed, 29 Sep 2010 15:20:22 +0000 (00:20 +0900)]
ifxmodem: Add support for audio settings

13 years agohuawei: Add support for specific audio settings
Marcel Holtmann [Wed, 29 Sep 2010 15:01:14 +0000 (00:01 +0900)]
huawei: Add support for specific audio settings

13 years agohuawei: Remove pointless vendor quirk
Marcel Holtmann [Wed, 29 Sep 2010 14:59:50 +0000 (23:59 +0900)]
huawei: Remove pointless vendor quirk

13 years agohuaweimodem: Add support for audio settings interface
Marcel Holtmann [Wed, 29 Sep 2010 14:58:52 +0000 (23:58 +0900)]
huaweimodem: Add support for audio settings interface

13 years agocore: Add support for audio settings interface
Marcel Holtmann [Wed, 29 Sep 2010 14:57:39 +0000 (23:57 +0900)]
core: Add support for audio settings interface

13 years agohuaweimodem: Add missing empty line
Marcel Holtmann [Wed, 29 Sep 2010 14:42:55 +0000 (23:42 +0900)]
huaweimodem: Add missing empty line

13 years agoifx: Request firmware details on modem init
Marcel Holtmann [Wed, 29 Sep 2010 14:30:39 +0000 (23:30 +0900)]
ifx: Request firmware details on modem init

The firmware details can be requested via AT+XGENDATA. So do this at
modem init to have these in the logs. Currently nothing is done with
this data, but eventually it can be used for modem specific settings
like the audio configuration.

13 years agoatmodem: Update IFX specific SIM ready checking
Marcel Holtmann [Wed, 29 Sep 2010 14:23:29 +0000 (23:23 +0900)]
atmodem: Update IFX specific SIM ready checking

It seems that the XSIM notification doesn't really send SIM ready
status. It sends ready to attach instead:

  > AT+CPIN="0000"\r
  < \r\nOK\r\n
  < \r\n+XLOCK: "PN",5,0,"PU",5,0,"PP",5,0,"PC",5,0,"PS",5,0\r\n
  < \r\n+XSIM: 7\r\n

So either SIM ready or ready to attach is received more to the
post_sim state.

13 years agoSort enable configure option before the disable ones
Marcel Holtmann [Wed, 29 Sep 2010 10:51:28 +0000 (19:51 +0900)]
Sort enable configure option before the disable ones

13 years agogatsyntax: Fix responses starting with a quote
Denis Kenzior [Wed, 29 Sep 2010 10:37:41 +0000 (05:37 -0500)]
gatsyntax: Fix responses starting with a quote

13 years agohuawei: Add release_specific to voicecall
Denis Kenzior [Wed, 29 Sep 2010 06:16:53 +0000 (01:16 -0500)]
huawei: Add release_specific to voicecall

13 years agosmart_messaging: Add basic skeleton implementation
Denis Kenzior [Wed, 29 Sep 2010 04:38:37 +0000 (23:38 -0500)]
smart_messaging: Add basic skeleton implementation

13 years agosmart_messaging: Add skeleton plugin
Denis Kenzior [Wed, 29 Sep 2010 03:51:47 +0000 (22:51 -0500)]
smart_messaging: Add skeleton plugin

13 years agomodem: Add modemwatch watchlist functions
Denis Kenzior [Wed, 29 Sep 2010 03:49:22 +0000 (22:49 -0500)]
modem: Add modemwatch watchlist functions

Used for registering to modem added & removed notifications

13 years agoofono: Don't go over 80 characters per line
Denis Kenzior [Wed, 29 Sep 2010 03:43:31 +0000 (22:43 -0500)]
ofono: Don't go over 80 characters per line

13 years agossn: The id is unsigned
Denis Kenzior [Wed, 29 Sep 2010 03:43:09 +0000 (22:43 -0500)]
ssn: The id is unsigned

13 years agomodem: Minor style fix
Denis Kenzior [Wed, 29 Sep 2010 03:11:23 +0000 (22:11 -0500)]
modem: Minor style fix

13 years agodoc: Fix copy-paste error
Denis Kenzior [Wed, 29 Sep 2010 01:30:22 +0000 (20:30 -0500)]
doc: Fix copy-paste error

13 years agobuild: Add the missing doc files to Makefile.am
Denis Kenzior [Wed, 29 Sep 2010 01:29:53 +0000 (20:29 -0500)]
build: Add the missing doc files to Makefile.am

13 years agodoc: Clarify call-forwarding VoiceNoReplyTimeout
Denis Kenzior [Wed, 29 Sep 2010 01:12:23 +0000 (20:12 -0500)]
doc: Clarify call-forwarding VoiceNoReplyTimeout

This property cannot be set if the VoiceNoReply has not been queried or
set properly

13 years agobuild: docs for pushnotification and smartmessaging
Denis Kenzior [Wed, 29 Sep 2010 00:58:33 +0000 (19:58 -0500)]
build: docs for pushnotification and smartmessaging

13 years agodoc: Add PushNotification & PushNotificationAgent
Denis Kenzior [Wed, 29 Sep 2010 00:22:34 +0000 (19:22 -0500)]
doc: Add PushNotification & PushNotificationAgent

13 years agodoc: Add Release() to SmartMessagingAgent API
Denis Kenzior [Wed, 29 Sep 2010 00:22:13 +0000 (19:22 -0500)]
doc: Add Release() to SmartMessagingAgent API

13 years agoatmodem: Remove quirk for Huawei voice call support
Marcel Holtmann [Tue, 28 Sep 2010 23:32:23 +0000 (08:32 +0900)]
atmodem: Remove quirk for Huawei voice call support

The Huawei voice call support has its own driver now. So this quirk
is no longer needed.