From a7b02c9cb39631faee24b9605f0b8dedbfe68233 Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Fri, 28 Feb 2014 12:20:04 +0100 Subject: [PATCH] android/hal-gatt-api: Add Server Response Confirmation Notification --- android/hal-ipc-api.txt | 3 +++ android/hal-msg.h | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index f4d5c9117..0518c2f37 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -2045,3 +2045,6 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID) Execute Write (4 octets) Opcode 0x9f - Response Confirmation notification + + Notification parameters: Status (4 octets) + Handle (4 octets) diff --git a/android/hal-msg.h b/android/hal-msg.h index 306ac21c7..7b6e46d58 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1487,3 +1487,9 @@ struct hal_ev_gatt_server_request_exec_write { uint8_t bdaddr[6]; int32_t exec_write; } __attribute__((packed)); + +#define HAL_EV_GATT_SERVER_RSP_CONFIRMATION 0x9f +struct hal_ev_gatt_server_rsp_confirmation { + int32_t status; + int32_t handle; +} __attribute__((packed)); -- 2.47.3