avdtp: add set codec configuration error codes

This commit is contained in:
Milanka Ringwald 2024-11-14 16:23:18 +01:00 committed by Matthias Ringwald
parent 06de70210f
commit dbc2e43299

View File

@ -102,6 +102,20 @@ extern "C" {
// Internal Error Codes
#define AVDTP_INVALID_SEP_SEID 0xFF
typedef enum {
CODEC_SPECIFIC_ERROR_CODE_ACCEPT = 0x00,
CODEC_SPECIFIC_ERROR_CODE_INVALID_CODEC_TYPE = 0xC1,
CODEC_SPECIFIC_ERROR_CODE_NOT_SUPPORTED_CODEC_TYPE = 0xC2,
CODEC_SPECIFIC_ERROR_CODE_INVALID_SAMPLING_FREQUENCY = 0xC3,
CODEC_SPECIFIC_ERROR_CODE_INVALID_CHANNEL_MODE = 0xC5,
CODEC_SPECIFIC_ERROR_CODE_INVALID_SUBBANDS = 0xC7,
CODEC_SPECIFIC_ERROR_CODE_INVALID_ALLOCATION_METHOD = 0xC9,
CODEC_SPECIFIC_ERROR_CODE_INVALID_MINIMUM_BITPOOL_VALUE = 0xCB,
CODEC_SPECIFIC_ERROR_CODE_INVALID_MAXIMUM_BITPOOL_VALUE = 0xCD,
CODEC_SPECIFIC_ERROR_CODE_INVALID_OBJECT_TYPE = 0xD6,
CODEC_SPECIFIC_ERROR_CODE_INVALID_CHANNELS = 0xD8,
CODEC_SPECIFIC_ERROR_CODE_INVALID_BLOCK_LENGTH = 0xDD,
} codec_specific_error_code_t;
// Signal Identifier fields
typedef enum {