platform/upstream/ofono.git
13 years agostk: Fix possible crash
Denis Kenzior [Tue, 26 Jul 2011 03:20:43 +0000 (22:20 -0500)]
stk: Fix possible crash

We can't call stk_command_free on a NULL object

13 years agostk: Handle set up call in handled_notify
Jeevaka Badrappan [Mon, 25 Jul 2011 18:15:27 +0000 (11:15 -0700)]
stk: Handle set up call in handled_notify

13 years agovoicecall: api for set/clear alpha and icon id
Jeevaka Badrappan [Mon, 25 Jul 2011 18:15:26 +0000 (11:15 -0700)]
voicecall: api for set/clear alpha and icon id

13 years agogatchat: Fix port settings and debugging for QCDM test tool
Marcel Holtmann [Tue, 26 Jul 2011 14:00:15 +0000 (16:00 +0200)]
gatchat: Fix port settings and debugging for QCDM test tool

13 years agogatchat: Add helper for opening QCDM ports
Marcel Holtmann [Tue, 26 Jul 2011 13:59:47 +0000 (15:59 +0200)]
gatchat: Add helper for opening QCDM ports

13 years agogatchat: Fix handling of HDLC debug output
Marcel Holtmann [Tue, 26 Jul 2011 13:53:06 +0000 (15:53 +0200)]
gatchat: Fix handling of HDLC debug output

13 years agospeedup: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Tue, 26 Jul 2011 11:32:46 +0000 (13:32 +0200)]
speedup: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.

13 years agolinktop: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Tue, 26 Jul 2011 11:24:41 +0000 (13:24 +0200)]
linktop: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.

13 years agozte: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Tue, 26 Jul 2011 11:14:29 +0000 (13:14 +0200)]
zte: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.

13 years agohuaweicdma: remove unneeded include.
Bertrand Aygon [Tue, 26 Jul 2011 09:09:54 +0000 (11:09 +0200)]
huaweicdma: remove unneeded include.

13 years agospeedupcdma: remove unneeded include.
Bertrand Aygon [Tue, 26 Jul 2011 09:09:53 +0000 (11:09 +0200)]
speedupcdma: remove unneeded include.

13 years agoTODO: add HFP AG tasks related to BlueZ/PA
Frédéric Danis [Mon, 25 Jul 2011 14:27:24 +0000 (16:27 +0200)]
TODO: add HFP AG tasks related to BlueZ/PA

13 years agoatmodem: Add support for Huawei network time reports
Marcel Holtmann [Mon, 25 Jul 2011 14:53:03 +0000 (16:53 +0200)]
atmodem: Add support for Huawei network time reports

13 years agoudev: Fix race condition with Novatel modem detection
Marcel Holtmann [Mon, 25 Jul 2011 02:10:14 +0000 (04:10 +0200)]
udev: Fix race condition with Novatel modem detection

13 years agonovatel: Blacklist the NO CARRIER terminator for control channel
Marcel Holtmann [Mon, 25 Jul 2011 01:48:25 +0000 (03:48 +0200)]
novatel: Blacklist the NO CARRIER terminator for control channel

The Novatel cards will send NO CARRIER to all channels. This confuses
setting device into offline mode while still having a data connection.

13 years agogatchat: Add terminator blacklisting
Denis Kenzior [Sun, 24 Jul 2011 21:15:42 +0000 (16:15 -0500)]
gatchat: Add terminator blacklisting

13 years agonokia: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Mon, 25 Jul 2011 01:43:07 +0000 (03:43 +0200)]
nokia: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. This allows for simpler connection handling and it
allows to remove all TTY hangup work-arounds.

13 years agoudev: Fix interfaces numbers for Nokia data cards
Marcel Holtmann [Mon, 25 Jul 2011 01:42:46 +0000 (03:42 +0200)]
udev: Fix interfaces numbers for Nokia data cards

13 years agoudev: Replace bInterfaceNumber with ID_USB_INTERFACE_NUM
Marcel Holtmann [Mon, 25 Jul 2011 01:34:58 +0000 (03:34 +0200)]
udev: Replace bInterfaceNumber with ID_USB_INTERFACE_NUM

13 years agonovatel: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Mon, 25 Jul 2011 01:16:38 +0000 (03:16 +0200)]
novatel: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. This allows for simpler connection handling and it
allows to remove all TTY hangup work-arounds.

13 years agotest: Increase the context activation timeout
Marcel Holtmann [Sun, 24 Jul 2011 23:49:06 +0000 (01:49 +0200)]
test: Increase the context activation timeout

13 years agohuaweimodem: Remove the broken NDIS port handling
Marcel Holtmann [Sun, 24 Jul 2011 23:36:51 +0000 (01:36 +0200)]
huaweimodem: Remove the broken NDIS port handling

13 years agoudev: Remove broken Huawei support for NDIS port
Marcel Holtmann [Sun, 24 Jul 2011 23:36:12 +0000 (01:36 +0200)]
udev: Remove broken Huawei support for NDIS port

13 years agohuawei: Remove leftover from HasVoice flag
Marcel Holtmann [Sun, 24 Jul 2011 23:35:02 +0000 (01:35 +0200)]
huawei: Remove leftover from HasVoice flag

13 years agohuawei: Remove broken handling for NDIS support
Marcel Holtmann [Sun, 24 Jul 2011 23:34:41 +0000 (01:34 +0200)]
huawei: Remove broken handling for NDIS support

13 years agohuawei: Check supported offline mode and fix error behavior
Marcel Holtmann [Sun, 24 Jul 2011 20:31:15 +0000 (22:31 +0200)]
huawei: Check supported offline mode and fix error behavior

13 years agoudev: Remove voice setting flag from Huawei dongles
Marcel Holtmann [Sun, 24 Jul 2011 17:48:36 +0000 (19:48 +0200)]
udev: Remove voice setting flag from Huawei dongles

13 years agoudev: Use ID_USB_INTERFACE_NUM instead of OFONO_IFACE_NUM
Marcel Holtmann [Sun, 24 Jul 2011 16:35:55 +0000 (18:35 +0200)]
udev: Use ID_USB_INTERFACE_NUM instead of OFONO_IFACE_NUM

13 years agocdma-connman: fix the set_property Activate reply
Bertrand Aygon [Sun, 24 Jul 2011 06:05:01 +0000 (08:05 +0200)]
cdma-connman: fix the set_property Activate reply

13 years agocdmamodem: check for TUN/TAP devices in ConnMan atom.
Bertrand Aygon [Sun, 24 Jul 2011 03:32:42 +0000 (05:32 +0200)]
cdmamodem: check for TUN/TAP devices in ConnMan atom.

13 years agombm: Set baud rate to 115200 for TTY speed
Marcel Holtmann [Sun, 24 Jul 2011 14:09:45 +0000 (16:09 +0200)]
mbm: Set baud rate to 115200 for TTY speed

The Ericsson F5521gw is a bit picky with its TTY speed. All previous
cards do not need this setting, but this one does. To make things a
bit simpler, just set all Ericsson cards to a baud rate of 115200.

13 years agombm: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Sun, 24 Jul 2011 13:27:00 +0000 (15:27 +0200)]
mbm: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. This only affected the PPP connection used for MMS
context setups, but without the quirk the handling of MMS contexts is
a lot cleaner as well.

13 years agohuawei: Set slave channel for NW DEACT notifications
Marcel Holtmann [Sun, 24 Jul 2011 12:50:12 +0000 (14:50 +0200)]
huawei: Set slave channel for NW DEACT notifications

13 years agoatmodem: Add support for NW DEACT notifications on slave channel
Marcel Holtmann [Sun, 24 Jul 2011 12:48:39 +0000 (14:48 +0200)]
atmodem: Add support for NW DEACT notifications on slave channel

13 years agohuawei: Use AT&C0 to disable data carrier detect
Marcel Holtmann [Sun, 24 Jul 2011 10:59:14 +0000 (12:59 +0200)]
huawei: Use AT&C0 to disable data carrier detect

When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.

13 years agoifx: Fix race condition when online/offline operation fails
Marcel Holtmann [Sun, 24 Jul 2011 10:42:18 +0000 (12:42 +0200)]
ifx: Fix race condition when online/offline operation fails

13 years agoudev: Add support for Huawei E398 modems
Marcel Holtmann [Sat, 23 Jul 2011 22:39:16 +0000 (00:39 +0200)]
udev: Add support for Huawei E398 modems

13 years agoudev: Add detection support for Samsung LTE dongles
Marcel Holtmann [Sat, 23 Jul 2011 22:03:57 +0000 (00:03 +0200)]
udev: Add detection support for Samsung LTE dongles

13 years agoudev: add support for Huawei CDMA dongles.
Bertrand Aygon [Sat, 23 Jul 2011 04:45:50 +0000 (06:45 +0200)]
udev: add support for Huawei CDMA dongles.

13 years agombm: Use at_util's cpin polling implementation
Denis Kenzior [Fri, 22 Jul 2011 13:24:46 +0000 (08:24 -0500)]
mbm: Use at_util's cpin polling implementation

13 years agoatmodem: Implement generic CPIN polling
Denis Kenzior [Fri, 22 Jul 2011 13:18:02 +0000 (08:18 -0500)]
atmodem: Implement generic CPIN polling

13 years agonetwork: handle hfp operator change correctly
Denis Kenzior [Fri, 22 Jul 2011 09:51:16 +0000 (04:51 -0500)]
network: handle hfp operator change correctly

13 years agocdmamodem: send AT+GCAP to check devinfo.
Bertrand Aygon [Fri, 22 Jul 2011 04:28:04 +0000 (06:28 +0200)]
cdmamodem: send AT+GCAP to check devinfo.

13 years agoudev: Fix whitespace damage
Marcel Holtmann [Fri, 22 Jul 2011 09:19:19 +0000 (11:19 +0200)]
udev: Fix whitespace damage

13 years agoudev: add support for SpeedUp CDMA dongles.
Bertrand Aygon [Fri, 22 Jul 2011 03:57:20 +0000 (05:57 +0200)]
udev: add support for SpeedUp CDMA dongles.

13 years agovoicecall: remove usage of em_atd_number
Frédéric Danis [Thu, 21 Jul 2011 14:58:09 +0000 (16:58 +0200)]
voicecall: remove usage of em_atd_number

as emulator atom can only run with a 'ready' SIM,
use saved number instead of em_atd_number

13 years agohfp_ag: Minor style tweaks
Denis Kenzior [Fri, 22 Jul 2011 01:25:04 +0000 (20:25 -0500)]
hfp_ag: Minor style tweaks

13 years agohfp_ag: start server on sim 'ready' state
Frédéric Danis [Thu, 21 Jul 2011 14:58:08 +0000 (16:58 +0200)]
hfp_ag: start server on sim 'ready' state

update HFP AG server to start only when a modem has its SIM atom
in 'ready' state and has voice call capability

13 years agocdma-connman: Update to the new driver API
Guillaume Zajac [Thu, 21 Jul 2011 04:40:43 +0000 (06:40 +0200)]
cdma-connman: Update to the new driver API

13 years agocdma-connman: emit PropertyChanged signal
Denis Kenzior [Thu, 21 Jul 2011 09:36:47 +0000 (04:36 -0500)]
cdma-connman: emit PropertyChanged signal

When Username / Password are changed, we should emit the PropertyChanged
signal

13 years agocdma-connman: Add Username and Password properties
Guillaume Zajac [Thu, 21 Jul 2011 04:40:42 +0000 (06:40 +0200)]
cdma-connman: Add Username and Password properties

13 years agocdma-connman: Add user/pass to driver activate
Guillaume Zajac [Thu, 21 Jul 2011 04:40:41 +0000 (06:40 +0200)]
cdma-connman: Add user/pass to driver activate

Add username and password fields to cdma-connman's activate method.

13 years agoTODO: add HFP 1.6 AG tasks
Frédéric Danis [Wed, 20 Jul 2011 13:58:50 +0000 (15:58 +0200)]
TODO: add HFP 1.6 AG tasks

13 years agophonesim: Implement 'local' hfp driver
Denis Kenzior [Thu, 21 Jul 2011 08:02:58 +0000 (03:02 -0500)]
phonesim: Implement 'local' hfp driver

13 years agohfp_hf: Reorganize common code into hfpmodem
Denis Kenzior [Wed, 20 Jul 2011 19:55:31 +0000 (14:55 -0500)]
hfp_hf: Reorganize common code into hfpmodem

13 years agospeedupcdma: Create skeleton for Speed Up CDMA modem support
Guillaume Zajac [Thu, 21 Jul 2011 02:31:08 +0000 (04:31 +0200)]
speedupcdma: Create skeleton for Speed Up CDMA modem support

13 years agoofono.rules: Add rules for Tata ZTE MF 631
Bertrand Aygon [Wed, 20 Jul 2011 05:41:20 +0000 (07:41 +0200)]
ofono.rules: Add rules for Tata ZTE MF 631

13 years agohfpmodem: Minor whitespace fix
Denis Kenzior [Tue, 19 Jul 2011 21:17:01 +0000 (16:17 -0500)]
hfpmodem: Minor whitespace fix

13 years agodoc: add username and password for CDMA PPP authentication.
Bertrand Aygon [Wed, 20 Jul 2011 08:07:52 +0000 (10:07 +0200)]
doc: add username and password for CDMA PPP authentication.

13 years agovoicecall: Free settings when sim gets locked out
Denis Kenzior [Tue, 19 Jul 2011 20:07:02 +0000 (15:07 -0500)]
voicecall: Free settings when sim gets locked out

13 years agosim: Support SIM_STATE_LOCKED_OUT
Denis Kenzior [Tue, 19 Jul 2011 19:09:27 +0000 (14:09 -0500)]
sim: Support SIM_STATE_LOCKED_OUT

13 years agoinclude: Introduce a new SIM_LOCKED_OUT state
Denis Kenzior [Tue, 19 Jul 2011 19:06:42 +0000 (14:06 -0500)]
include: Introduce a new SIM_LOCKED_OUT state

This is the same as SIM_INSERTED state, except we have already queried
the always-readable EFs

13 years agosim: Break out state notification into own method
Denis Kenzior [Tue, 19 Jul 2011 19:02:40 +0000 (14:02 -0500)]
sim: Break out state notification into own method

13 years agovoicecall: close settings when SIM is removed
Frédéric Danis [Tue, 19 Jul 2011 16:49:09 +0000 (18:49 +0200)]
voicecall: close settings when SIM is removed

This also fixes the case where +BLDN uses an invalid number when the SIM
is removed.

13 years agovoicecall: fix callheld indicator for PTS
Frédéric Danis [Tue, 19 Jul 2011 16:10:47 +0000 (18:10 +0200)]
voicecall: fix callheld indicator for PTS

Fix PTS test TP/TWC/BV-03-I [Call Waiting- Hold Active/Retrieve
Waiting Call or Held].

PTS test fails after receiving intermediate update of callheld indicator
with value 0 (no held call) before it receives update to value 1
(active and held calls). This is due to the non-atomic update of calls
status after call swap (moving first call to active state before moving
second one to hold state).

HFP 1.5 spec specifies that an update of callheld indicator to 1 should
be sent after AT+CHLD=2 command.
As oFono emulator sends +CIEV only if the indicator value changes, we
need to use an intermediate state for callheld indicator (2, all calls on
hold).

So, in case of multiple active calls, or an active call with an active
mutiparty call, force update of callheld indicator to 2.

13 years agoofono.rules: Add rules for Reliance ZTE MF 688
Bertrand Aygon [Mon, 18 Jul 2011 14:33:17 +0000 (16:33 +0200)]
ofono.rules: Add rules for Reliance ZTE MF 688

13 years agoRelease 0.52 0.52
Marcel Holtmann [Sun, 17 Jul 2011 17:41:24 +0000 (19:41 +0200)]
Release 0.52

13 years agoconnman: Handle D-Bus without fd passing support
Marcel Holtmann [Sun, 17 Jul 2011 17:35:29 +0000 (19:35 +0200)]
connman: Handle D-Bus without fd passing support

13 years agobuild: Always compile unit tests
Marcel Holtmann [Fri, 15 Jul 2011 20:19:47 +0000 (22:19 +0200)]
build: Always compile unit tests

13 years agostk: Fix crash seen in stk_alpha_id_unset
Jeevaka Badrappan [Fri, 15 Jul 2011 16:29:27 +0000 (09:29 -0700)]
stk: Fix crash seen in stk_alpha_id_unset

If there is no default agent, then current agent also will
be NULL. So, call stk_agent_request_cancel only when there is a valid
current agent.

13 years agoifxmodem: add support for user_confirmation in stk
Jeevaka Badrappan [Fri, 15 Jul 2011 12:42:14 +0000 (05:42 -0700)]
ifxmodem: add support for user_confirmation in stk

13 years agoinclude: Add driver api for user confirmation
Jeevaka Badrappan [Fri, 15 Jul 2011 12:42:11 +0000 (05:42 -0700)]
include: Add driver api for user confirmation

13 years agovoicecall: Minor style fix
Denis Kenzior [Fri, 15 Jul 2011 00:58:32 +0000 (19:58 -0500)]
voicecall: Minor style fix

13 years agovoicecall: dial_request_user_cancel is not safe
Denis Kenzior [Fri, 15 Jul 2011 00:15:53 +0000 (19:15 -0500)]
voicecall: dial_request_user_cancel is not safe

It is not safe to call dial_request_user_cancel directly.  This is
because there might be a situation where the SIM requested the calls to
be dropped first.  If we're still executing the release_all_active
request and someone calls hangup -> crash.

Instead it is safer to throttle the hangup requests until the call is
actually dialing.

In similar fashion, we should not allow hanging up a specific call if a
dial request is active, unless that call is part of the SIM dial
request.  Note that by default this is not known until the driver's dial
implementation returns and the call is in the dialing (or alerting /
connected) state.

13 years agovoicecall: Send busy to DBus if emulator is pending
Denis Kenzior [Thu, 14 Jul 2011 23:23:28 +0000 (18:23 -0500)]
voicecall: Send busy to DBus if emulator is pending

13 years agovoicecall: Don't send response to defunct emulator
Denis Kenzior [Thu, 14 Jul 2011 22:42:51 +0000 (17:42 -0500)]
voicecall: Don't send response to defunct emulator

13 years agovoicecall: Throttle emulators
Denis Kenzior [Thu, 14 Jul 2011 22:33:08 +0000 (17:33 -0500)]
voicecall: Throttle emulators

Make sure that only a single request from (possibly multiple) emulators
is ever sent to the voicecall driver.  In the beginning it wasn't clear
whether this will be necessary, however several command implementations
already implemented basic throttling (+CHUP, ATD, CHLD=3, CHLD=2x) and
it made sense to make this more formal.

The other constraint is the abrupt removal of the emulator atom while an
operation is pending.  This case must be handled gracefully.  See next
commit.

13 years agovoicecall: Minor style fixes
Denis Kenzior [Thu, 14 Jul 2011 21:14:41 +0000 (16:14 -0500)]
voicecall: Minor style fixes

13 years agovoicecall: manage multiparty list in AT+CHLD=2X
Frédéric Dalleau [Tue, 5 Jul 2011 05:50:37 +0000 (07:50 +0200)]
voicecall: manage multiparty list in AT+CHLD=2X

13 years agovoicecall: manage multiparty list in AT+CHLD=3
Frédéric Dalleau [Tue, 5 Jul 2011 05:50:36 +0000 (07:50 +0200)]
voicecall: manage multiparty list in AT+CHLD=3

13 years agovoicecall: Minor style fix
Denis Kenzior [Thu, 14 Jul 2011 23:15:08 +0000 (18:15 -0500)]
voicecall: Minor style fix

13 years agoofono.rules: Add rules for ZTE MF 637 modem
Bertrand Aygon [Tue, 12 Jul 2011 15:09:00 +0000 (17:09 +0200)]
ofono.rules: Add rules for ZTE MF 637 modem

13 years agoofono.rules: Add rules for SpeedUp 8000 modem
Bertrand Aygon [Tue, 12 Jul 2011 14:33:29 +0000 (16:33 +0200)]
ofono.rules: Add rules for SpeedUp 8000 modem

13 years agoconnman: Refactor request_reply
Denis Kenzior [Tue, 12 Jul 2011 16:16:48 +0000 (11:16 -0500)]
connman: Refactor request_reply

13 years agoconnman: Perform more renaming
Denis Kenzior [Tue, 12 Jul 2011 14:34:36 +0000 (09:34 -0500)]
connman: Perform more renaming

13 years agoconnman: Refactor pns_release
Denis Kenzior [Tue, 12 Jul 2011 14:15:04 +0000 (09:15 -0500)]
connman: Refactor pns_release

13 years agoconnman: Rename to be clearer
Denis Kenzior [Tue, 12 Jul 2011 14:03:57 +0000 (09:03 -0500)]
connman: Rename to be clearer

13 years agoplugins: add connman private network driver
Guillaume Zajac [Tue, 12 Jul 2011 09:31:18 +0000 (11:31 +0200)]
plugins: add connman private network driver

13 years agohuaweicdma: Create skeleton for Huawei CDMA modem support
Guillaume Zajac [Tue, 12 Jul 2011 11:47:41 +0000 (13:47 +0200)]
huaweicdma: Create skeleton for Huawei CDMA modem support

13 years agogatserver: fix certain bad behavior
Denis Kenzior [Mon, 11 Jul 2011 20:51:34 +0000 (15:51 -0500)]
gatserver: fix certain bad behavior

Due to the new GAtIO semantics, the receive function is called
immediately if the receive buffer is not empty.  This caused certain
funny behavior in non-command (e.g. empty, a/) processing.

13 years agoofono.rules: Add udev rules for SpeedUp 7300
Bertrand Aygon [Mon, 11 Jul 2011 16:37:24 +0000 (18:37 +0200)]
ofono.rules: Add udev rules for SpeedUp 7300

13 years agoofono.rules: Add ofono rules for ZTE MF190
Nicolas Bertrand [Mon, 11 Jul 2011 12:16:56 +0000 (14:16 +0200)]
ofono.rules: Add ofono rules for ZTE MF190

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