Thursday, 21 March 2019

Bluetooth A2DP

A2DP : Advanced Audio Distribution Profile.

1. application service capalities - A2DP ,
    a. Codec parameter configuration,
    b. content protection configuration
2. Transport service capabilites - AVDTP
     a. Segmentation
   

A2DP: Two roles are defined

1. Source - Device which is music source, streams music
2.  Sink - Device which receives music stream and plays the same music.

Exchange of messages between source and sink

1. Discover Stream End points - SEPs are media end points with different codec capabitilies. Single sink device can support multiple codec capabilities that are identified as SEPs
This exchange will allow application to know Sink Codec capabilities

2. Get all the capabilites

3. Configure SEP -  SRC determines the most suitable audio parameters . This exchange includes codec, content protection and transport capabilities. Exchange SEP configurations. Sink is allowed to reject configuration of source and propose its own configuration.


4. Open stream - Streaming is entered to Open state where it is ready stream music.

When music startd playing - state enters into 'STream' state.  - AVDTP channel is created to carry music packets.

4. Start stream -
     



Default codec that is supported: SBC

1. Sampling Frequency,  Channel Mode -  Byte 0
2. Block Length , Subbands , Allocation Method - Byte1
3. Minimum Bitpool Value byte 2
4. Maximum Bitpool Value byte 3


No comments:

Post a Comment