summaryrefslogtreecommitdiff
path: root/android/hardware
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2015-03-10 11:08:43 +0100
committerSzymon Janc <szymon.janc@tieto.com>2015-03-12 15:48:21 +0100
commit82cdca8fd2ea8642e42819fae5af0f54c14f8c81 (patch)
tree2da23dd31af004c51d83a2061298ddb0cd5e2475 /android/hardware
parentc5e0d800fc0d839725756f780122af101acd4846 (diff)
downloadbluez-82cdca8fd2ea8642e42819fae5af0f54c14f8c81.tar.gz
android: Update Android system headers to 5.1 API
Android headers are used for Linux host build.
Diffstat (limited to 'android/hardware')
-rw-r--r--android/hardware/bt_gatt_server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/hardware/bt_gatt_server.h b/android/hardware/bt_gatt_server.h
index 2b1de278f..0d6cc1e8d 100644
--- a/android/hardware/bt_gatt_server.h
+++ b/android/hardware/bt_gatt_server.h
@@ -117,6 +117,9 @@ typedef void (*indication_sent_callback)(int conn_id, int status);
*/
typedef void (*congestion_callback)(int conn_id, bool congested);
+/** Callback invoked when the MTU for a given connection changes */
+typedef void (*mtu_changed_callback)(int conn_id, int mtu);
+
typedef struct {
register_server_callback register_server_cb;
connection_callback connection_cb;
@@ -133,6 +136,7 @@ typedef struct {
response_confirmation_callback response_confirmation_cb;
indication_sent_callback indication_sent_cb;
congestion_callback congestion_cb;
+ mtu_changed_callback mtu_changed_cb;
} btgatt_server_callbacks_t;
/** Represents the standard BT-GATT server interface. */