diff options
author | Jakub Tyszkowski <jakub.tyszkowski@tieto.com> | 2014-03-03 11:56:11 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-03-03 16:11:07 +0100 |
commit | 90ce3b7bfcc298312d754646d899af66aaa7799b (patch) | |
tree | 55379fee9c835295c5dbb0810a1ed2924bb6ed97 /android/hal-bluetooth.c | |
parent | 1def0ca307d53352208b3277ee748f4e42708fe9 (diff) | |
download | bluez-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.c | 3 |
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; } |