From cb7884427454592adb83402608a7c0de564eec9d Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 13 Feb 2014 17:18:41 +0200 Subject: [PATCH] android/hal-ipc-api: Add Get Player Values notification --- android/hal-ipc-api.txt | 7 +++++++ android/hal-msg.h | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index 56df5b06b..fd687fb8f 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -1324,6 +1324,13 @@ Android HAL name: "avrcp" (BT_PROFILE_AV_RC_ID) Valid attribute values: Same as in List Player Attributes + Opcode 0x85 - Get Player Values 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 55cea2791..d5d91dd0f 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -895,3 +895,9 @@ struct hal_ev_avrcp_remote_features { struct hal_ev_avrcp_list_player_values { uint8_t attr; } __attribute__((packed)); + +#define HAL_EV_AVRCP_GET_PLAYER_VALUES 0x85 +struct hal_ev_avrcp_get_player_values { + uint8_t number; + uint8_t attrs[0]; +} __attribute__((packed)); -- 2.47.3