summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem
AgeCommit message (Collapse)AuthorFilesLines
2010-03-09Fix Don't check CLIR CUG option in hfp_dialZhenhua Zhang1-4/+0
For HFP call, no need to check CLIR & CUG option. It doesn't affect dial out string.
2010-02-12Fix: Unregistering the agent in disable is wrongDenis Kenzior1-0/+1
What we really want to do here is set a flag that the agent has not been released yet. If this is the case we should send the Disconnect call on disable.
2010-02-08Refactor: Remove atutil dump_responseDenis Kenzior2-14/+0
No longer needed now that we have nice AT command tracing using OFONO_AT_DEBUG=1
2010-02-08Fix: Don't use ofono_debug directly in pluginsDenis Kenzior2-4/+4
2010-02-05Fix: Use snprintf instead of sprintf in HFPDenis Kenzior1-4/+4
2010-02-04Cleanup: Refactor handling of failed connectionsDenis Kenzior1-1/+0
2010-02-04Fix: Don't send undefined values to the coreDenis Kenzior1-3/+4
2010-01-27Add HFP support through BlueZGustavo F. Padovan1-0/+4
It uses BlueZ through to get HFP working following the org.bluez.HandsfreeGateway and org.bluez.HandsfreeAgent from the BlueZ D-Bus API. You need the HFP suport into BlueZ and the new D-Bus 1.3 or later with fd-passing support. Many thanks to Zhenhua Zhang <zhenhua.zhang@intel.com> for its prototype on this code.
2010-01-01Update copyright informationMarcel Holtmann5-5/+5
2009-12-17Style: Repeat for driversDenis Kenzior1-2/+4
2009-12-09Style: Fix style issues in hfpmodemDenis Kenzior1-6/+9
2009-12-09Add clip_timeout for notify incoming callZhenhua Zhang1-0/+38
Schedule a clip_timeout in the ring notify. If CLIP comes right after RING, we cancel the timer. If doesn't, we notify the call without phone number.
2009-12-09Add poll_clcc if we are in multiparty callZhenhua Zhang1-0/+37
If we are in multiparty call, remote AG won't update indicator if any call in multiparty call is released by CHLD=1x. So we have to poll it periodically.
2009-12-09Add multiparty call support for hfpmodemZhenhua Zhang1-3/+53
Add CHLD=3, 2x and 4 to create multiparty call, private chat and call transfer.
2009-12-09Add hfp_release_specific to release specific callZhenhua Zhang1-1/+50
Use AT+CHLD=1x to release a specific call if AG supports that.
2009-12-08Style: Remove empty lineDenis Kenzior1-1/+0
2009-12-08Fix update hfp_hangup to release active callZhenhua Zhang1-2/+2
In HFP, AT+CHUP is intended to release the current active call.
2009-12-04Make sure to list calls in HFP voicecall driverDenis Kenzior1-0/+18
2009-12-04Add hfp_send_dtmf to send tones for hfpmodemZhenhua Zhang1-1/+40
2009-12-04Update HFP voicecall driver to new world orderDenis Kenzior1-10/+7
2009-12-04Get rid of list_calls in hfp driverDenis Kenzior1-1/+0
2009-11-24Fix: Move CHLD from voicecall driver to pluginZhenhua Zhang2-54/+10
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-20Fix: Poll CLCC to replace the code in call_held=1Zhenhua Zhang1-44/+6
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-18Fix: Report status & tech in hfpmodemDenis Kenzior1-0/+2
2009-11-16Fix: Don't drop dialing calls when call=0 signaledDenis Kenzior1-23/+12
2009-11-16Fix: Don't double-swap calls when 3-way dialingDenis Kenzior1-0/+13
2009-11-16Fix: Update the status to held properlyDenis Kenzior1-1/+1
2009-11-16Refactor: Move repeated code to a functionDenis Kenzior1-24/+21
2009-11-16Fix: Handle callsetup=0 when no waiting or dialing callZhenhua Zhang1-0/+5
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-16Fix: Ignore repeated CCWA notify if haveZhenhua Zhang1-0/+6
Some phone like iPhone repeats CCWA notify. So we need to ignore it when we already have waiting call.
2009-11-16Fix: Set current element properlyDenis Kenzior1-1/+4
When removing an element from the list, the current iterator was not being updated properly. Most likely leading to double free.
2009-11-16Style: SpacingDenis Kenzior1-1/+1
2009-11-13Add three-way calling support to HFP voice driverDenis Kenzior1-93/+503
2009-11-13Fix: Fill in the phone number info for outgoing callZhenhua Zhang1-30/+123
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-12Fix: Set data to NULL in hfpmodem driversZhenhua Zhang2-0/+5
2009-11-11Style: Use 1 instead of 0x1Zhenhua Zhang1-3/+3
2009-11-11Add call volume support for hfpmodemZhenhua Zhang3-0/+246
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-03Fix: Minor style issuesDenis Kenzior1-3/+3
2009-11-03Create network registration driver for hfpmodemGustavo F. Padovan3-0/+361
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-03Fix: The use of cind_val / cind_pos was wrongZhenhua Zhang1-7/+5
2009-11-03Refactor: Get rid of mpty_call variableZhenhua Zhang1-9/+3
2009-11-03Fix: Remove some dead codeZhenhua Zhang1-5/+1
2009-10-28Fix: This hack is no longer necessaryDenis Kenzior1-44/+1
2009-10-28Fix: Don't pass the indexesDenis Kenzior1-7/+9
These can be obtained inside the function anyway
2009-10-28Fix: No need to set this to NULLDenis Kenzior1-1/+0
2009-10-28Cleanup: Fixup styleDenis Kenzior1-13/+8
2009-10-28Add voicecall driver for Bluetooth HFPZhenhua Zhang2-0/+611
HFP voicecall driver uses AT+CIEV indicator to notify call status update according to Bluetooth HFP spec v1.5. This patch only adds single call support.
2009-10-23Replace Glib type with standard C typeZhang, Zhenhua1-4/+4
2009-10-19Rename: drivers/hfpmodem/hfp.[ch] to hfpmodem.[ch]Denis Kenzior2-1/+1
Be more consistent with other drivers
2009-10-19Fix: Make 'make distcheck' happy againDenis Kenzior1-1/+0