--- 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 04c0b7c..bed8caf 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -1950,6 +1950,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID) Server Interface (4 octets) Opcode 0x93 - Register Server notification + + Notification parameters: Status (4 octets) + Server (4 octets) + UUID (16 octets) + Opcode 0x94 - Connection notification Opcode 0x95 - Service Added notification Opcode 0x96 - Included Service Added notification diff --git a/android/hal-msg.h b/android/hal-msg.h index 95ce551..340f7ee 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1398,3 +1398,10 @@ struct hal_ev_gatt_client_listen { int32_t status; int32_t server_if; } __attribute__((packed)); + +#define HAL_EV_GATT_SERVER_REGISTER 0x93 +struct hal_ev_gatt_server_register { + int32_t status; + int32_t server_if; + uint8_t uuid[16]; +} __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