Denis Kenzior
55572b6e69
Style: Use unsigned int instead of unsigned
2009-12-01 12:42:23 -06:00
Denis Kenzior
d91c61e621
Fix: None of this seems necessary for the Calypso
2009-11-26 07:44:25 -06:00
Zhenhua Zhang
64015ff4b8
Fix: Move CHLD from voicecall driver to plugin
...
According HFP v1.5 spec, AT+CHLD=? should be a part of SLC
connection. So we should not do it after SLC connection is
created.
2009-11-24 20:43:41 -06:00
Denis Kenzior
6e0eb3cfd5
Fix: Change order of init commands
...
This seems to make the calypso return from ATD right away instead of
waiting for connect/busy to be returned. It should now be possible to
hangup alerting calls.
2009-11-23 19:56:41 -06:00
Denis Kenzior
ca025eb905
Fix: Make sure we don't gobble up unsolicited
2009-11-23 19:55:59 -06:00
Zhenhua Zhang
f3fe75553a
Add mpty field to ofono_call
...
A field 'mpty' is added to ofono_call so that we can know
whether the call belongs to multiparty call or not. According
to 27.007 7.18, it is a defined return value of AT+CLCC.
2009-11-23 09:04:48 +01:00
Zhenhua Zhang
bbc2eecd6f
Fix: Poll CLCC to replace the code in call_held=1
...
When using CHLD=2x in multiparty call, call_held is 1 and we
should not swap all active->held. So we cannot save this pull
in private chat.
2009-11-20 09:37:37 +01:00
Denis Kenzior
9f931378c7
Fix: warnings
2009-11-18 18:07:11 -06:00
Denis Kenzior
19758e3520
Get rid of a few debugs
2009-11-18 18:07:11 -06:00
Denis Kenzior
b77d392bc8
Make HSO context driver use OWANCALL/OWANDATA
2009-11-18 18:07:11 -06:00
Denis Kenzior
efd34778d1
Add CALLBACK_WITH_SUCCESS
2009-11-18 18:07:11 -06:00
Denis Kenzior
8722828eb3
Parse the weird response of _OWANDATA
...
The strings are unquoted and preceded by space. Don't these people read
specs?
2009-11-18 18:07:11 -06:00
Denis Kenzior
0a9766cbab
Fix: Properly send & parse _OWANDATA
2009-11-18 18:07:10 -06:00
Denis Kenzior
0ef8ac7174
Fix: Send username and password properly
2009-11-18 18:07:10 -06:00
Denis Kenzior
781f9cc0d0
Add initial HSO GPRS context driver
2009-11-18 18:07:10 -06:00
Denis Kenzior
39b043a40a
Fix: Report status & tech in hfpmodem
2009-11-18 13:02:26 -06:00
Denis Kenzior
cbebad0cc7
Fix: Report the current operator as current
2009-11-18 13:02:02 -06:00
Denis Kenzior
62e22e383c
Update the MBM modem driver to the new API
2009-11-17 18:55:07 -06:00
Denis Kenzior
38ae7bd9aa
Update the AT modem driver to the new API
2009-11-17 18:54:46 -06:00
Denis Kenzior
1c3d41fafc
Fix: Don't drop dialing calls when call=0 signaled
2009-11-16 11:47:42 -06:00
Denis Kenzior
77b3048325
Fix: Don't double-swap calls when 3-way dialing
2009-11-16 11:23:48 -06:00
Denis Kenzior
534d7f89d2
Fix: Update the status to held properly
2009-11-16 11:19:23 -06:00
Denis Kenzior
957fc90d37
Refactor: Move repeated code to a function
2009-11-16 11:15:31 -06:00
Zhenhua Zhang
5e1067b8a2
Fix: Handle callsetup=0 when no waiting or dialing call
...
When call=1 and callsetup=0, if no waiting or dialing call, the call
is active and no need to notify status change.
2009-11-16 11:09:21 -06:00
Denis Kenzior
bfc9eb302f
Fix: Ignore repeated CCWAs in atmodem as well
2009-11-16 10:17:12 -06:00
Zhenhua Zhang
2cbb307013
Fix: Ignore repeated CCWA notify if have
...
Some phone like iPhone repeats CCWA notify. So we need to ignore
it when we already have waiting call.
2009-11-16 10:17:05 -06:00
Denis Kenzior
ea29ea9bd5
Fix: Set current element properly
...
When removing an element from the list, the current iterator was not
being updated properly. Most likely leading to double free.
2009-11-16 10:09:48 -06:00
Denis Kenzior
83ee938312
Style: Spacing
2009-11-16 10:02:52 -06:00
Denis Kenzior
d5ae0e557f
Add three-way calling support to HFP voice driver
2009-11-13 22:47:10 -06:00
Denis Kenzior
1a8dd438b2
Make sure the atmodem handles ATD properly
...
The driver must set any existing active calls to held
2009-11-13 15:34:41 -06:00
Zhenhua Zhang
e620a058fb
Fix: Fill in the phone number info for outgoing call
...
There're two cases of outgoing call: dial from HF or dial from
phone. We could receive callsetup=2 indicator in both case. So
adding AT+CLCC query to sync the outgoing call.
In the first case, we only need to sync the phone number. In
the second case, the phone is dialing from phone and we know
nothing. Create a new call and notify the core.
If phone does not support AT+CLCC and there's no call dialing
from HF, we fake a new call for it.
2009-11-13 11:15:13 -06:00
Marcel Holtmann
5fe640858a
Fix issue with missing masking of AT%CHLD
...
drivers/calypsomodem/voicecall.c: In function ‘calypso_release_specific’:
drivers/calypsomodem/voicecall.c:162: error: too few arguments for format
2009-11-13 04:33:29 +01:00
Denis Kenzior
72e0d2c578
Fix: On calypso use proprietory %CHLD=7X command
2009-11-12 19:16:32 -06:00
Zhenhua Zhang
9b084e9656
Use at_util_parse_clcc in atmodem
...
Replace parse_clcc by at_util_parse_clcc in atmodem voicecall.
2009-11-12 11:23:05 -06:00
Zhenhua Zhang
20e9ff8551
Add parse_clcc into atutil.c
...
So that it could be shared by atmodem and hfpmodem.
2009-11-12 11:22:31 -06:00
Zhenhua Zhang
3003ebd066
Fix: Set data to NULL in hfpmodem drivers
2009-11-12 11:21:00 -06:00
Zhenhua Zhang
c7fd6d13b6
Style: Use 1 instead of 0x1
2009-11-11 16:27:26 -06:00
Zhenhua Zhang
372edf4f21
Add call_compare_by_phone_number utility function
...
This utility will be used by HFP voicecall driver to compare
two calls. In some hardware, the call index may be shift when
a call transitions from waiting to incoming state (e.g. all other
held and active calls are released)
2009-11-11 16:24:54 -06:00
Denis Kenzior
95aafed445
Fix: Set data to NULL in drivers
2009-11-11 15:59:01 -06:00
Denis Kenzior
5335d2deb1
Fix: Don't leak data in SIM atom driver
2009-11-11 15:58:45 -06:00
Zhenhua Zhang
28c6bbb558
Add call volume support for hfpmodem
...
The call volume driver listens the speaker volume and microphone
gain from the AG. It also allow to synchronze the speaker and
microphone volume changes with the AG through AT+VGS and AT+VGM.
Volume level synchronization from HFP spec 1.5 Section 4.28.2
is performed on startup.
2009-11-11 15:53:55 -06:00
Denis Kenzior
27e32f12cd
Fix: Rename G1 quirk to QUALCOMM_MSM
2009-11-10 16:29:23 -06:00
Andrzej Zaborowski
d6c3a513c6
Work around Palm Pre SIM file reading quirk.
...
I'm not sure if MSM is not a too generic name but it seems the G1's
Qualcomm MSM suffers from similar problems.
2009-11-10 16:29:23 -06:00
Andrzej Zaborowski
3187db9352
Fix +CGEV: parsing
2009-11-10 12:48:08 -06:00
Andrzej Zaborowski
2888e7fc13
Accept ranges in +CSMS responses.
2009-11-10 12:45:11 -06:00
Andrzej Zaborowski
49c2f7b2e7
Fix: Don't bail if CREG/CGREG mode=2 is unsupported
2009-11-10 12:40:21 -06:00
Denis Kenzior
c63a0413cd
Fix: Minor style issues
2009-11-03 11:57:43 -06:00
Gustavo F. Padovan
1acd7f8b75
Create network registration driver for hfpmodem
...
This driver handles phone informations about registration status, signal
strength and roaming status listening +CIEV commands. It also gets the
Network Operator name with +COPS commands.
2009-11-03 11:49:35 -06:00
Zhenhua Zhang
ff2a8e6f7c
Fix: The use of cind_val / cind_pos was wrong
2009-11-03 11:26:08 -06:00
Zhenhua Zhang
2185106b32
Refactor: Get rid of mpty_call variable
2009-11-03 11:22:23 -06:00