--- 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 8bf8af6..116dfba 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -2005,6 +2005,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID) Service Handle (4 octets) Opcode 0x9a - Service Stopped notification + + Notification parameters: Status (4 octets) + Server (4 octets) + Service Handle (4 octets) + Opcode 0x9b - Service Deleted notification Opcode 0x9c - Request Read notification Opcode 0x9d - Request Write notification diff --git a/android/hal-msg.h b/android/hal-msg.h index 7bba250..4219312 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1454,3 +1454,10 @@ struct hal_ev_gatt_server_service_started { int32_t server_if; int32_t srvc_handle; } __attribute__((packed)); + +#define HAL_EV_GATT_SERVER_SERVICE_STOPPED 0x9a +struct hal_ev_gatt_server_service_stopped { + int32_t status; + int32_t server_if; + int32_t srvc_handle; +} __attribute__((packed)); -- 1.8.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html