From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/avrcp-lib.c | 9 +++++++++ android/avrcp-lib.h | 3 +++ 2 files changed, 12 insertions(+) diff --git a/android/avrcp-lib.c b/android/avrcp-lib.c index 3db5bda..52074a7 100644 --- a/android/avrcp-lib.c +++ b/android/avrcp-lib.c @@ -312,3 +312,12 @@ int avrcp_list_player_attributes(struct avrcp *session, avctp_rsp_cb func, AVRCP_LIST_PLAYER_ATTRIBUTES, NULL, 0, func, user_data); } + +int avrcp_get_player_attribute_text(struct avrcp *session, uint8_t *attributes, + uint8_t attr_len, avctp_rsp_cb func, + void *user_data) +{ + return avrcp_send_req(session, AVC_CTYPE_STATUS, AVC_SUBUNIT_PANEL, + AVRCP_GET_PLAYER_ATTRIBUTE_TEXT, attributes, + attr_len, func, user_data); +} diff --git a/android/avrcp-lib.h b/android/avrcp-lib.h index 7283203..da8c990 100644 --- a/android/avrcp-lib.h +++ b/android/avrcp-lib.h @@ -110,3 +110,6 @@ int avrcp_get_capabilities(struct avrcp *session, uint8_t param, avctp_rsp_cb func, void *user_data); int avrcp_list_player_attributes(struct avrcp *session, avctp_rsp_cb func, void *user_data); +int avrcp_get_player_attribute_text(struct avrcp *session, uint8_t *attributes, + uint8_t attr_len, avctp_rsp_cb func, + void *user_data); -- 1.8.3.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