logo资料库

A2DP_v1.3.2.pdf

第1页 / 共73页
第2页 / 共73页
第3页 / 共73页
第4页 / 共73页
第5页 / 共73页
第6页 / 共73页
第7页 / 共73页
第8页 / 共73页
资料共73页,剩余部分请下载后查看
1 Introduction
1.1 Scope
1.2 Profile Dependency
1.3 Symbols and Conventions
1.3.1 Requirement Status Symbols
1.3.2 Definition
1.3.2.1 RFA
1.3.2.2 RFD
1.4 Bluetooth A2DP Profile Change History
1.4.1 Changes from 1.2 to 1.3
1.4.1.1 General Changes
1.4.1.2 New Features
1.5 Language
1.5.1 Language conventions
1.5.2 Reserved for Future Use
1.5.3 Prohibited
2 Profile Overview
2.1 Profile Stacks
2.2 Configurations and Roles
2.3 User Requirements and Scenarios
2.4 Profile Fundamentals
2.5 Conformance
3 Application Layer
3.1 Audio Streaming Set Up
3.2 Audio Streaming
3.2.1 Send Audio Stream
3.2.2 Receive Audio Stream
4 Audio Codec Interoperability Requirements
4.1 Overview
4.2 Support of Codecs
4.2.1 Mandatory Codec
4.2.2 Optional codecs
4.2.3 Vendor Specific A2DP Codecs
4.2.4 Codec Interoperability Requirements
4.2.5 Audio Codec Type Field Values
4.3 SBC
4.3.1 Reference
4.3.2 Codec Specific Information Elements
4.3.2.1 Sampling Frequency
4.3.2.2 Channel Mode
4.3.2.3 Block Length
4.3.2.4 Subbands
4.3.2.5 Allocation Method
4.3.2.6 Minimum / Maximum Bitpool Value
4.3.3 Media Packet Header Requirements
4.3.3.1 Timestamp (TS)
4.3.3.2 Payload Type (PT)
4.3.3.3 Marker (M) bit
4.3.3.4 Extension (X) bit
4.3.4 Media Payload Format
4.4 MPEG-1,2 Audio
4.4.1 Reference
4.4.2 Codec Specific Information Elements
4.4.2.1 Layer
4.4.2.2 CRC Protection
4.4.2.3 Channel Mode
4.4.2.4 Media Payload Format (MPF)
4.4.2.5 Sampling Frequency
4.4.2.6 VBR
4.4.2.7 Bit Rate Index
4.4.2.8 RFA
4.4.3 Media Packet Header Requirements
4.4.4 Media Payload Format
4.5 MPEG-2, 4 AAC
4.5.1 Reference
4.5.2 Codec Specific Information Elements
4.5.2.1 Object Type
4.5.2.2 Sampling Frequency
4.5.2.3 Channels
4.5.2.4 Bit rate
4.5.2.5 VBR
4.5.2.6 RFA
4.5.3 Media Packet Header Requirements
4.5.4 Media Payload Format
4.6 ATRAC family
4.6.1 Reference
4.6.2 Codec Specific Information Elements
4.6.2.1 Version
4.6.2.2 Channel Mode
4.6.2.3 Fs (Sampling Frequency)
4.6.2.4 VBR
4.6.2.5 Bit Rate Index
4.6.2.6 Maximum SUL
4.6.2.7 RFA
4.6.3 Media Packet Header Requirements
4.6.3.1 Timestamp (TS)
4.6.3.2 Payload Type (PT)
4.6.3.3 Marker (M) bit
4.6.3.4 Extension (X) bit
4.6.4 Media Payload Format
4.7 Vendor Specific A2DP Codec
4.7.1 Reference
4.7.2 Codec Specific Information Elements
4.7.2.1 Vendor ID
4.7.2.2 Vendor Specific Codec ID
4.7.2.3 Vendor Specific Value
4.7.3 Media Packet Header Requirements
4.7.4 Media Payload Format
5 GAVDP Interoperability Requirements
5.1 AVDTP Interoperability Requirements
5.1.1 Signaling procedures
5.1.1.1 Streaming Roles
5.1.1.2 Delay Reporting Roles
5.1.2 Transport Services
5.1.3 Error Codes
5.2 L2CAP Interoperability Requirements
5.2.1 Maximum Transmission Unit
5.3 SDP Interoperability Requirements
5.4 Link Manager Interoperability Requirements
5.5 Link Controller Interoperability Requirements
5.5.1 Class of Device
6 Generic Access Profile Interoperability Requirements
6.1 Modes
6.2 Security Aspects
6.3 Idle Mode Procedures
7 Testing
8 References
9 List of Figures
10 List of Tables
11 Appendix A (Informative): Audio Streaming with Content Protection
12 Appendix B: Technical Specification of SBC
12.1 Introduction
12.2 Glossary
12.3 Symbols and Abbreviations
12.3.1 Arithmetic Operators
12.3.2 Logical Operators
12.3.3 Relation Operators
12.3.4 Bitwise Operators
12.3.5 Assignment
12.3.6 Mnemonics
12.3.7 Constants
12.3.8 Ranges
12.3.9 Number Notation
12.4 Syntax
12.5 Semantics
12.5.1 Frame_header
12.5.2 scale_factors
12.5.3 audio_samples
12.5.4 padding
12.6 Decoding Processes
12.6.1 Frame Header
12.6.1.1 CRC Check
12.6.2 Scale Factors
12.6.3 Bit Allocation
12.6.3.1 Mono and Dual_Channel Bit Allocation
12.6.3.2 Stereo and Joint_Stereo Bit Allocation
12.6.4 Reconstruction of the Subband Samples
12.6.5 Joint Processing
12.6.6 Synthesis Filter
12.7 Encoding Processes
12.7.1 Analysis Filter
12.7.2 Scale Factors
12.7.3 Joint_Stereo Channel Mode Operation
12.7.4 Bit Allocation
12.7.5 Quantization
12.8 Tables
12.9 Calculation of Bit Rate and Frame Length
13 Appendix C (Informative): Signaling Flows
13.1 Audio Streaming Set Up
13.2 Audio Streaming
14 Appendix D: Requirements for Codecs Implementation
14.1 Decoder Implementation
14.1.1 SBC Decoder
14.1.2 Optional Codec Decoder
14.1.3 Vendor Specific A2DP Codec Decoder
14.2 Encoder Implementation
14.2.1 SBC Encoder
14.2.2 Optional Codec Encoder
14.2.3 Vendor Specific A2DP Codec Encoder
15 Appendix E: Acronyms and Abbreviations
Advanced Audio Distribution Bluetooth® Profile Specification ▪ Revision: v1.3.2 ▪ Revision Date: 2019-01-21 ▪ Group Prepared By: Audio, Telephony, and Automotive Working Group Abstract: This profile defines the requirements for Bluetooth devices necessary for support of the high quality audio distribution. The requirements are expressed in terms of end-user services, and by defining the features and procedures that are required for interoperability between Bluetooth devices in the Audio Distribution usage model. Bluetooth SIG Proprietary
Advanced Audio Distribution / Profile Specification Revision History Revision v1.3.1 v1.3.2 Version History Versions v1.3.0 to v1.3.1 v1.3.1 to v1.3.2 Contributors Name Rüdiger Mosig Alicia Courtney Ash Kapur Jiny Bradshaw Allan Madsen David Trainor Akira Miyajima Morgan Lindqvist Fisseha Mekuria Wim Koster Rene Kuiken Yuan Quinton Tsuyoshi Okada Thomas Karlsson Kalervo Kontola Vesa Lunden Janne Hamalainen Comments Date 14 July 2015 Adopted by the Bluetooth SIG BoD 2019-01-21 Adopted by the Bluetooth SIG Board of Directors Changes Incorporated erratum E5272. Incorporated errata E6731, E7369, E7370, E9120, E9121, and E9494. Company Berner and Mattner Broadcom Broadcom CSR CSR CSR Denso Ericsson Ericsson Ericsson Ericsson Marvell Matsushita Electric Industrial Mecel Nokia Nokia Nokia Bluetooth SIG Proprietary Page 2 of 73
Advanced Audio Distribution / Profile Specification Name Jurgen Schnitzler Thierry Wœlfflé Shaun Barrett Christian Bouffioux Frans de Bont Rob J. Davies Emmanuel Mellery Marc Vauclair Scott Walsh Brian Gix John Larkin Atsushi Ichise Harumi Kawamura Hiroyasu Noguchi Kenzo Akagiri Masahiko Seki Masayuki Nishiguchi Masakazu Hattori Rüdiger Mosig Tomoko Tanaka Wilhelm Hagg Yoshiyuki Nezu Siân James Junko Ami Takeshi Saito Yoshiaki Takabatake Yoichi Takebayashi Ichiro Tomoda Company Nokia Parrot Philips Philips Philips Philips Philips Philips Plantronics Qualcomm Qualcomm Sony Sony Sony Sony Sony Sony Sony Sony Sony Sony Sony Symbian Toshiba Toshiba Toshiba Toshiba Toshiba Bluetooth SIG Proprietary Page 3 of 73
Advanced Audio Distribution / Profile Specification Name Junichi Yoshizawa Company Toshiba Bluetooth SIG Proprietary Page 4 of 73
Advanced Audio Distribution / Profile Specification IMPLIED, Use of this specification is your acknowledgement that you agree to and will comply with the following notices and disclaimers. You are advised to seek appropriate legal, engineering, and other professional advice regarding the use, interpretation, and effect of this specification. Use of Bluetooth specifications by members of Bluetooth SIG is governed by the membership and other related agreements between Bluetooth SIG and its members, including those agreements posted on Bluetooth SIG’s website located at www.bluetooth.com. Any use of this specification by a member that is not in compliance with the applicable membership and other related agreements is prohibited and, among other things, may result in (i) termination of the applicable agreements and (ii) liability for infringement of the intellectual property rights of Bluetooth SIG and its members. Use of this specification by anyone who is not a member of Bluetooth SIG is prohibited and is an infringement of the intellectual property rights of Bluetooth SIG and its members. The furnishing of this specification does not grant any license to any intellectual property of Bluetooth SIG or its members. THIS SPECIFICATION IS PROVIDED “AS IS” AND BLUETOOTH SIG, ITS MEMBERS AND THEIR AFFILIATES MAKE NO REPRESENTATIONS OR WARRANTIES AND DISCLAIM ALL WARRANTIES, EXPRESS OR INCLUDING ANY WARRANTIES OF MERCHANTABILITY, TITLE, NON- INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR THAT THE CONTENT OF THIS SPECIFICATION IS FREE OF ERRORS. For the avoidance of doubt, Bluetooth SIG has not made any search or investigation as to third parties that may claim rights in or to any specifications or any intellectual property that may be required to implement any specifications and it disclaims any obligation or duty to do so. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, BLUETOOTH SIG, ITS MEMBERS AND THEIR AFFILIATES DISCLAIM ALL LIABILITY ARISING OUT OF OR RELATING TO USE OF THIS SPECIFICATION AND ANY INFORMATION CONTAINED IN THIS SPECIFICATION, INCLUDING LOST REVENUE, PROFITS, DATA OR PROGRAMS, OR BUSINESS INTERRUPTION, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, AND EVEN IF BLUETOOTH SIG, ITS MEMBERS OR THEIR AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF THE DAMAGES. If this specification is a prototyping specification, it is solely for the purpose of developing and using prototypes to verify the prototyping specifications at Bluetooth SIG sponsored IOP events. Prototyping Specifications cannot be used to develop products for sale or distribution and prototypes cannot be qualified for distribution. Products equipped with Bluetooth wireless technology ("Bluetooth Products") and their combination, operation, use, implementation, and distribution may be subject to regulatory controls under the laws and regulations of numerous countries that regulate products that use wireless non-licensed spectrum. Examples include airline regulations, telecommunications regulations, technology transfer controls and health and safety regulations. You are solely responsible for complying with all applicable laws and regulations and for obtaining any and all required authorizations, permits, or licenses in connection with your use of this specification and development, manufacture, and distribution of Bluetooth Products. Nothing in this specification provides any information or assistance in connection with complying with applicable laws or regulations or obtaining required authorizations, permits, or licenses. Bluetooth SIG is not required to adopt any specification or portion thereof. If this specification is not the final version adopted by Bluetooth SIG’s Board of Directors, it may not be adopted. Any specification adopted by Bluetooth SIG’s Board of Directors may be withdrawn, replaced, or modified at any time. Bluetooth SIG reserves the right to change or alter final specifications in accordance with its membership and operating agreements. Copyright © 2001-2019. All copyrights in the Bluetooth Specifications themselves are owned by Apple Inc., Ericsson AB, Intel Corporation, Lenovo (Singapore) Pte. Ltd., Microsoft Corporation, Nokia Corporation, and Toshiba Corporation. The Bluetooth word mark and logos are owned by Bluetooth SIG, Inc. Other third-party brands and names are the property of their respective owners. Bluetooth SIG Proprietary Page 5 of 73
Advanced Audio Distribution / Profile Specification Contents 1 1.1 1.2 1.3 1.3.1 1.3.2 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 2.1 2.2 2.3 2.4 2.5 2 3 4 Introduction .................................................................................................................................... 9 Scope ......................................................................................................................................... 9 Profile Dependency ................................................................................................................... 9 Symbols and Conventions ....................................................................................................... 10 Requirement Status Symbols ............................................................................................... 10 Definition .............................................................................................................................. 10 Bluetooth A2DP Profile Change History .................................................................................. 11 Changes from 1.2 to 1.3 ....................................................................................................... 11 Language ................................................................................................................................. 11 Language conventions ......................................................................................................... 11 Reserved for Future Use ...................................................................................................... 12 Prohibited ............................................................................................................................. 12 Profile Overview ........................................................................................................................... 13 Profile Stacks ........................................................................................................................... 13 Configurations and Roles ........................................................................................................ 13 User Requirements and Scenarios ......................................................................................... 14 Profile Fundamentals ............................................................................................................... 14 Conformance ........................................................................................................................... 14 Application Layer ......................................................................................................................... 16 Audio Streaming Set Up .......................................................................................................... 16 Audio Streaming ...................................................................................................................... 16 Send Audio Stream .............................................................................................................. 17 Receive Audio Stream .......................................................................................................... 17 Audio Codec Interoperability Requirements ............................................................................. 18 Overview .................................................................................................................................. 18 Support of Codecs ................................................................................................................... 18 Mandatory Codec ................................................................................................................. 18 Optional codecs .................................................................................................................... 18 Vendor Specific A2DP Codecs ............................................................................................ 18 Codec Interoperability Requirements ................................................................................... 19 Audio Codec Type Field Values ........................................................................................... 19 SBC ......................................................................................................................................... 19 Reference ............................................................................................................................. 19 Codec Specific Information Elements .................................................................................. 19 Media Packet Header Requirements ................................................................................... 22 Media Payload Format ......................................................................................................... 22 MPEG-1,2 Audio ...................................................................................................................... 23 Reference ............................................................................................................................. 23 Codec Specific Information Elements .................................................................................. 23 Media Packet Header Requirements ................................................................................... 26 Media Payload Format ......................................................................................................... 26 MPEG-2, 4 AAC ...................................................................................................................... 26 Reference ............................................................................................................................. 26 Codec Specific Information Elements .................................................................................. 26 Media Packet Header Requirements ................................................................................... 28 Media Payload Format ......................................................................................................... 28 ATRAC family .......................................................................................................................... 29 Reference ............................................................................................................................. 29 Codec Specific Information Elements .................................................................................. 29 Media Packet Header Requirements ................................................................................... 31 Media Payload Format ......................................................................................................... 31 Vendor Specific A2DP Codec .................................................................................................. 32 3.1 3.2 3.2.1 3.2.2 4.1 4.2 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.4 4.4.1 4.4.2 4.4.3 4.4.4 4.5 4.5.1 4.5.2 4.5.3 4.5.4 4.6 4.6.1 4.6.2 4.6.3 4.6.4 4.7 Bluetooth SIG Proprietary Page 6 of 73
Advanced Audio Distribution / Profile Specification 5 6 7 8 9 10 11 12 4.7.1 4.7.2 4.7.3 4.7.4 6.1 6.2 6.3 5.1 5.1.1 5.1.2 5.1.3 5.2 5.2.1 5.3 5.4 5.5 5.5.1 Reference ............................................................................................................................. 32 Codec Specific Information Elements .................................................................................. 32 Media Packet Header Requirements ................................................................................... 32 Media Payload Format ......................................................................................................... 32 GAVDP Interoperability Requirements ...................................................................................... 33 AVDTP Interoperability Requirements .................................................................................... 33 Signaling procedures ............................................................................................................ 33 Transport Services ............................................................................................................... 33 Error Codes .......................................................................................................................... 34 L2CAP Interoperability Requirements ..................................................................................... 37 Maximum Transmission Unit ................................................................................................ 37 SDP Interoperability Requirements ......................................................................................... 37 Link Manager Interoperability Requirements ........................................................................... 39 Link Controller Interoperability Requirements ......................................................................... 39 Class of Device .................................................................................................................... 40 Generic Access Profile Interoperability Requirements ............................................................ 41 Modes ...................................................................................................................................... 41 Security Aspects ...................................................................................................................... 41 Idle Mode Procedures ............................................................................................................. 41 Testing .......................................................................................................................................... 42 References .................................................................................................................................... 43 List of Figures .............................................................................................................................. 44 List of Tables ................................................................................................................................ 45 Appendix A (Informative): Audio Streaming with Content Protection ................................... 47 Appendix B: Technical Specification of SBC ............................................................................ 48 12.1 Introduction .............................................................................................................................. 48 12.2 Glossary ................................................................................................................................... 48 Symbols and Abbreviations ..................................................................................................... 48 12.3 Arithmetic Operators ............................................................................................................ 48 12.3.1 Logical Operators ................................................................................................................. 49 12.3.2 Relation Operators ............................................................................................................... 49 12.3.3 12.3.4 Bitwise Operators ................................................................................................................. 49 12.3.5 Assignment ........................................................................................................................... 49 12.3.6 Mnemonics ........................................................................................................................... 49 Constants ............................................................................................................................. 50 12.3.7 12.3.8 Ranges ................................................................................................................................. 50 Number Notation .................................................................................................................. 50 12.3.9 Syntax ...................................................................................................................................... 51 12.4 Semantics ................................................................................................................................ 53 12.5 12.5.1 Frame_header ...................................................................................................................... 53 scale_factors ........................................................................................................................ 54 12.5.2 audio_samples ..................................................................................................................... 54 12.5.3 12.5.4 padding ................................................................................................................................. 54 12.6 Decoding Processes ................................................................................................................ 54 12.6.1 Frame Header ...................................................................................................................... 55 Scale Factors ....................................................................................................................... 55 12.6.2 Bit Allocation ......................................................................................................................... 55 12.6.3 Reconstruction of the Subband Samples ............................................................................. 62 12.6.4 12.6.5 Joint Processing ................................................................................................................... 62 Synthesis Filter ..................................................................................................................... 62 12.6.6 Encoding Processes ................................................................................................................ 64 12.7 Analysis Filter ....................................................................................................................... 65 12.7.1 12.7.2 Scale Factors ....................................................................................................................... 66 Joint_Stereo Channel Mode Operation ................................................................................ 66 12.7.3 12.7.4 Bit Allocation ......................................................................................................................... 66 12.7.5 Quantization ......................................................................................................................... 67 Bluetooth SIG Proprietary Page 7 of 73
Advanced Audio Distribution / Profile Specification 13.1 13.2 12.8 Tables ...................................................................................................................................... 67 12.9 Calculation of Bit Rate and Frame Length .............................................................................. 68 Appendix C (Informative): Signaling Flows ............................................................................... 69 Audio Streaming Set Up .......................................................................................................... 69 Audio Streaming ...................................................................................................................... 70 Appendix D: Requirements for Codecs Implementation ......................................................... 72 14.1 Decoder Implementation ......................................................................................................... 72 14.1.1 SBC Decoder ....................................................................................................................... 72 14.1.2 Optional Codec Decoder ...................................................................................................... 72 14.1.3 Vendor Specific A2DP Codec Decoder ................................................................................ 72 Encoder Implementation .......................................................................................................... 72 14.2 14.2.1 SBC Encoder ........................................................................................................................ 72 14.2.2 Optional Codec Encoder ...................................................................................................... 72 14.2.3 Vendor Specific A2DP Codec Encoder ................................................................................ 72 Appendix E: Acronyms and Abbreviations ............................................................................... 73 13 14 15 Bluetooth SIG Proprietary Page 8 of 73
分享到:
收藏