avrcp: rename one status code

This commit is contained in:
Milanka Ringwald 2025-01-24 11:28:36 +01:00
parent 5c9977d90a
commit d5f7c11567

View File

@ -91,12 +91,12 @@ extern "C" {
#define AVRCP_PLAYER_SUBTYPE_FEATURE_MASK_PODCAST 0x02u #define AVRCP_PLAYER_SUBTYPE_FEATURE_MASK_PODCAST 0x02u
typedef enum { typedef enum {
AVRCP_STATUS_INVALID_COMMAND = 0, // sent if TG received a PDU that it did not understand. AVRCP_STATUS_INVALID_COMMAND = 0, // Sent if TG received a PDU that it did not understand.
AVRCP_STATUS_INVALID_PARAMETER, // Sent if the TG received a PDU with a parameter ID that it did not understand, or, if there is only one parameter ID in the PDU. AVRCP_STATUS_INVALID_PARAMETER, // Sent if the TG received a PDU with a parameter ID that it did not understand, or, if there is only one parameter ID in the PDU.
AVRCP_STATUS_SPECIFIED_PARAMETER_NOT_FOUND, // sent if the parameter ID is understood, but content is wrong or corrupted. AVRCP_STATUS_PARAMETER_CONTENT_ERROR, // Sent if the parameter ID is understood, but content is wrong or corrupted.
AVRCP_STATUS_INTERNAL_ERROR, // sent if there are error conditions not covered by a more specific error code. AVRCP_STATUS_INTERNAL_ERROR, // Sent if there are error conditions not covered by a more specific error code.
AVRCP_STATUS_SUCCESS, // sent if the operation was successful. AVRCP_STATUS_SUCCESS, // Sent if the operation was successful.
AVRCP_STATUS_UID_CHANGED, // sent if the UIDs on the device have changed. AVRCP_STATUS_UID_CHANGED, // Sent if the UIDs on the device have changed.
AVRCP_STATUS_RESERVED_6, AVRCP_STATUS_RESERVED_6,
AVRCP_STATUS_INVALID_DIRECTION, // The Direction parameter is invalid. Valid for command: Change Path AVRCP_STATUS_INVALID_DIRECTION, // The Direction parameter is invalid. Valid for command: Change Path
AVRCP_STATUS_NOT_A_DIRECTORY, // The UID provided does not refer to a folder item. Valid for command: Change Path AVRCP_STATUS_NOT_A_DIRECTORY, // The UID provided does not refer to a folder item. Valid for command: Change Path