From 8ee62398d467a4031a4307199687812f5105e500 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Thu, 1 Jun 2017 15:37:25 -0700 Subject: binding: bluetooth: allow connection to select uuid profiles Currenly the bluetooth binding connects to all available bluetooth profiles. This change allows you select an singular profile. Change-Id: Iccb016f132e0690699eefddee637ad91ea69e69c Bug-AGL: SPEC-638 Signed-off-by: Matt Ranostay --- bluetooth-manager.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bluetooth-manager.h') diff --git a/bluetooth-manager.h b/bluetooth-manager.h index 287a0a2..e05fcb1 100644 --- a/bluetooth-manager.h +++ b/bluetooth-manager.h @@ -183,10 +183,8 @@ int adapter_stop_discovery(); int adapter_remove_device(const gchar *addr); int device_pair(const gchar * addr); int device_cancelPairing(const gchar * bdaddr); -int device_connect(const gchar *addr); -//int device_connectProfile(); -int device_disconnect(const gchar *addr); -//int device_disconnectProfile(); +int device_connect(const gchar *addr, const gchar *uuid); +int device_disconnect(const gchar *addr, const gchar *uuid); int device_set_property(const gchar * bdaddr, const gchar *property, const gchar *value); int device_call_avrcp_method(const gchar* device, const gchar* method); -- cgit 1.2.3-korg