From 342e06498f9720d9198b006fc0f3a51c21a0c95c Mon Sep 17 00:00:00 2001 From: João Paulo Rechi Vita Date: Fri, 29 Jan 2010 11:01:31 -0200 Subject: bluetooth: add HFP Gateway support Create the 'Handsfree Gateway' profile for bluetooth cards and add filters for 'org.bluez.HandsfreeGateway' to the discover module so module-bluetooth-device is loaded with the correct profile when a Handsfree Gateway connects to bluetoothd (in this case bluetoothd is acting as the headset). --- src/modules/bluetooth/bluetooth-util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/bluetooth/bluetooth-util.h') diff --git a/src/modules/bluetooth/bluetooth-util.h b/src/modules/bluetooth/bluetooth-util.h index e2a0c3d5..9cee3de3 100644 --- a/src/modules/bluetooth/bluetooth-util.h +++ b/src/modules/bluetooth/bluetooth-util.h @@ -89,6 +89,9 @@ struct pa_bluetooth_device { /* Headset state */ pa_bt_audio_state_t headset_state; + + /* HandsfreeGateway state */ + pa_bt_audio_state_t hfgw_state; }; pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *core); -- cgit