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-api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bluetooth-api.c') diff --git a/bluetooth-api.c b/bluetooth-api.c index 4a7092a..78fd87b 100644 --- a/bluetooth-api.c +++ b/bluetooth-api.c @@ -476,7 +476,7 @@ static void bt_connect (struct afb_req request) return; } - ret = device_connect(value); + ret = device_connect(value, NULL); if (0 == ret) { @@ -503,7 +503,7 @@ static void bt_disconnect (struct afb_req request) return; } - ret = device_disconnect(value); + ret = device_disconnect(value, NULL); if (0 == ret) { afb_req_success (request, NULL, NULL); -- cgit 1.2.3-korg