Zephyr API 3.6.99
Loading...
Searching...
No Matches
avdtp.h File Reference

Audio/Video Distribution Transport Protocol header. More...

Go to the source code of this file.

Data Structures

struct  bt_avdtp_sep_info
 AVDTP stream endpoint information. More...
 
struct  bt_avdtp_sep
 AVDTP Stream End Point. More...
 

Enumerations

enum  bt_avdtp_err_code {
  BT_AVDTP_SUCCESS = 0x00 , BT_AVDTP_TIME_OUT = 0xFF , BT_AVDTP_BAD_HEADER_FORMAT = 0x01 , BT_AVDTP_BAD_LENGTH = 0x11 ,
  BT_AVDTP_BAD_ACP_SEID = 0x12 , BT_AVDTP_SEP_IN_USE = 0x13 , BT_AVDTP_SEP_NOT_IN_USE = 0x14 , BT_AVDTP_BAD_SERV_CATEGORY = 0x17 ,
  BT_AVDTP_BAD_PAYLOAD_FORMAT = 0x18 , BT_AVDTP_NOT_SUPPORTED_COMMAND = 0x19 , BT_AVDTP_INVALID_CAPABILITIES = 0x1A , BT_AVDTP_BAD_RECOVERY_TYPE = 0x22 ,
  BT_AVDTP_BAD_MEDIA_TRANSPORT_FORMAT = 0x23 , BT_AVDTP_BAD_RECOVERY_FORMAT = 0x25 , BT_AVDTP_BAD_ROHC_FORMAT = 0x26 , BT_AVDTP_BAD_CP_FORMAT = 0x27 ,
  BT_AVDTP_BAD_MULTIPLEXING_FORMAT = 0x28 , BT_AVDTP_UNSUPPORTED_CONFIGURAION = 0x29 , BT_AVDTP_BAD_STATE = 0x31
}
 AVDTP error code. More...
 
enum  bt_avdtp_sep_type { BT_AVDTP_SOURCE = 0 , BT_AVDTP_SINK = 1 }
 Stream End Point Type. More...
 
enum  bt_avdtp_media_type { BT_AVDTP_AUDIO = 0x00 , BT_AVDTP_VIDEO = 0x01 , BT_AVDTP_MULTIMEDIA = 0x02 }
 Stream End Point Media Type. More...
 
enum  bt_avdtp_service_category {
  BT_AVDTP_SERVICE_MEDIA_TRANSPORT = 0x01 , BT_AVDTP_SERVICE_REPORTING = 0x02 , BT_AVDTP_SERVICE_MEDIA_RECOVERY = 0x03 , BT_AVDTP_SERVICE_CONTENT_PROTECTION = 0x04 ,
  BT_AVDTP_SERVICE_HEADER_COMPRESSION = 0x05 , BT_AVDTP_SERVICE_MULTIPLEXING = 0x06 , BT_AVDTP_SERVICE_MEDIA_CODEC = 0x07 , BT_AVDTP_SERVICE_DELAY_REPORTING = 0x08
}
 service category Type More...
 

Detailed Description

Audio/Video Distribution Transport Protocol header.

Enumeration Type Documentation

◆ bt_avdtp_err_code

AVDTP error code.

Enumerator
BT_AVDTP_SUCCESS 

The response is success, it is not from avdtp spec.

BT_AVDTP_TIME_OUT 

The request is time out without response, it is not from avdtp spec.

BT_AVDTP_BAD_HEADER_FORMAT 

The request packet header format error.

BT_AVDTP_BAD_LENGTH 

The request packet length is not match the assumed length.

BT_AVDTP_BAD_ACP_SEID 

The requested command indicates an invalid ACP SEID (not addressable)

BT_AVDTP_SEP_IN_USE 

The SEP is in use.

BT_AVDTP_SEP_NOT_IN_USE 

The SEP is not in use.

BT_AVDTP_BAD_SERV_CATEGORY 

The value of Service Category in the request packet is not defined in AVDTP.

BT_AVDTP_BAD_PAYLOAD_FORMAT 

The requested command has an incorrect payload format.

BT_AVDTP_NOT_SUPPORTED_COMMAND 

The requested command is not supported by the device.

BT_AVDTP_INVALID_CAPABILITIES 

The reconfigure command is an attempt to reconfigure a transport service codec_cap of the SEP.

Reconfigure is only permitted for application service codec_cap

BT_AVDTP_BAD_RECOVERY_TYPE 

The requested Recovery Type is not defined in AVDTP.

BT_AVDTP_BAD_MEDIA_TRANSPORT_FORMAT 

The format of Media Transport Capability is not correct.

BT_AVDTP_BAD_RECOVERY_FORMAT 

The format of Recovery Service Capability is not correct.

BT_AVDTP_BAD_ROHC_FORMAT 

The format of Header Compression Service Capability is not correct.

BT_AVDTP_BAD_CP_FORMAT 

The format of Content Protection Service Capability is not correct.

BT_AVDTP_BAD_MULTIPLEXING_FORMAT 

The format of Multiplexing Service Capability is not correct.

BT_AVDTP_UNSUPPORTED_CONFIGURAION 

Configuration not supported.

BT_AVDTP_BAD_STATE 

Indicates that the ACP state machine is in an invalid state in order to process the signal.

This also includes the situation when an INT receives a request for the same command that it is currently expecting a response

◆ bt_avdtp_media_type

Stream End Point Media Type.

Enumerator
BT_AVDTP_AUDIO 

Audio Media Type.

BT_AVDTP_VIDEO 

Video Media Type.

BT_AVDTP_MULTIMEDIA 

Multimedia Media Type.

◆ bt_avdtp_sep_type

Stream End Point Type.

Enumerator
BT_AVDTP_SOURCE 

Source Role.

BT_AVDTP_SINK 

Sink Role.

◆ bt_avdtp_service_category

service category Type

Enumerator
BT_AVDTP_SERVICE_MEDIA_TRANSPORT 

Media Transport.

BT_AVDTP_SERVICE_REPORTING 

Reporting.

BT_AVDTP_SERVICE_MEDIA_RECOVERY 

Recovery.

BT_AVDTP_SERVICE_CONTENT_PROTECTION 

Content Protection.

BT_AVDTP_SERVICE_HEADER_COMPRESSION 

Header Compression.

BT_AVDTP_SERVICE_MULTIPLEXING 

Multiplexing.

BT_AVDTP_SERVICE_MEDIA_CODEC 

Media Codec.

BT_AVDTP_SERVICE_DELAY_REPORTING 

Delay Reporting.