From d69e42b45db2d47961dc721707beb14d64e52732 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 13 Feb 2014 17:18:42 +0200 Subject: [PATCH] android/hal-ipc-api: Add Get Player Attributes Text notification --- android/hal-ipc-api.txt | 8 ++++++++ android/hal-msg.h | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index fd687fb8f..08100780b 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -1332,6 +1332,14 @@ Android HAL name: "avrcp" (BT_PROFILE_AV_RC_ID) Valid attribute values: Same as in List Player Attributes + Opcode 0x86 - Get Player Attributes Text notification + + Notification parameters: Number of attributes (1 octet) + Attribute # (1 octet) + ... + + Valid attribute values: Same as in List Player Attributes + Bluetooth GATT HAL (ID 9) ========================= diff --git a/android/hal-msg.h b/android/hal-msg.h index d5d91dd0f..67fccb992 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -901,3 +901,9 @@ struct hal_ev_avrcp_get_player_values { uint8_t number; uint8_t attrs[0]; } __attribute__((packed)); + +#define HAL_EV_AVRCP_GET_PLAYER_ATTRS_TEXT 0x86 +struct hal_ev_avrcp_get_player_attrs_text { + uint8_t number; + uint8_t attrs[0]; +} __attribute__((packed)); -- 2.47.3