summaryrefslogtreecommitdiff
path: root/android/hal-msg.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-11-17 14:39:46 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-11-19 12:44:34 +0100
commite1254775730db8fb7071d112bec981df2c6e144a (patch)
treef7af3fb31d6959033cab7cfd046202159ce21340 /android/hal-msg.h
parent63951d9bf0d0f85834da3cfa79ae12a8833eb88d (diff)
downloadbluez-e1254775730db8fb7071d112bec981df2c6e144a.tar.gz
android/hal-gatt: Implement client configure_mtu
This adds required IPC message, HAL implementation and daemon stub handler.
Diffstat (limited to 'android/hal-msg.h')
-rw-r--r--android/hal-msg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 7372d4518..661c0f8ef 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1073,6 +1073,12 @@ struct hal_cmd_gatt_client_scan_filter_enable {
uint8_t enable;
} __attribute__((packed));
+#define HAL_OP_GATT_CLIENT_CONFIGURE_MTU 0x28
+struct hal_cmd_gatt_client_configure_mtu {
+ int32_t conn_id;
+ int32_t mtu;
+} __attribute__((packed));
+
/* Handsfree client HAL API */
#define HAL_OP_HF_CLIENT_CONNECT 0x01