summaryrefslogtreecommitdiff
path: root/android/gatt.h
diff options
context:
space:
mode:
authorMarcin Kraglak <marcin.kraglak@tieto.com>2014-07-30 11:38:47 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-07-30 12:32:16 +0200
commit28e71a1283c0778e2359d6b25f2d00fa7028b07e (patch)
tree622159f6ea9d88cc9b9e535e2a7e95b4605f3a8a /android/gatt.h
parent4838d3b57ceb1db8e454f234f3360577518b6b6d (diff)
downloadbluez-28e71a1283c0778e2359d6b25f2d00fa7028b07e.tar.gz
android/gatt: Expose API to elevate security level
It will allow to change security from external profile, for example in hog implementation.
Diffstat (limited to 'android/gatt.h')
-rw-r--r--android/gatt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/gatt.h b/android/gatt.h
index 5ba91610a..027dda3c5 100644
--- a/android/gatt.h
+++ b/android/gatt.h
@@ -38,3 +38,4 @@ bool bt_gatt_unregister_app(unsigned int id);
bool bt_gatt_connect_app(unsigned int id, const bdaddr_t *addr);
bool bt_gatt_disconnect_app(unsigned int id, const bdaddr_t *addr);
+bool bt_gatt_set_security(const bdaddr_t *bdaddr, int sec_level);