summaryrefslogtreecommitdiff
path: root/plugins/hfp_ag_bluez5.c
Commit message (Collapse)AuthorAgeFilesLines
* hfp_ag_bluez5: Remove unneeded forward declarationsDenis Kenzior2019-05-311-3/+0
|
* hfp_ag_bluez5: use codec negotiationSimon Fels2015-10-261-1/+55
|
* hfp_ag_bluez5: Add initial handsfree audio driverSimon Fels2015-10-191-3/+52
|
* hfp_ag_bluez5: register audio cardSimon Fels2015-10-061-0/+49
| | | | | | To let others (PulseAudio) be notified when a handsfree device is connected with us and can be used for audio routing we need to expose this by registering a audio card with the correct type.
* hfp_ag_bluez5: Bump HFP version to 1.7Denis Kenzior2014-10-201-2/+2
|
* hfp_ag_bluez5: Try to support non-phone hardwareDenis Kenzior2013-11-251-0/+37
| | | | | | | | | | For devices which are not 'real' phone modems, the voicecall initialization can happen outside of the pre-sim state. In this case the voicecall atom detection logic fails. Try to detect the voicecall atom separately, and register the profile if the SIM atom is already present and in state 'READY'. For all other cases, the previous logic still applies.
* bluez5: Unify bt_register_profile_* into a single functionVinicius Costa Gomes2013-04-251-1/+1
| | | | | | | | It was a cause of confusion for little gain to have separate functions for registering profiles with extra information, for example "role" and "features". We remove those helper functions in favor of a single one with more parameters, "role" and "feature" when NULL, will be ignored.
* hfp_ag_bluez5: Implement RequestDisconnection()Paulo Borges2013-04-221-3/+27
| | | | | When a RequestDisconnect() is received, the socket must be closed. This way, the related emulator will be freed.
* hfp_ag_bluez5: Add watch for G_IO_HUP when connectPaulo Borges2013-04-221-1/+22
| | | | | | | | A watch to G_IO_HUP is added to remove the file descriptor when the emulator is automatically disconnected when its GAtServer closes. We use a dupped file descriptor because the events aren't delivered to the file descriptor who originated them.
* hfp_ag_bluez5: Create a hash to store connectionsPaulo Borges2013-04-221-0/+15
| | | | | | | We need to store active connections so we can disconnect them at RequestDisconnect(). When we remove a connection from the hash, we also close it.
* hfp_ag_bluez5: Remove unused includesPaulo Borges2013-04-181-4/+0
|
* hfp_ag_bluez5: Include hfp.hPaulo Borges2013-04-181-0/+1
|
* hfp_ag_bluez5: Fix sanity checkDenis Kenzior2013-03-211-2/+2
| | | | | We should be checking that modems != NULL, not modems->data. This is because the list can be empty and we would crash.
* hfp_ag_bluez5: Send HFP version when registeringClaudio Takahasi2013-02-201-2/+6
|
* bluez5: Rename BlueZ Profile registration functionsClaudio Takahasi2013-02-141-2/+2
| | | | | | This patch renames external profile registration functions replacing the prefix from 'bluetooth_' to 'bt_' in order to follow the name convention adopted for bluez5 functions.
* hfp_ag: Add BlueZ 5 versionFrédéric Danis2013-01-311-0/+271
This patch adds initial implementation of the D-Bus Profile1 interface and methods responsible for handling Bluetooth connections. The HFP AG profile interface is registered as soon as a voice capable modem is registered in oFono.