summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem
AgeCommit message (Collapse)AuthorFilesLines
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
2009-10-19Refactor: Setup the HF features bitmapDenis Kenzior1-0/+9
Do not use magic numbers unless strictly necessary
2009-10-19Refactor: Don't store indicator namesDenis Kenzior1-4/+14
We already know the indicators we're interested in from the specification, malloc/free-ing the indicator names is thus pointless. Instead save off the indicator index positions in an array. Parse the current values instead of storing the unparsed list.
2009-10-19Add initial glue code for hfp driverZhenhua Zhang2-0/+101