diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 6fa0d3b..e88a85d 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
Opcode 0x8b - Notify notification
Notification parameters: Connection ID (4 octets)
- Notify Parameters (variable)
- Valid Notify Parameters: Address (6 octets)
+ Address (6 octets)
GATT Service ID (18 octets)
GATT Char. ID (17 octets)
Is Notify (1 octet)
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 90d6854..ebf6d89 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
} __attribute__((packed));
#define HAL_EV_GATT_CLIENT_NOTIFY 0x8b
-struct hal_gatt_notify_params {
+struct hal_ev_gatt_client_notify {
+ int32_t conn_id;
uint8_t bda[6];
struct hal_gatt_srvc_id srvc_id;
struct hal_gatt_gatt_id char_id;
uint8_t value[0];
} __attribute__((packed));
-struct hal_ev_gatt_client_notify {
- int32_t conn_id;
- struct hal_gatt_notify_params data;
-} __attribute__((packed));
-
#define HAL_EV_GATT_CLIENT_READ_CHARACTERISTIC 0x8c
struct hal_gatt_unformated_value {
uint16_t len;