platform/upstream/ofono.git
13 years agoemulator: add indicator support API
Frédéric Danis [Wed, 23 Feb 2011 15:48:48 +0000 (16:48 +0100)]
emulator: add indicator support API

13 years agoemulator: Disable echo for hfp emulators
Frédéric Dalleau [Wed, 23 Feb 2011 13:19:13 +0000 (14:19 +0100)]
emulator: Disable echo for hfp emulators

13 years agogatserver: Add function to enable/disable echo
Frédéric Dalleau [Wed, 23 Feb 2011 13:19:12 +0000 (14:19 +0100)]
gatserver: Add function to enable/disable echo

13 years agou8500: Fix plugin description
Aki Niemi [Wed, 23 Feb 2011 13:22:56 +0000 (15:22 +0200)]
u8500: Fix plugin description

13 years agobuild: Add u8500 plugin
Jessica Nilsson [Wed, 23 Feb 2011 13:22:14 +0000 (15:22 +0200)]
build: Add u8500 plugin

13 years agoplugins: add plugin for u8500
Jessica Nilsson [Wed, 23 Feb 2011 11:43:14 +0000 (12:43 +0100)]
plugins: add plugin for u8500

13 years agoisimodem: added codepoints for u8500
Jessica Nilsson [Wed, 23 Feb 2011 11:43:13 +0000 (12:43 +0100)]
isimodem: added codepoints for u8500

13 years agoste: Fix various style issues with previous patch
Denis Kenzior [Tue, 22 Feb 2011 18:06:09 +0000 (12:06 -0600)]
ste: Fix various style issues with previous patch

13 years agoste: preparation for hotswap
Jussi Kangas [Mon, 14 Feb 2011 08:40:53 +0000 (10:40 +0200)]
ste: preparation for hotswap

13 years agogatserver: Add various ATSx handlers
Olivier Guiter [Tue, 22 Feb 2011 14:54:45 +0000 (15:54 +0100)]
gatserver: Add various ATSx handlers

13 years agoofono.rules: remove patch leftovers in linktop rules
Rolf Offermanns [Tue, 22 Feb 2011 13:36:38 +0000 (14:36 +0100)]
ofono.rules: remove patch leftovers in linktop rules

13 years agostemodem: Add support for multiple pdp contexts.
Marit Henriksen [Mon, 21 Feb 2011 11:59:11 +0000 (12:59 +0100)]
stemodem: Add support for multiple pdp contexts.

Redesigned, there will be only one contexts for each instance of
the driver and only one CAIF interface, no longer need the list
of caif devices.

13 years agoste: Add support for multiple pdp contexts.
Marit Henriksen [Mon, 21 Feb 2011 11:58:55 +0000 (12:58 +0100)]
ste: Add support for multiple pdp contexts.

13 years agoemulator: fix whitespace corruption
Denis Kenzior [Sat, 19 Feb 2011 22:05:54 +0000 (16:05 -0600)]
emulator: fix whitespace corruption

13 years agoAUTHORS: Deduplicate
Andrzej Zaborowski [Sat, 19 Feb 2011 10:00:38 +0000 (11:00 +0100)]
AUTHORS: Deduplicate

As noted on IRC.

13 years agoemulator: add dialing support
Gustavo F. Padovan [Fri, 18 Feb 2011 17:27:34 +0000 (14:27 -0300)]
emulator: add dialing support

It handles client ATD*99# request and then initiate the PPP negotiation.
IP forward through the new ppp interface is not done yet.

Initially based on patches from Zhenhua Zhang <zhenhua.zhang@intel.com>

13 years agosim: Check for SIM lockout condition
Denis Kenzior [Fri, 18 Feb 2011 17:24:08 +0000 (11:24 -0600)]
sim: Check for SIM lockout condition

When a user tries to lock/unlock/change a PIN and enters it wrongly
several times, it is possible to lock themselves out.  In this case we
should drop to a pre-sim state, wait for the user to enter the PUK and
re-init the sim.

13 years agosim: Move stuff around and remove forward decl
Denis Kenzior [Fri, 18 Feb 2011 17:20:10 +0000 (11:20 -0600)]
sim: Move stuff around and remove forward decl

13 years agosim: move stuff around
Denis Kenzior [Fri, 18 Feb 2011 17:19:27 +0000 (11:19 -0600)]
sim: move stuff around

13 years agoisimodem: Refactor gprs-context driver
Aki Niemi [Fri, 18 Feb 2011 14:13:06 +0000 (16:13 +0200)]
isimodem: Refactor gprs-context driver

Use stack allocation for padding, and simplify message sending and
failure handling.

13 years agoisimodem: Context driver updates for wgmodem2.5
Jessica Nilsson [Tue, 15 Feb 2011 12:31:05 +0000 (13:31 +0100)]
isimodem: Context driver updates for wgmodem2.5

13 years agoisiusb: Create also the wgmodem2.5 driver
Aki Niemi [Wed, 16 Feb 2011 13:52:47 +0000 (15:52 +0200)]
isiusb: Create also the wgmodem2.5 driver

13 years agoisimodem: Refactor netreg driver a bit more
Aki Niemi [Wed, 16 Feb 2011 13:47:27 +0000 (15:47 +0200)]
isimodem: Refactor netreg driver a bit more

Split the driver into two separate drivers, one for each resource ID
used.

13 years agobluetooth: add DBG() messages
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:49 +0000 (19:00 -0300)]
bluetooth: add DBG() messages

13 years agobluetooth: fix crash by removing record
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:48 +0000 (19:00 -0300)]
bluetooth: fix crash by removing record

When bluetoothd is not running we should not call RemoveRecord()

13 years agobluetooth: change how we report DBus errors
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:47 +0000 (19:00 -0300)]
bluetooth: change how we report DBus errors

13 years agobluetooth: add a bluetoothd connect watch
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:46 +0000 (19:00 -0300)]
bluetooth: add a bluetoothd connect watch

This fix a issue with sending DBus messages when bluetoothd is not up yet.

13 years agobluetooth: move find_adapter_cb to better place.
Gustavo F. Padovan [Thu, 17 Feb 2011 22:00:45 +0000 (19:00 -0300)]
bluetooth: move find_adapter_cb to better place.

13 years agostk: Partially handle Refresh command
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:59 +0000 (08:58 +0100)]
stk: Partially handle Refresh command

Only the four "NAA initialisation" modes are handled at the moment.

13 years agocbs: Set topics on EFcbmid change only if powered
Denis Kenzior [Thu, 17 Feb 2011 20:49:03 +0000 (14:49 -0600)]
cbs: Set topics on EFcbmid change only if powered

13 years agocbs: Watch for changes to relevant SIM files
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:56 +0000 (08:58 +0100)]
cbs: Watch for changes to relevant SIM files

13 years agonetwork: Watch for changes to relevant SIM files
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:55 +0000 (08:58 +0100)]
network: Watch for changes to relevant SIM files

13 years agovoicecall: Watch for changes to relevant SIM files
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:54 +0000 (08:58 +0100)]
voicecall: Watch for changes to relevant SIM files

13 years agosim: Tweak the behavior of sim_refresh slightly
Denis Kenzior [Thu, 17 Feb 2011 20:20:04 +0000 (14:20 -0600)]
sim: Tweak the behavior of sim_refresh slightly

Instead of notifying everyone of sim_inserted condition, we should
simply notify the modem directly.  It is the only one interested in this
particular change.

This partly reverts an earlier commit:
9498ad6b5633e350eb529f8efbe08270d95c8003

13 years agosim: Implement basic Refresh
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:52 +0000 (08:58 +0100)]
sim: Implement basic Refresh

13 years agomodem.c: Handle SIM Resets
Andrzej Zaborowski [Tue, 15 Feb 2011 07:58:51 +0000 (08:58 +0100)]
modem.c: Handle SIM Resets

The assumption so far was that SIM state would only go from
NOT_PRESENT -> INSERTED -> READY -> NOT_PRESENT because there's
no method to unauthenticate from SIM without removing.  We need to
be able to switch to INSERTED when SIM is being reset,
reinitialised, etc. because going to NOT_PRESENT and then
immediately INSERTED would be logically wrong.

13 years agoRelease 0.43 0.43
Marcel Holtmann [Thu, 17 Feb 2011 19:55:30 +0000 (11:55 -0800)]
Release 0.43

13 years agotest-server: Fix crash when remote disconnects
Guillaume Zajac [Thu, 17 Feb 2011 17:27:13 +0000 (18:27 +0100)]
test-server: Fix crash when remote disconnects

If the remote side kills the connection when PPP is established, we
should not try to resume the AT server.

13 years agoemulator: always create emulators in offline state
Frédéric Danis [Thu, 17 Feb 2011 17:23:29 +0000 (18:23 +0100)]
emulator: always create emulators in offline state

this allows to fix problem when atom created in online state
are destroyed when modem goes to offline state

13 years agobluetooth: remove unneeded g_io_channel_shutdown
Frédéric Danis [Thu, 17 Feb 2011 16:52:57 +0000 (17:52 +0100)]
bluetooth: remove unneeded g_io_channel_shutdown

13 years agohfp_ag: Minor style fix
Denis Kenzior [Thu, 17 Feb 2011 16:07:31 +0000 (10:07 -0600)]
hfp_ag: Minor style fix

13 years agohfp_ag: Do not close client fd on unref
Frédéric Dalleau [Thu, 17 Feb 2011 15:55:26 +0000 (16:55 +0100)]
hfp_ag: Do not close client fd on unref

13 years agoemulator: unref GIOChannel after creation
Frédéric Dalleau [Thu, 17 Feb 2011 15:55:25 +0000 (16:55 +0100)]
emulator: unref GIOChannel after creation

13 years agoudev: set Huawei EM770W modem device to 00
Martin Xu [Sat, 12 Feb 2011 09:41:15 +0000 (17:41 +0800)]
udev: set Huawei EM770W modem device to 00

Device 00 is ppp port. Setting it as 01, my Huawei EM770W modem PPP
connection can't work

13 years agogsmdial: Fix minor style quirk
Denis Kenzior [Wed, 16 Feb 2011 21:45:39 +0000 (15:45 -0600)]
gsmdial: Fix minor style quirk

13 years agogsmdial: add option for Bluetooth DUN dialing
Gustavo F. Padovan [Wed, 16 Feb 2011 21:41:07 +0000 (18:41 -0300)]
gsmdial: add option for Bluetooth DUN dialing

13 years agoPPP: Use default ACCM (0xffffffff) to trasmit
Martin Xu [Tue, 15 Feb 2011 06:53:16 +0000 (14:53 +0800)]
PPP: Use default ACCM (0xffffffff) to trasmit

Using my Huawei EM770W modem, if set ACCM as 0x00000000, RXJ-
event breaks PPP link, after IP package transmit for a while.
Using default ACCM, the issue can be fixed.
I tested it at China Unicom networks.

13 years agoTODO: Add STK class 'e' tasks
Philippe Nunes [Wed, 16 Feb 2011 17:24:29 +0000 (18:24 +0100)]
TODO: Add STK class 'e' tasks

13 years agolinktop: power up the modem in 'offline' state
Amit Mendapara [Tue, 15 Feb 2011 21:04:32 +0000 (02:34 +0530)]
linktop: power up the modem in 'offline' state

13 years agobluetooth: rename hfp.c in hpf_hf.c
Frédéric Danis [Wed, 16 Feb 2011 16:25:51 +0000 (17:25 +0100)]
bluetooth: rename hfp.c in hpf_hf.c

13 years agoAUTHORS: Mention Jan's contributions
Denis Kenzior [Wed, 16 Feb 2011 15:47:33 +0000 (09:47 -0600)]
AUTHORS: Mention Jan's contributions

13 years agoofono.rules: add ID for Sierra Wireless MC8790
Jan Luebbe [Wed, 16 Feb 2011 15:34:49 +0000 (16:34 +0100)]
ofono.rules: add ID for Sierra Wireless MC8790

13 years agoAUTHORS: Mention Paavo's contributions
Denis Kenzior [Wed, 16 Feb 2011 15:10:12 +0000 (09:10 -0600)]
AUTHORS: Mention Paavo's contributions

13 years agotest: fix parameter type error
Paavo Leinonen [Wed, 16 Feb 2011 08:58:53 +0000 (10:58 +0200)]
test: fix parameter type error

in 'test-advice-of-charge'-script

13 years agoisimodem: Add MCE code points
Jessica Nilsson [Tue, 15 Feb 2011 12:30:57 +0000 (13:30 +0100)]
isimodem: Add MCE code points

Updates required for wgmodem2.5.

13 years agodevinfo: Handle BT DUN +GMI/+GMM/+GMR commands
Denis Kenzior [Wed, 16 Feb 2011 06:22:58 +0000 (00:22 -0600)]
devinfo: Handle BT DUN +GMI/+GMM/+GMR commands

13 years agohfp_ag: Create emulator with type HFP_AG
Frédéric Danis [Tue, 15 Feb 2011 15:06:32 +0000 (16:06 +0100)]
hfp_ag: Create emulator with type HFP_AG

13 years agoemulator: Handle multiple emulator types
Frédéric Danis [Tue, 15 Feb 2011 15:06:32 +0000 (16:06 +0100)]
emulator: Handle multiple emulator types

13 years agoemulator: add HFP emulator type
Frédéric Danis [Tue, 15 Feb 2011 15:06:32 +0000 (16:06 +0100)]
emulator: add HFP emulator type

13 years agodun_gw: Reformat SDP record
Denis Kenzior [Wed, 16 Feb 2011 05:37:41 +0000 (23:37 -0600)]
dun_gw: Reformat SDP record

13 years agodun_gw: Add DUN server plugin for oFono
Gustavo F. Padovan [Tue, 15 Feb 2011 19:21:03 +0000 (16:21 -0300)]
dun_gw: Add DUN server plugin for oFono

DUN server is probed when modem state changes to online. It registers
DUN record to Bluetooth adapter and wait for incoming DUN connection.

Based on a patch from Zhenhua Zhang <zhenhua.zhang@intel.com>

13 years agohfp_ag: Reformat SDP record
Denis Kenzior [Wed, 16 Feb 2011 05:36:15 +0000 (23:36 -0600)]
hfp_ag: Reformat SDP record

13 years agobluetooth: add HFP AG plugin
Frédéric Danis [Tue, 15 Feb 2011 15:06:31 +0000 (16:06 +0100)]
bluetooth: add HFP AG plugin

13 years agoemulator: Initial public API implementation
Denis Kenzior [Wed, 16 Feb 2011 04:23:22 +0000 (22:23 -0600)]
emulator: Initial public API implementation

13 years agoemulator: Add additional APIs
Denis Kenzior [Wed, 16 Feb 2011 04:23:08 +0000 (22:23 -0600)]
emulator: Add additional APIs

13 years agogatserver: Be more const correct
Denis Kenzior [Wed, 16 Feb 2011 04:19:46 +0000 (22:19 -0600)]
gatserver: Be more const correct

13 years agoMakefile: rerun genbuiltin on reconfigure.
Andrzej Zaborowski [Tue, 15 Feb 2011 08:55:52 +0000 (09:55 +0100)]
Makefile: rerun genbuiltin on reconfigure.

Make builtin.h depend on config.status to force regeneration when
plugins may have been enabled or disabled.  There may be a better
way to do that.  The dependency on builtin_sources is not needed.

13 years agotest-server: Fix a few more occurrences
Denis Kenzior [Tue, 15 Feb 2011 22:05:02 +0000 (16:05 -0600)]
test-server: Fix a few more occurrences

13 years agoemulator: Add basic API for emulator
Denis Kenzior [Tue, 15 Feb 2011 21:46:51 +0000 (15:46 -0600)]
emulator: Add basic API for emulator

13 years agogatserver: Change callback signature
Denis Kenzior [Tue, 15 Feb 2011 21:46:24 +0000 (15:46 -0600)]
gatserver: Change callback signature

Provide the originating GAtServer to the callback

13 years agogatserver: extend D with GSM/UMTS specifics
Denis Kenzior [Tue, 15 Feb 2011 20:34:26 +0000 (14:34 -0600)]
gatserver: extend D with GSM/UMTS specifics

13 years agotest-server: Behavior to match previous commit
Denis Kenzior [Tue, 15 Feb 2011 20:28:01 +0000 (14:28 -0600)]
test-server: Behavior to match previous commit

13 years agogatserver: Don't bother reporting command prefixes
Denis Kenzior [Tue, 15 Feb 2011 20:26:58 +0000 (14:26 -0600)]
gatserver: Don't bother reporting command prefixes

The command line parser knows where the actual command line parameters
begin, so there's no need to make the callback skip the prefix and the
additional separator characters.

13 years agoconfigure: Check for bluez >= 4.30.
Andrzej Zaborowski [Tue, 15 Feb 2011 08:55:51 +0000 (09:55 +0100)]
configure: Check for bluez >= 4.30.

Earlier versions lack struct sockaddr_l2::l2_cid and/or
struct bt_security.

13 years agoAUTHORS: Mention Frédéric's contributions
Denis Kenzior [Tue, 15 Feb 2011 19:22:35 +0000 (13:22 -0600)]
AUTHORS: Mention Frédéric's contributions

13 years agoAUTHORS: Mention Frédéric's contributions
Denis Kenzior [Tue, 15 Feb 2011 19:21:15 +0000 (13:21 -0600)]
AUTHORS: Mention Frédéric's contributions

13 years agobluetooth: Reset adapter_any_path to NULL in unref
Denis Kenzior [Tue, 15 Feb 2011 19:19:07 +0000 (13:19 -0600)]
bluetooth: Reset adapter_any_path to NULL in unref

13 years agobluetooth: style issues
Denis Kenzior [Tue, 15 Feb 2011 19:18:47 +0000 (13:18 -0600)]
bluetooth: style issues

13 years agobluetooth: single SDP record for all adapters
Frédéric Dalleau [Fri, 11 Feb 2011 09:31:05 +0000 (10:31 +0100)]
bluetooth: single SDP record for all adapters

13 years agoatmodem: close the list in clvl_range_query
Jeevaka Badrappan [Tue, 8 Feb 2011 10:14:19 +0000 (12:14 +0200)]
atmodem: close the list in clvl_range_query

13 years agoPPP: Fix transmit ACCM and receive ACCM mixup
Martin Xu [Sat, 12 Feb 2011 09:41:13 +0000 (17:41 +0800)]
PPP: Fix transmit ACCM and receive ACCM mixup

According to RFC1662 Section 7.1, ACCM Configuration Option is
used to inform the peer which control characters MUST remain
mapped when the peer sends them.

13 years agoAUTHORS: Mention Amit's contributions
Denis Kenzior [Mon, 14 Feb 2011 19:51:57 +0000 (13:51 -0600)]
AUTHORS: Mention Amit's contributions

13 years agoudev: Add Teracom (Linktop/LW27x) device detection
Amit Mendapara [Thu, 10 Feb 2011 05:15:40 +0000 (10:45 +0530)]
udev: Add Teracom (Linktop/LW27x) device detection

13 years agoudev: Handle Linktop data card
Amit Mendapara [Thu, 10 Feb 2011 05:15:39 +0000 (10:45 +0530)]
udev: Handle Linktop data card

13 years agolinktop: Minor style issues
Denis Kenzior [Mon, 14 Feb 2011 19:47:20 +0000 (13:47 -0600)]
linktop: Minor style issues

13 years agoplugin: Add plugin for Linktop LW27x data cards
Amit Mendapara [Thu, 10 Feb 2011 05:15:38 +0000 (10:45 +0530)]
plugin: Add plugin for Linktop LW27x data cards

13 years agoAUTHORS: Mention Olivier's contributions
Denis Kenzior [Mon, 14 Feb 2011 15:51:01 +0000 (09:51 -0600)]
AUTHORS: Mention Olivier's contributions

13 years agogatserver: Add ATS5 command feature
Olivier Guiter [Thu, 10 Feb 2011 13:59:42 +0000 (14:59 +0100)]
gatserver: Add ATS5 command feature

13 years agoRelease 0.42 0.42
Marcel Holtmann [Fri, 11 Feb 2011 19:45:57 +0000 (11:45 -0800)]
Release 0.42

13 years agoifxmodem: fix issue in set rat mode
Jeevaka Badrappan [Fri, 11 Feb 2011 19:20:29 +0000 (11:20 -0800)]
ifxmodem: fix issue in set rat mode

13 years agoifxmodem: add CNAP support
Jeevaka Badrappan [Thu, 10 Feb 2011 16:16:16 +0000 (18:16 +0200)]
ifxmodem: add CNAP support

13 years agodoc: remove unused GetIcon from SimToolKit
Jeevaka Badrappan [Fri, 11 Feb 2011 17:13:59 +0000 (09:13 -0800)]
doc: remove unused GetIcon from SimToolKit

13 years agodoc: Update possible errors
Jeevaka Badrappan [Fri, 11 Feb 2011 11:34:31 +0000 (03:34 -0800)]
doc: Update possible errors

13 years agodoc: Remove unused SetProperty in NetworkRegistration
Jeevaka Badrappan [Fri, 11 Feb 2011 07:25:18 +0000 (23:25 -0800)]
doc: Remove unused SetProperty in NetworkRegistration

13 years agosms: return immediately if cached flag is set
Denis Kenzior [Thu, 10 Feb 2011 17:08:01 +0000 (11:08 -0600)]
sms: return immediately if cached flag is set

13 years agoifx: Remove modem selftest support
Jeevaka Badrappan [Thu, 10 Feb 2011 15:59:30 +0000 (17:59 +0200)]
ifx: Remove modem selftest support

Commands used for self tests are not working for all
versions of the modem firmware.

13 years agoemulator: Add example TCP based emulator
Denis Kenzior [Thu, 10 Feb 2011 06:16:24 +0000 (00:16 -0600)]
emulator: Add example TCP based emulator

13 years agomodem: Tweak online & powered watch APIs
Denis Kenzior [Thu, 10 Feb 2011 05:50:10 +0000 (23:50 -0600)]
modem: Tweak online & powered watch APIs

13 years agoemulator: Add basic emulator skeleton
Denis Kenzior [Thu, 10 Feb 2011 05:22:43 +0000 (23:22 -0600)]
emulator: Add basic emulator skeleton

13 years agoemulator: Add basic emulator API
Denis Kenzior [Thu, 10 Feb 2011 04:06:16 +0000 (22:06 -0600)]
emulator: Add basic emulator API