From f977eb5c9807f3234392e27ee3e10c0fcb101450 Mon Sep 17 00:00:00 2001 From: Jakub Tyszkowski Date: Fri, 28 Feb 2014 11:24:03 +0100 Subject: [PATCH] android/hal-gatt-api: Add Client Listen event --- 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 5f2561a48..04c0b7c40 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -1946,6 +1946,9 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID) Opcode 0x92 - Listen notification + Notification parameters: Status (4 octets) + Server Interface (4 octets) + Opcode 0x93 - Register Server notification Opcode 0x94 - Connection notification Opcode 0x95 - Service Added notification diff --git a/android/hal-msg.h b/android/hal-msg.h index 53fe5c4f6..e8f26dd1a 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1380,3 +1380,9 @@ struct hal_ev_gatt_client_read_remote_rssi { int32_t rssi; int32_t status; } __attribute__((packed)); + +#define HAL_EV_GATT_CLIENT_LISTEN 0x92 +struct hal_ev_gatt_client_listen { + int32_t status; + int32_t server_if; +} __attribute__((packed)); -- 2.47.3