From e185efc0a2ed5b8d295d29a7afadd84342b80549 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Tue, 11 Sep 2018 17:12:54 +0200 Subject: HalBt plugin keeps list of connected A2DP devices Hal-Bt plugin only keeps list of connected bluetooth A2DP devices instead of a list of all connected bluetooth devices. Change-Id: I6c06be78a927dcac32ed4683d44431514e7daf06 Signed-off-by: Jonathan Aillet --- plugins/lib/bluetooth/hal-bt-data.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/lib/bluetooth/hal-bt-data.h') diff --git a/plugins/lib/bluetooth/hal-bt-data.h b/plugins/lib/bluetooth/hal-bt-data.h index 500654b..e57f02f 100644 --- a/plugins/lib/bluetooth/hal-bt-data.h +++ b/plugins/lib/bluetooth/hal-bt-data.h @@ -26,6 +26,10 @@ #include <4a-hal-utilities-data.h> +#define A2DP_AUDIOSOURCE_UUID "0000110a-0000-1000-8000-00805f9b34fb" +#define HSP_GATEAWAY_UUID "00001112-0000-1000-8000-00805f9b34fb" +#define HFP_GATEAWAY_UUID "0000111f-0000-1000-8000-00805f9b34fb" + // Structure to store bluetooth device data struct HalBtDeviceData { char *uid; @@ -34,8 +38,6 @@ struct HalBtDeviceData { char *name; char *address; - unsigned int a2dp; - struct HalBtDeviceData *next; }; -- cgit 1.2.3-korg