summaryrefslogtreecommitdiff
path: root/android/hal-bluetooth.c
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@tieto.com>2014-03-03 11:56:11 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-03-03 16:11:07 +0100
commit90ce3b7bfcc298312d754646d899af66aaa7799b (patch)
tree55379fee9c835295c5dbb0810a1ed2924bb6ed97 /android/hal-bluetooth.c
parent1def0ca307d53352208b3277ee748f4e42708fe9 (diff)
downloadbluez-90ce3b7bfcc298312d754646d899af66aaa7799b.tar.gz
android/hal-gatt: Add skeleton for GATT HAL
This adds skeleton with stubs and proper build system entries.
Diffstat (limited to 'android/hal-bluetooth.c')
-rw-r--r--android/hal-bluetooth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c
index 6871f5de7..f58f72cfc 100644
--- a/android/hal-bluetooth.c
+++ b/android/hal-bluetooth.c
@@ -773,6 +773,9 @@ static const void *get_profile_interface(const char *profile_id)
if (!strcmp(profile_id, BT_PROFILE_HANDSFREE_ID))
return bt_get_handsfree_interface();
+ if (!strcmp(profile_id, BT_PROFILE_GATT_ID))
+ return bt_get_gatt_interface();
+
return NULL;
}