platform/upstream/ofono.git
13 years agohuawei: Use correct command for setting offline mode
Marcel Holtmann [Mon, 11 Jul 2011 13:06:02 +0000 (15:06 +0200)]
huawei: Use correct command for setting offline mode

According to some Huawei related documentation it is better to use
AT+CFUN=7 for offline mode instead of AT+CFUN=5.

13 years agoatmodem: Request device capabilities from devinfo driver
Marcel Holtmann [Mon, 11 Jul 2011 13:03:38 +0000 (15:03 +0200)]
atmodem: Request device capabilities from devinfo driver

The result of the capabilities command is currently not used to identify
GSM support or not. However for debugging purposes the information are
part of the AT command debug log now.

13 years agobtio: Fix the return value of bt_io functions
Vinicius Costa Gomes [Tue, 5 Jul 2011 17:00:00 +0000 (14:00 -0300)]
btio: Fix the return value of bt_io functions

Some bt_io methods were ignoring the value stored in errno when
reporting the error to the caller.

13 years agophonesim: add support of +CBC
Frédéric Danis [Fri, 8 Jul 2011 13:29:20 +0000 (15:29 +0200)]
phonesim: add support of +CBC

PTS test TP/PSI/BV-03-I [Transfer Battery Level Indication] needs to
change battery level and check that the battery level indication is
received at the HF.
So add support for +CBC in phonesim plugin, and force update of the
battery indicator on HFP AG Emulator registration.

13 years agozte: Create gprs & gc in post_sim
Bertrand Aygon [Thu, 7 Jul 2011 16:41:20 +0000 (18:41 +0200)]
zte: Create gprs & gc in post_sim

13 years agozte: Use decode_at_error instead
Bertrand Aygon [Thu, 7 Jul 2011 16:39:03 +0000 (18:39 +0200)]
zte: Use decode_at_error instead

13 years agoemulator: Make the logic a bit more readable
Denis Kenzior [Fri, 1 Jul 2011 16:18:56 +0000 (11:18 -0500)]
emulator: Make the logic a bit more readable

13 years agoemulator: fix CCWA for PTS
Frédéric Danis [Thu, 30 Jun 2011 14:52:54 +0000 (16:52 +0200)]
emulator: fix CCWA for PTS

During test TP/TCA/BV-05-I [Terminate Ongoing Call – While Call Waiting]
PTS fails if multiple +CCWA are sent (waiting for 1st phone number when
waiting one becomes incoming, intead of 2nd phone number).
So, send only 1 +CCWA.

Update RING timer management to be started as soon as an incoming call
exists, and retrieve +CLIP info for incoming or waiting call (in case
of waiting call becoming incoming call, call indicator changes before
internal call status is updated)

Force to send +CCWA (if needed) on reception of AT+CCWA=1

13 years agostk: Use the right command pointer
Andrzej Zaborowski [Wed, 6 Jul 2011 08:40:00 +0000 (10:40 +0200)]
stk: Use the right command pointer

13 years agoudev: Add udev rules for SpeedUp modems
Bertrand Aygon [Wed, 6 Jul 2011 17:25:59 +0000 (19:25 +0200)]
udev: Add udev rules for SpeedUp modems

13 years agoplugins: add speedup driver
Bertrand Aygon [Wed, 6 Jul 2011 17:25:58 +0000 (19:25 +0200)]
plugins: add speedup driver

13 years agobluetooth: Remove data in all situations
Luiz Augusto von Dentz [Mon, 4 Jul 2011 07:32:16 +0000 (10:32 +0300)]
bluetooth: Remove data in all situations

If an adapter or device is removed any data associate should be removed,
otherwise the next time they appear/are created the drivers may not
asssociate again.

13 years agorules: Add ofono rule for Huwaei modem E173
Guillaume Zajac [Tue, 5 Jul 2011 15:16:56 +0000 (17:16 +0200)]
rules: Add ofono rule for Huwaei modem E173

13 years agorules: Add ofono rule for ZTE modem MF668
Guillaume Zajac [Tue, 5 Jul 2011 08:47:13 +0000 (10:47 +0200)]
rules: Add ofono rule for ZTE modem MF668

13 years agorules: Add ofono rule for ZTE modem MF180
Guillaume Zajac [Tue, 5 Jul 2011 08:47:12 +0000 (10:47 +0200)]
rules: Add ofono rule for ZTE modem MF180

13 years agomain: Move signalfd setup in its own function
Marcel Holtmann [Sat, 2 Jul 2011 04:33:16 +0000 (21:33 -0700)]
main: Move signalfd setup in its own function

13 years agoAUTHORS: Mention Luiz's contributions
Denis Kenzior [Fri, 1 Jul 2011 08:14:07 +0000 (03:14 -0500)]
AUTHORS: Mention Luiz's contributions

13 years agobluetooth: make uuid profile detection more generic
Luiz Augusto von Dentz [Fri, 1 Jul 2011 07:12:23 +0000 (10:12 +0300)]
bluetooth: make uuid profile detection more generic

13 years agobluetooth: use lower case for UUIDs
Luiz Augusto von Dentz [Fri, 1 Jul 2011 07:12:22 +0000 (10:12 +0300)]
bluetooth: use lower case for UUIDs

BlueZ also uses lower case

13 years agoRelease 0.51 0.51
Marcel Holtmann [Fri, 1 Jul 2011 03:15:56 +0000 (20:15 -0700)]
Release 0.51

13 years agostkutil: Fix alignment issue with channel data length
Marcel Holtmann [Fri, 1 Jul 2011 02:32:46 +0000 (19:32 -0700)]
stkutil: Fix alignment issue with channel data length

13 years agostkutil: Fix alignment issue with building event list
Marcel Holtmann [Fri, 1 Jul 2011 02:32:11 +0000 (19:32 -0700)]
stkutil: Fix alignment issue with building event list

13 years agostkutil: Add missing call to va_end()
Marcel Holtmann [Fri, 1 Jul 2011 00:33:59 +0000 (17:33 -0700)]
stkutil: Add missing call to va_end()

13 years agobuild: Split non-root unit tests to have make check succeed
Marcel Holtmann [Thu, 30 Jun 2011 23:19:24 +0000 (16:19 -0700)]
build: Split non-root unit tests to have make check succeed

13 years agobuild: Add unit test cases to make check funtionality
Marcel Holtmann [Thu, 30 Jun 2011 23:04:12 +0000 (16:04 -0700)]
build: Add unit test cases to make check funtionality

13 years agoAUTHORS: Mention Michael's contributions
Denis Kenzior [Thu, 30 Jun 2011 05:42:48 +0000 (00:42 -0500)]
AUTHORS: Mention Michael's contributions

13 years agoudev: fix detection of HP HS2330 (3607gw)
Michael Schloh von Bennewitz [Thu, 30 Jun 2011 05:39:44 +0000 (00:39 -0500)]
udev: fix detection of HP HS2330 (3607gw)

commit 6a2847f7aba5d84b06940ee29300d4b6fd31d682 introduced basic
detection of HP HS2330 based on OEM Ericsson F3607gw modems.

Because some (or all?) HS2330 modems contain flawed text identifiers
containing strange (probably erroneous) binary sequences in place of
the ASCII space '\x20' character, the previous commit is incomplete.
The following logic detects the modem properly, by comparing binary
data as well as ASCII text values.

13 years agoTODO: Mark ACFC task as done
Denis Kenzior [Wed, 29 Jun 2011 10:07:53 +0000 (05:07 -0500)]
TODO: Mark ACFC task as done

13 years agoTODO: Mark PFC support as done
Denis Kenzior [Wed, 29 Jun 2011 10:05:11 +0000 (05:05 -0500)]
TODO: Mark PFC support as done

13 years agoppp: Add basic length sanity checks
Denis Kenzior [Wed, 29 Jun 2011 10:00:56 +0000 (05:00 -0500)]
ppp: Add basic length sanity checks

13 years agogsmdial: Add pfc & acfc options to gsmdial
Denis Kenzior [Wed, 29 Jun 2011 09:03:57 +0000 (04:03 -0500)]
gsmdial: Add pfc & acfc options to gsmdial

13 years agoppp: Don't regenerate options when unchanged
Denis Kenzior [Wed, 29 Jun 2011 09:03:25 +0000 (04:03 -0500)]
ppp: Don't regenerate options when unchanged

13 years agogatppp: Refactor tx path
Denis Kenzior [Wed, 29 Jun 2011 08:46:54 +0000 (03:46 -0500)]
gatppp: Refactor tx path

13 years agogatppp: Refactor rx path
Denis Kenzior [Wed, 29 Jun 2011 08:32:51 +0000 (03:32 -0500)]
gatppp: Refactor rx path

13 years agogatppp: Re-format & re-word comments
Denis Kenzior [Wed, 29 Jun 2011 08:32:27 +0000 (03:32 -0500)]
gatppp: Re-format & re-word comments

13 years agogsmdial: Use ACFC and PFC by default
Guillaume Zajac [Wed, 29 Jun 2011 08:20:26 +0000 (10:20 +0200)]
gsmdial: Use ACFC and PFC by default

13 years agoemulator: Use ACFC and PFC by default
Guillaume Zajac [Wed, 29 Jun 2011 08:20:25 +0000 (10:20 +0200)]
emulator: Use ACFC and PFC by default

13 years agoGAtPPP: Add PFC option support
Guillaume Zajac [Wed, 29 Jun 2011 08:20:24 +0000 (10:20 +0200)]
GAtPPP: Add PFC option support

13 years agoGAtPPP: Add ACFC option support
Guillaume Zajac [Wed, 29 Jun 2011 08:20:23 +0000 (10:20 +0200)]
GAtPPP: Add ACFC option support

13 years agostk: Remove deprecated structure
Philippe Nunes [Wed, 29 Jun 2011 12:59:54 +0000 (14:59 +0200)]
stk: Remove deprecated structure

13 years agoudev: Tweak detection rules for HP HS2330 cards
Denis Kenzior [Mon, 27 Jun 2011 17:17:22 +0000 (12:17 -0500)]
udev: Tweak detection rules for HP HS2330 cards

13 years agoudev: changed linktop device strings
Amit Mendapara [Mon, 27 Jun 2011 06:22:15 +0000 (11:52 +0530)]
udev: changed linktop device strings

13 years agolinktop: reimplemented with minimum features
Amit Mendapara [Mon, 27 Jun 2011 06:22:14 +0000 (11:52 +0530)]
linktop: reimplemented with minimum features

The device supports subset of ST-Ericsson AT command
extensions but nither STE nor the MBM plugin works with
these devices.

Fixes MeeGo bug #14784

13 years agombm: Use decode_error from atutil
Denis Kenzior [Mon, 27 Jun 2011 14:58:02 +0000 (09:58 -0500)]
mbm: Use decode_error from atutil

13 years agovoicecall: add ATD> support for HFP emulator
Frédéric Danis [Tue, 21 Jun 2011 16:48:34 +0000 (18:48 +0200)]
voicecall: add ATD> support for HFP emulator

13 years agomessage-waiting: API to retrieve voicemail number
Frédéric Danis [Tue, 21 Jun 2011 16:48:33 +0000 (18:48 +0200)]
message-waiting: API to retrieve voicemail number

13 years agoemulator: fix local HFP AG features
Frédéric Danis [Tue, 21 Jun 2011 12:49:49 +0000 (14:49 +0200)]
emulator: fix local HFP AG features

13 years agohfpmodem: remove previous HFP defines
Frédéric Danis [Tue, 21 Jun 2011 12:49:48 +0000 (14:49 +0200)]
hfpmodem: remove previous HFP defines

13 years agohfp_hf: update to use new HFP enums
Frédéric Danis [Tue, 21 Jun 2011 12:49:47 +0000 (14:49 +0200)]
hfp_hf: update to use new HFP enums

13 years agoinclude: add HFP features types for HF and AG
Frédéric Danis [Tue, 21 Jun 2011 12:49:46 +0000 (14:49 +0200)]
include: add HFP features types for HF and AG

13 years agohfp_ag: fix SDP record
Frédéric Danis [Mon, 20 Jun 2011 15:13:47 +0000 (17:13 +0200)]
hfp_ag: fix SDP record

HFP AG supports 3 way calls

13 years agovoicecall: add +BLDN support for HFP emulator
Frédéric Danis [Wed, 8 Jun 2011 13:47:25 +0000 (15:47 +0200)]
voicecall: add +BLDN support for HFP emulator

13 years agovoicecall: add ATD support for HFP emulator
Frédéric Danis [Wed, 8 Jun 2011 13:47:24 +0000 (15:47 +0200)]
voicecall: add ATD support for HFP emulator

13 years agocall-settings: fix typo
Nicolas Bertrand [Fri, 17 Jun 2011 13:09:12 +0000 (15:09 +0200)]
call-settings: fix typo

13 years agou8500: Use new UICC SIM driver
Aki Niemi [Thu, 16 Jun 2011 11:48:13 +0000 (14:48 +0300)]
u8500: Use new UICC SIM driver

13 years agobuild: Add UICC driver to build
Aki Niemi [Thu, 16 Jun 2011 11:48:04 +0000 (14:48 +0300)]
build: Add UICC driver to build

13 years agoisimodem: Add baseline for UICC driver
Aki Niemi [Thu, 16 Jun 2011 11:47:50 +0000 (14:47 +0300)]
isimodem: Add baseline for UICC driver

13 years agoisimodem: Add missing codepoints and debugs
Aki Niemi [Fri, 17 Jun 2011 13:40:16 +0000 (16:40 +0300)]
isimodem: Add missing codepoints and debugs

13 years agoisimodem: Fix style in UICC definitions
Aki Niemi [Thu, 16 Jun 2011 11:45:46 +0000 (14:45 +0300)]
isimodem: Fix style in UICC definitions

13 years agoemulator: fix request tests
Frédéric Danis [Thu, 16 Jun 2011 13:27:48 +0000 (15:27 +0200)]
emulator: fix request tests

13 years agoRelease 0.50 0.50
Marcel Holtmann [Thu, 16 Jun 2011 02:24:43 +0000 (19:24 -0700)]
Release 0.50

13 years agoudev: add initial Telit support
Bernhard Guillon [Wed, 15 Jun 2011 07:17:27 +0000 (09:17 +0200)]
udev: add initial Telit support

13 years agoisimodem: Improper handling of missed call
Arun Ravindran [Mon, 23 May 2011 15:20:11 +0000 (18:20 +0300)]
isimodem: Improper handling of missed call

13 years agombmmodem: Fix not setting IPv4 Gateway
Denis Kenzior [Sun, 12 Jun 2011 22:47:48 +0000 (17:47 -0500)]
mbmmodem: Fix not setting IPv4 Gateway

13 years agocdma-voicecall: Fix for crash when unregistering atom
Dara Spieker-Doyle [Mon, 13 Jun 2011 23:01:31 +0000 (16:01 -0700)]
cdma-voicecall: Fix for crash when unregistering atom

13 years agotelit: Use more generic error decoding
Denis Kenzior [Wed, 8 Jun 2011 09:26:22 +0000 (04:26 -0500)]
telit: Use more generic error decoding

13 years agotelit: Make sure to clean up the source
Denis Kenzior [Wed, 8 Jun 2011 09:23:07 +0000 (04:23 -0500)]
telit: Make sure to clean up the source

13 years agotelit: Update copyright
Denis Kenzior [Wed, 8 Jun 2011 09:19:56 +0000 (04:19 -0500)]
telit: Update copyright

13 years agoplugins: Add initial telit UC864-G support
Bernhard Guillon [Wed, 8 Jun 2011 15:18:35 +0000 (17:18 +0200)]
plugins: Add initial telit UC864-G support

13 years agoifxmodem: Remove unneeded code
Denis Kenzior [Mon, 6 Jun 2011 23:06:10 +0000 (18:06 -0500)]
ifxmodem: Remove unneeded code

13 years agoifxmodem: Fix minor style issue
Denis Kenzior [Mon, 6 Jun 2011 23:04:26 +0000 (18:04 -0500)]
ifxmodem: Fix minor style issue

13 years agoifxmodem: emergency number list support
Jeevaka Badrappan [Wed, 8 Jun 2011 15:44:47 +0000 (08:44 -0700)]
ifxmodem: emergency number list support

13 years agoAUTHORS: Mention Bernhard's contributions
Denis Kenzior [Mon, 6 Jun 2011 22:51:09 +0000 (17:51 -0500)]
AUTHORS: Mention Bernhard's contributions

13 years agonetwork-registration.c: add telit support
Bernhard Guillon [Wed, 8 Jun 2011 15:18:34 +0000 (17:18 +0200)]
network-registration.c: add telit support

*add support for CIND=? tokens like ("signal",(0-7,99))
*add telit quirk for token encapsulation e.g.
    (("one",(0-7,99)),("two",(0-7,99)))

13 years agoatmodem/vendor.h: add OFONO_VENDOR_TELIT
Bernhard Guillon [Wed, 8 Jun 2011 15:18:36 +0000 (17:18 +0200)]
atmodem/vendor.h: add OFONO_VENDOR_TELIT

13 years agotest: Add modem argument to initiate-ussd
Bertrand Aygon [Wed, 8 Jun 2011 14:18:57 +0000 (16:18 +0200)]
test: Add modem argument to initiate-ussd

13 years agotest: Add modem argument to cancel-ussd
Bertrand Aygon [Wed, 8 Jun 2011 13:56:28 +0000 (15:56 +0200)]
test: Add modem argument to cancel-ussd

13 years agotest: Add modem argument to test-ussd
Bertrand Aygon [Wed, 8 Jun 2011 13:50:39 +0000 (15:50 +0200)]
test: Add modem argument to test-ussd

13 years agobluetooth: Remove usage of ofono.h
Denis Kenzior [Mon, 6 Jun 2011 06:03:32 +0000 (01:03 -0500)]
bluetooth: Remove usage of ofono.h

13 years agocdma-smsutil: Fix uninitialized var on gcc >= 4.5
Denis Kenzior [Mon, 6 Jun 2011 03:17:15 +0000 (22:17 -0500)]
cdma-smsutil: Fix uninitialized var on gcc >= 4.5

13 years agoTODO: Set owner on ACFC and PFC PPP options
Guillaume Zajac [Mon, 6 Jun 2011 14:45:13 +0000 (16:45 +0200)]
TODO: Set owner on ACFC and PFC PPP options

13 years agohuawei: NDIS port doesn't depend on modem port
Caiwen Zhang [Fri, 3 Jun 2011 09:14:07 +0000 (17:14 +0800)]
huawei: NDIS port doesn't depend on modem port

When creating the NDIS gprs context, do not check the existence of the
modem port.

13 years agohuawei: Minor tweaks to debug messages
Denis Kenzior [Thu, 2 Jun 2011 21:02:04 +0000 (16:02 -0500)]
huawei: Minor tweaks to debug messages

13 years agohuawei: reopen once if open device failed
Caiwen Zhang [Fri, 3 Jun 2011 09:00:10 +0000 (17:00 +0800)]
huawei: reopen once if open device failed

Sometimes when we try to open the modem (PPP) device, it may fail.
If opening the tty failed, retry once one second later.

13 years agosim: Make sure only PINs can be sent to EnterPin
Denis Kenzior [Thu, 2 Jun 2011 20:55:26 +0000 (15:55 -0500)]
sim: Make sure only PINs can be sent to EnterPin

13 years agogprs: Unify logic inside registration_status_cb
Denis Kenzior [Thu, 2 Jun 2011 07:35:39 +0000 (02:35 -0500)]
gprs: Unify logic inside registration_status_cb

And delay reseting the ATTACHING flag until we had a chance to query the
CGREG status.

13 years agotools: Use mobile-broadband-provider-info database location if present
Marcel Holtmann [Fri, 3 Jun 2011 06:49:03 +0000 (08:49 +0200)]
tools: Use mobile-broadband-provider-info database location if present

13 years agobuild: Check for mobile-broadband-provider-info database
Marcel Holtmann [Fri, 3 Jun 2011 06:48:49 +0000 (08:48 +0200)]
build: Check for mobile-broadband-provider-info database

13 years agoemulator: Don't try to release in case of error
Denis Kenzior [Thu, 2 Jun 2011 02:50:02 +0000 (21:50 -0500)]
emulator: Don't try to release in case of error

13 years agovoicecall: save last dialed number
Frédéric Danis [Wed, 1 Jun 2011 11:24:22 +0000 (13:24 +0200)]
voicecall: save last dialed number

13 years agovoicecall: create generic dial function
Frédéric Danis [Wed, 1 Jun 2011 11:24:20 +0000 (13:24 +0200)]
voicecall: create generic dial function

split manager_dial between generic and dbus parts

13 years agostk: Cancel pending DTMF tones if session is ended
Denis Kenzior [Wed, 1 Jun 2011 04:31:41 +0000 (23:31 -0500)]
stk: Cancel pending DTMF tones if session is ended

The Send DTMF command is special in its use of DisplayAction method of
STK agent.  This allows the user to send a 'User Terminated Session'
response to the SIM.  If the user performs this action, then any pending
DTMFs should also be canceled as soon as possible.

13 years agostk: simplify respond_on_exit flag handling
Philippe Nunes [Fri, 20 May 2011 16:26:14 +0000 (18:26 +0200)]
stk: simplify respond_on_exit flag handling

respond_on_exit flag is set by commands which are dispatched to the
agent, so that if the agent exits prematurely, a 'User Terminated
Session' response is sent to the SIM.

There were a couple of corner cases not quite handled correctly:

- During Set Up Call, if the user confirmation phase succeeded and the
  call was dispatched to voicecall atom successfully, and the agent
  exited at this point, then no terminal response would be sent until
  the call succeeded / failed.  Now the agent termination results in an
  'User Terminated Session' response being sent immediately, but the
  call setup proceeding.

13 years agoTODO: set owner of call forwarding state handling
Nicolas Bertrand [Tue, 31 May 2011 16:21:25 +0000 (18:21 +0200)]
TODO: set owner of call forwarding state handling

13 years agobluetooth: Initialize GError properly
Denis Kenzior [Tue, 31 May 2011 16:41:42 +0000 (11:41 -0500)]
bluetooth: Initialize GError properly

13 years agonetreg: Remove unused variable
Denis Kenzior [Tue, 31 May 2011 16:32:56 +0000 (11:32 -0500)]
netreg: Remove unused variable

13 years agosmsutil: Mark variable properly as unused
Marcel Holtmann [Sun, 29 May 2011 18:55:48 +0000 (11:55 -0700)]
smsutil: Mark variable properly as unused

13 years agoRelease 0.49 0.49
Marcel Holtmann [Sun, 29 May 2011 00:44:22 +0000 (17:44 -0700)]
Release 0.49

13 years agoemulator: Fix make distcheck
Denis Kenzior [Wed, 25 May 2011 15:01:16 +0000 (10:01 -0500)]
emulator: Fix make distcheck

13 years agobtio: Add workaround for not defined BT_FLUSHABLE
Marcel Holtmann [Fri, 27 May 2011 17:21:16 +0000 (10:21 -0700)]
btio: Add workaround for not defined BT_FLUSHABLE