From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- android/hal-ipc-api.txt | 10 +++++++++- android/hal-msg.h | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index 496851c..c8f5557 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -1247,7 +1247,15 @@ Android HAL name: "avrcp" (BT_PROFILE_AV_RC_ID) Valid attributes: Same as in List Player Attributes - Opcode 0x06 - Get Player Application Values Text command/response + Opcode 0x06 - Get Player Values Text Response command/response + + Command parameters: Number of values (1 octet) + Value # (1 octet) + Value # text (255 octets) + ... + + In case of an error, the error response will be returned. + Opcode 0x07 - Get Element Attributes Text command/response Opcode 0x08 - Set Player Attributes Value command/response Opcode 0x09 - Register Notification command/response diff --git a/android/hal-msg.h b/android/hal-msg.h index 2891a3a..280c28c 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -838,3 +838,9 @@ struct hal_cmd_avrcp_get_player_attrs_text { uint8_t number; struct hal_avrcp_player_setting_text attrs[0]; } __attribute__((packed)); + +#define HAL_OP_AVRCP_GET_PLAYER_VALUES_TEXT 0x06 +struct hal_cmd_avrcp_get_player_values_text { + uint8_t number; + struct hal_avrcp_player_setting_text values[0]; +} __attribute__((packed)); -- 1.8.5.3 -- 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