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

13 years agotest: Add script for hanging up active call
Marcel Holtmann [Tue, 28 Sep 2010 23:08:09 +0000 (08:08 +0900)]
test: Add script for hanging up active call

13 years agohuaweimodem: Implement hangup_active callback and not hangup_all
Marcel Holtmann [Tue, 28 Sep 2010 23:05:41 +0000 (08:05 +0900)]
huaweimodem: Implement hangup_active callback and not hangup_all

13 years agoifx: Add support for audio configuration of modem
Marcel Holtmann [Tue, 28 Sep 2010 22:41:01 +0000 (07:41 +0900)]
ifx: Add support for audio configuration of modem

For the XMM6260 Infineon modem it is possible to use different audio
configuration depending on your platform. Currently the setup of
FULL_DUPLEX, BURSTMODE_48KHZ and BURSTMODE_96KHZ are supported. If
appropiate values for OFONO_IFX_MODEL and OFONO_IFX_AUDIO are set
in the udev rules file, then the audio configuration will be changed
when bringing up the modem.

13 years agoudev: Add support for setting IFX audio configuration
Marcel Holtmann [Tue, 28 Sep 2010 22:34:22 +0000 (07:34 +0900)]
udev: Add support for setting IFX audio configuration

This adds three more extra configuration options for IFX specific
hardware setups. They are OFONO_IFX_MODEL, OFONO_IFX_AUDIO and also
OFONO_IFX_LOOPBACK.

An example usage would be like this:

ENV{OFONO_IFX_MODEL}="XMM6260", ENV{OFONO_IFX_AUDIO}="FULL_DUPLEX"

The actual supported values are not defined by the IFX modem
detection code. This is up to the modem plugin to change behavior
if needed.

13 years agovoicecall: Set single_call correctly
Denis Kenzior [Tue, 28 Sep 2010 21:59:15 +0000 (16:59 -0500)]
voicecall: Set single_call correctly

13 years agoifx: ifx_chup should send a +CHUP
Denis Kenzior [Tue, 28 Sep 2010 21:39:58 +0000 (16:39 -0500)]
ifx: ifx_chup should send a +CHUP

13 years agodoc: Add proposed SmartMessaging API
Denis Kenzior [Tue, 28 Sep 2010 07:30:23 +0000 (02:30 -0500)]
doc: Add proposed SmartMessaging API

13 years agoRelease 0.30 0.30
Marcel Holtmann [Tue, 28 Sep 2010 00:31:09 +0000 (09:31 +0900)]
Release 0.30

13 years agohso: Fix the username and password order
Denis Kenzior [Tue, 28 Sep 2010 00:28:19 +0000 (19:28 -0500)]
hso: Fix the username and password order

QCPDPP apparently takes the password first, then username

13 years agotest: Add simple script to set APN, username and password
Marcel Holtmann [Tue, 28 Sep 2010 00:12:17 +0000 (09:12 +0900)]
test: Add simple script to set APN, username and password

13 years agoAUTHORS: Mention Frank's contributions
Denis Kenzior [Tue, 28 Sep 2010 00:09:31 +0000 (19:09 -0500)]
AUTHORS: Mention Frank's contributions

13 years agosms: Fix 8bit port handling
Aki Niemi [Mon, 27 Sep 2010 15:45:06 +0000 (18:45 +0300)]
sms: Fix 8bit port handling

13 years agocalypso: update power and reset path
Frank Gau [Mon, 27 Sep 2010 14:05:14 +0000 (16:05 +0200)]
calypso: update power and reset path

13 years agoifxmodem: Enable audio related progress information
Marcel Holtmann [Mon, 27 Sep 2010 14:31:28 +0000 (23:31 +0900)]
ifxmodem: Enable audio related progress information

This is using AT+XPROGRESS=1 to enable the audio related notifications
of the modem. None of these information is currently used. This command
is only present to have these details show up in the debug logs.

13 years agoisimodem: Return success on topic set/clear
Aki Niemi [Mon, 27 Sep 2010 12:50:07 +0000 (15:50 +0300)]
isimodem: Return success on topic set/clear

The isimodem driver accepts all topics by default.

13 years agoisimodem: Fix CBS decoding
Aki Niemi [Mon, 27 Sep 2010 12:49:16 +0000 (15:49 +0300)]
isimodem: Fix CBS decoding

13 years agohuaweimodem: Handle option parameter on call end notification
Marcel Holtmann [Mon, 27 Sep 2010 08:25:43 +0000 (17:25 +0900)]
huaweimodem: Handle option parameter on call end notification

13 years agohuawei: Use specific voice call atom driver
Marcel Holtmann [Mon, 27 Sep 2010 03:44:09 +0000 (12:44 +0900)]
huawei: Use specific voice call atom driver

13 years agohuawei: Only notify for voice calls
Denis Kenzior [Mon, 27 Sep 2010 03:44:01 +0000 (22:44 -0500)]
huawei: Only notify for voice calls

13 years agohuawei: Track alerting state
Denis Kenzior [Mon, 27 Sep 2010 03:36:00 +0000 (22:36 -0500)]
huawei: Track alerting state

13 years agohuawei: Track outgoing calls
Denis Kenzior [Mon, 27 Sep 2010 03:34:24 +0000 (22:34 -0500)]
huawei: Track outgoing calls

13 years agohuawei: Notify the core on connect and end call
Denis Kenzior [Mon, 27 Sep 2010 03:16:29 +0000 (22:16 -0500)]
huawei: Notify the core on connect and end call

13 years agoss: Use function to judge if it's busy
Yang Gu [Tue, 21 Sep 2010 10:21:17 +0000 (18:21 +0800)]
ss: Use function to judge if it's busy

13 years agohuaweimodem: Add voice call creation support
Marcel Holtmann [Sun, 26 Sep 2010 23:46:15 +0000 (08:46 +0900)]
huaweimodem: Add voice call creation support

13 years agocalypsomodem: Some cleanups in voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 23:11:04 +0000 (08:11 +0900)]
calypsomodem: Some cleanups in voice call driver

13 years agostemodem: Some cleanups in voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 23:09:38 +0000 (08:09 +0900)]
stemodem: Some cleanups in voice call driver

13 years agoatmodem: Some cleanups in voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 23:07:02 +0000 (08:07 +0900)]
atmodem: Some cleanups in voice call driver

13 years agoifxmodem: Two more cleanups
Marcel Holtmann [Sun, 26 Sep 2010 23:06:48 +0000 (08:06 +0900)]
ifxmodem: Two more cleanups

13 years agoifxmodem: Some cleanups in voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 23:03:40 +0000 (08:03 +0900)]
ifxmodem: Some cleanups in voice call driver

13 years agoUpdate .gitignore information
Marcel Holtmann [Sun, 26 Sep 2010 15:12:29 +0000 (00:12 +0900)]
Update .gitignore information

13 years agohuaweimodem: Allow GPRS context allocation to fail
Marcel Holtmann [Sun, 26 Sep 2010 15:10:17 +0000 (00:10 +0900)]
huaweimodem: Allow GPRS context allocation to fail

13 years agohuaweimodem: Register for voice call specific notifications
Marcel Holtmann [Sun, 26 Sep 2010 15:07:09 +0000 (00:07 +0900)]
huaweimodem: Register for voice call specific notifications

13 years agohuawei: Move voice call init to post_sim phase
Marcel Holtmann [Sun, 26 Sep 2010 15:05:52 +0000 (00:05 +0900)]
huawei: Move voice call init to post_sim phase

Seems like that making emergency voice calls without SIM present is
not really possible. Move the voice call init to post_sim phase instead.

13 years agohuawei: Remove voice call notifications from modem plugin
Marcel Holtmann [Sun, 26 Sep 2010 15:03:36 +0000 (00:03 +0900)]
huawei: Remove voice call notifications from modem plugin

13 years agohuaweimodem: Add skeleton for simple voice call driver
Marcel Holtmann [Sun, 26 Sep 2010 14:51:27 +0000 (23:51 +0900)]
huaweimodem: Add skeleton for simple voice call driver

13 years agotools: Decode the Multiparty property in Huawei audio utility
Marcel Holtmann [Sun, 26 Sep 2010 14:30:26 +0000 (23:30 +0900)]
tools: Decode the Multiparty property in Huawei audio utility

13 years agotest: Add script for answering incoming calls
Marcel Holtmann [Sun, 26 Sep 2010 14:25:20 +0000 (23:25 +0900)]
test: Add script for answering incoming calls

13 years agotools: Add simple voice routing to Huawei audio utility
Marcel Holtmann [Sun, 26 Sep 2010 14:12:53 +0000 (23:12 +0900)]
tools: Add simple voice routing to Huawei audio utility

13 years agoifxmodem: Make SIM Toolkit envelope submission work
Marcel Holtmann [Sun, 26 Sep 2010 12:47:19 +0000 (21:47 +0900)]
ifxmodem: Make SIM Toolkit envelope submission work

13 years agocalypsomodem: Make SIM Toolkit envelope submission work again
Marcel Holtmann [Sun, 26 Sep 2010 12:45:50 +0000 (21:45 +0900)]
calypsomodem: Make SIM Toolkit envelope submission work again

13 years agombmmodem: Add comment about optional response data back
Marcel Holtmann [Sun, 26 Sep 2010 12:43:57 +0000 (21:43 +0900)]
mbmmodem: Add comment about optional response data back

13 years agoifx: Fix double free issue
Denis Kenzior [Sun, 26 Sep 2010 12:40:34 +0000 (07:40 -0500)]
ifx: Fix double free issue

13 years agombm: Make stk envelope submission work again
Denis Kenzior [Sun, 26 Sep 2010 12:38:48 +0000 (07:38 -0500)]
mbm: Make stk envelope submission work again

13 years agotools: Update Huawei audio utility with call tracking
Marcel Holtmann [Sun, 26 Sep 2010 12:40:08 +0000 (21:40 +0900)]
tools: Update Huawei audio utility with call tracking

13 years agotools: Add skeleton for Huawei audio utility
Marcel Holtmann [Sun, 26 Sep 2010 08:54:50 +0000 (17:54 +0900)]
tools: Add skeleton for Huawei audio utility

13 years agounit: Fix some copyright and license headers
Marcel Holtmann [Sun, 26 Sep 2010 08:49:19 +0000 (17:49 +0900)]
unit: Fix some copyright and license headers

13 years agoudev: Print error when udev support is not available and not disabled
Marcel Holtmann [Sun, 26 Sep 2010 08:35:26 +0000 (17:35 +0900)]
udev: Print error when udev support is not available and not disabled

13 years agogatchat: Hook up g_at_mux_set_debug to print debug messages for real
Marcel Holtmann [Sun, 26 Sep 2010 08:25:27 +0000 (17:25 +0900)]
gatchat: Hook up g_at_mux_set_debug to print debug messages for real

13 years agoifx: Add warning for unknown SIM states
Marcel Holtmann [Sun, 26 Sep 2010 08:09:25 +0000 (17:09 +0900)]
ifx: Add warning for unknown SIM states

13 years agoifx: Allow +XSIM notification to arrive during AT+XSIMSTATE=1
Marcel Holtmann [Sat, 25 Sep 2010 05:20:32 +0000 (14:20 +0900)]
ifx: Allow +XSIM notification to arrive during AT+XSIMSTATE=1

When not using none_prefix for matching the responses of AT+XSIMSTATE
call, it will consume all notifications. And this includes the initial
SIM state that the modem sends at that point. Without this notification
the SIM will never be marked as inserted.

13 years agoifx: Use internal mutliplexer if line discipline is not specified
Marcel Holtmann [Sat, 25 Sep 2010 05:09:40 +0000 (14:09 +0900)]
ifx: Use internal mutliplexer if line discipline is not specified

If there is no line discipline specified for a kernel based multiplexer,
then fallback to the internal one.

13 years agoifx: Use multiplexer line discipline configuration option
Marcel Holtmann [Sat, 25 Sep 2010 04:21:53 +0000 (13:21 +0900)]
ifx: Use multiplexer line discipline configuration option

Since the udev support allows to specify a line discipline number as
part of the modem configuration, use that one and report and error if
it has not been set.

13 years agoudev: Add support for setting IFX multiplexer line discipline
Marcel Holtmann [Sat, 25 Sep 2010 04:12:36 +0000 (13:12 +0900)]
udev: Add support for setting IFX multiplexer line discipline

The IFX modem plugin uses a kernel based multiplexer. And to support
different line discipline numbers on different target platforms, allow
them to be specified as option:

KERNEL=="ttyIFX[0-9]*", ENV{OFONO_DRIVER}="ifx", ENV{OFONO_IFX_LDISC}="23"

The extra OFONO_IFX_LDISC option specifies to use line discipline 23
for the multiplexer setup. The number is just an example here and the
correct one will be different.

13 years agoifx: Use SIM state notification for SIM insertion and removal
Marcel Holtmann [Sat, 25 Sep 2010 02:49:00 +0000 (11:49 +0900)]
ifx: Use SIM state notification for SIM insertion and removal

The +XSIM notifies us about missing or removed SIM. Use that for telling
the core if a SIM card is present or not. Besides that all other states
are treated as when a SIM card got inserted.

13 years agoatmodem: Add special handling for Infineon SIM ready state
Marcel Holtmann [Sat, 25 Sep 2010 02:32:40 +0000 (11:32 +0900)]
atmodem: Add special handling for Infineon SIM ready state

13 years agoifxmodem: Fix name of voice call driver
Marcel Holtmann [Sat, 25 Sep 2010 02:29:47 +0000 (11:29 +0900)]
ifxmodem: Fix name of voice call driver