diff options
author | Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com> | 2014-02-27 14:28:50 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@gmail.com> | 2014-02-27 22:11:56 +0100 |
commit | 1574417acd4f1c2d21ed3b63e1d54e0733d0aec7 (patch) | |
tree | 985d873e5bcbbad7d81e9487863d6bef3e290b16 /android/hal-msg.h | |
parent | ea61f8890db03f69755f05bb7f2370795186fd4f (diff) | |
download | bluez-1574417acd4f1c2d21ed3b63e1d54e0733d0aec7.tar.gz |
android/hal-gatt-api: Add Server Send Indication
Diffstat (limited to 'android/hal-msg.h')
-rw-r--r-- | android/hal-msg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/android/hal-msg.h b/android/hal-msg.h index 40582e7c7..160bc0849 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -776,6 +776,16 @@ struct hal_cmd_gatt_server_delete_service { int32_t service_handle; } __attribute__((packed)); +#define HAL_OP_GATT_SERVER_SEND_INDICATION 0x22 +struct hal_cmd_gatt_server_send_indication { + int32_t server_if; + int32_t attribute_handle; + int32_t conn_id; + int32_t len; + int32_t confirm; + uint8_t value[0]; +} __attribute__((packed)); + /* Notifications and confirmations */ #define HAL_POWER_OFF 0x00 |