platform/upstream/ofono.git
14 years agotools: Start tracking audio interface
Marcel Holtmann [Wed, 29 Sep 2010 15:35:45 +0000 (00:35 +0900)]
tools: Start tracking audio interface

14 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

14 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.

14 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

14 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

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

14 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

14 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

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

14 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.

14 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.

14 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

14 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

14 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

14 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

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

14 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

14 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

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

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

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

14 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

14 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

14 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

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

14 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

14 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.

14 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

14 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

14 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.

14 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.

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

14 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

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

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

14 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

14 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

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

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

14 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

14 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.

14 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.

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

14 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

14 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

14 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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

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

14 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

14 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

14 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.

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

14 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

14 years agoifx: Add support for multiplexer setup
Marcel Holtmann [Fri, 24 Sep 2010 13:28:49 +0000 (22:28 +0900)]
ifx: Add support for multiplexer setup

This supports a simple static multiplexer that is activated with setting
the line discipline 23 on the TTY. It is static, because the DLC numbers
are hardcoded.

14 years agoifx: Add initial modem plugin implementation
Marcel Holtmann [Fri, 24 Sep 2010 09:32:06 +0000 (18:32 +0900)]
ifx: Add initial modem plugin implementation

This is a first attempt at the Infineon modem support. The support
is limited since it doesn't handle the setup of the multiplexer or
the different SIM states yet.

14 years agoatmodem: Add support for Infineon CNMA without PDU
Marcel Holtmann [Fri, 24 Sep 2010 09:28:32 +0000 (18:28 +0900)]
atmodem: Add support for Infineon CNMA without PDU

Seems like the Infineon modem can't handle a provided PDU to the CNMA
command. So just leave it out.

14 years agoatmodem: Add special handling of Infineon signal strength reporting
Marcel Holtmann [Fri, 24 Sep 2010 09:23:31 +0000 (18:23 +0900)]
atmodem: Add special handling of Infineon signal strength reporting

The custom signal strength reporting could be done inside the modem
plugin actually, but Calypso, Huawei etc. add quirks to the generic
network registration driver. So for now do it the same way until
this gets cleaned up for all modem plugins.

14 years agocalypso: Fix debug for modem callbacks
Marcel Holtmann [Fri, 24 Sep 2010 05:45:31 +0000 (14:45 +0900)]
calypso: Fix debug for modem callbacks

14 years agocalypsomodem: Use better debug strings for DLCs
Marcel Holtmann [Fri, 24 Sep 2010 05:37:13 +0000 (14:37 +0900)]
calypsomodem: Use better debug strings for DLCs

14 years agoifx: Take out the vendor field in voicecall driver
Denis Kenzior [Fri, 24 Sep 2010 05:29:32 +0000 (00:29 -0500)]
ifx: Take out the vendor field in voicecall driver

14 years agoifx: Assume CLIP always arrives
Denis Kenzior [Fri, 24 Sep 2010 05:28:58 +0000 (00:28 -0500)]
ifx: Assume CLIP always arrives

If the CLIP always arrives after a CRING, then we do not ever need to
poll CLCC.

14 years agoifx: Don't bother polling on an ATD
Denis Kenzior [Fri, 24 Sep 2010 05:22:06 +0000 (00:22 -0500)]
ifx: Don't bother polling on an ATD

The core can handle stateless drivers that do not keep clip state, in
the case of IFX we can skip the poll after ATD for finding out our CLIP
and just keep it as invalid / obtained from COLP.  The core should do
the right thing.

14 years agoatmodem: Update comment
Denis Kenzior [Fri, 24 Sep 2010 05:18:16 +0000 (00:18 -0500)]
atmodem: Update comment

14 years agoifxmodem: Reorder voicecall driver before all other
Marcel Holtmann [Fri, 24 Sep 2010 05:16:01 +0000 (14:16 +0900)]
ifxmodem: Reorder voicecall driver before all other

14 years agoMake debug handling with OFONO_AT_DEBUG a bit more consistent
Marcel Holtmann [Fri, 24 Sep 2010 05:14:04 +0000 (14:14 +0900)]
Make debug handling with OFONO_AT_DEBUG a bit more consistent

14 years agoifx: Update comment
Denis Kenzior [Fri, 24 Sep 2010 05:07:57 +0000 (00:07 -0500)]
ifx: Update comment

14 years agoifx: xcallstat should notify active->held
Denis Kenzior [Fri, 24 Sep 2010 05:07:23 +0000 (00:07 -0500)]
ifx: xcallstat should notify active->held

14 years agoifx: Remove a few CLCC polls
Denis Kenzior [Fri, 24 Sep 2010 04:45:05 +0000 (23:45 -0500)]
ifx: Remove a few CLCC polls

Polling here is no longer needed due to XCALLSTAT

14 years agoifx: Don't bother using RING
Denis Kenzior [Fri, 24 Sep 2010 04:26:41 +0000 (23:26 -0500)]
ifx: Don't bother using RING

We enable CRC=1, so only CRING should be sent

14 years agoifx: IFX provides hangup_all and hangup_active
Denis Kenzior [Fri, 24 Sep 2010 03:54:41 +0000 (22:54 -0500)]
ifx: IFX provides hangup_all and hangup_active