summaryrefslogtreecommitdiff
path: root/android/hal-msg.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-11-17 16:16:05 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-11-19 12:44:34 +0100
commit9f687cbf478b4fe2703a92f0d6d99f64bdbda620 (patch)
treeb2f274dc49f23a073d80aafc757b462a877c42c2 /android/hal-msg.h
parente1254775730db8fb7071d112bec981df2c6e144a (diff)
downloadbluez-9f687cbf478b4fe2703a92f0d6d99f64bdbda620.tar.gz
android/hal-gatt: Implement client conn_parameter_update
This adds required IPC message, HAL implementation and daemon stub handler.
Diffstat (limited to 'android/hal-msg.h')
-rw-r--r--android/hal-msg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 661c0f8ef..b9d47ff22 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1079,6 +1079,15 @@ struct hal_cmd_gatt_client_configure_mtu {
int32_t mtu;
} __attribute__((packed));
+#define HAL_OP_GATT_CLIENT_CONN_PARAM_UPDATE 0x29
+struct hal_cmd_gatt_client_conn_param_update {
+ uint8_t address[6];
+ int32_t min_interval;
+ int32_t max_interval;
+ int32_t latency;
+ int32_t timeout;
+} __attribute__((packed));
+
/* Handsfree client HAL API */
#define HAL_OP_HF_CLIENT_CONNECT 0x01