diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-06-01 15:37:25 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-06-01 16:24:33 -0700 |
commit | 950280341c4bf12b1f85ab730a061f7a9c893a92 (patch) | |
tree | 0b3f8db9a37cd24999fa2a3e973396488fc93f7d /binding-bluetooth/bluetooth-manager.h | |
parent | 37aacabc67fc2d3b759cdc85eb46705f729f8682 (diff) |
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 <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding-bluetooth/bluetooth-manager.h')
-rw-r--r-- | binding-bluetooth/bluetooth-manager.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/binding-bluetooth/bluetooth-manager.h b/binding-bluetooth/bluetooth-manager.h index 287a0a2..e05fcb1 100644 --- a/binding-bluetooth/bluetooth-manager.h +++ b/binding-bluetooth/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); |