Return-Path: From: Jakub Tyszkowski To: linux-bluetooth@vger.kernel.org Cc: Jakub Tyszkowski Subject: [PATCH 01/18] android/hal-gatt-api: Add Client Register event Date: Fri, 28 Feb 2014 11:23:46 +0100 Message-Id: <1393583043-23455-1-git-send-email-jakub.tyszkowski@tieto.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: --- 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 1a19c80..58c05a9 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -1797,6 +1797,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID) In case of an error, the error response will be returned. Opcode 0x81 - Register Client notification + + Notification parameters: Status (4 octets) + Client Interface (4 octets) + UUID (16 octets) + Opcode 0x82 - Scan Result notification Opcode 0x83 - Connect Device notification Opcode 0x84 - Disconnect Device notification diff --git a/android/hal-msg.h b/android/hal-msg.h index bde9717..9f7f9e9 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -1236,3 +1236,10 @@ struct hal_ev_avrcp_passthrough_cmd { uint8_t id; uint8_t state; } __attribute__((packed)); + +#define HAL_EV_GATT_CLIENT_REGISTER_CLIENT 0x81 +struct hal_ev_gatt_client_register_client { + int32_t status; + int32_t client_if; + uint8_t app_uuid[16]; +} __attribute__((packed)); -- 1.9.0