From 71bca9e1ae4711deed80edbf843cc04cc0ab20f3 Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Fri, 28 Feb 2014 12:20:00 +0100 Subject: [PATCH] android/hal-gatt-api: Add Server Service Deleted Notification --- android/hal-ipc-api.txt | 5 +++++ android/hal-msg.h | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index 116dfba40..5cf22a8c1 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -2011,6 +2011,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID) Service Handle (4 octets) Opcode 0x9b - Service Deleted notification + + Notification parameters: Status (4 octets) + Server (4 octets) + Service Handle (4 octets) + Opcode 0x9c - Request Read notification Opcode 0x9d - Request Write notification Opcode 0x9e - Request Execute Write notification diff --git a/android/hal-msg.h b/android/hal-msg.h index 30dbe7245..cca77a3ca 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1449,3 +1449,10 @@ struct hal_ev_gatt_server_service_stopped { int32_t server_if; int32_t srvc_handle; } __attribute__((packed)); + +#define HAL_EV_GATT_SERVER_SERVICE_DELETED 0x9b +struct hal_ev_gatt_server_service_deleted { + int32_t status; + int32_t server_if; + int32_t srvc_handle; +} __attribute__((packed)); -- 2.47.3