From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/avrcp-lib.c | 8 ++++++++ android/avrcp-lib.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/android/avrcp-lib.c b/android/avrcp-lib.c index 6ae8df8..3db5bda 100644 --- a/android/avrcp-lib.c +++ b/android/avrcp-lib.c @@ -304,3 +304,11 @@ int avrcp_get_capabilities(struct avrcp *session, uint8_t param, AVRCP_GET_CAPABILITIES, ¶m, sizeof(param), func, user_data); } + +int avrcp_list_player_attributes(struct avrcp *session, avctp_rsp_cb func, + void *user_data) +{ + return avrcp_send_req(session, AVC_CTYPE_STATUS, AVC_SUBUNIT_PANEL, + AVRCP_LIST_PLAYER_ATTRIBUTES, NULL, 0, + func, user_data); +} diff --git a/android/avrcp-lib.h b/android/avrcp-lib.h index e6e12c1..7283203 100644 --- a/android/avrcp-lib.h +++ b/android/avrcp-lib.h @@ -108,3 +108,5 @@ int avrcp_init_uinput(struct avrcp *session, const char *name, 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); -- 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