2772
Covered Core Package version: 4.2 Publication date: Dec 02 2014 Bluetooth SIG Proprietary Specification Volume 0 Master Table of Contents & Compliance Requirements

Bluetooth 4.2 Specification

Embed Size (px)

DESCRIPTION

Bluetooth 4.2 Specification

Citation preview

  • Covered Core Package version: 4.2

    Publication date: Dec 02 2014

    Bluetooth SIG Proprietary

    Specification Volume 0

    Master Table of Contents & Compliance Requirements

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0] page 2

    Revision History

    The Revision History is shown in the [Vol 0] Part C, Appendix.

    Contributors

    The persons who contributed to this specification are listed in the [Vol 0] Part C, Appendix.

    Web Site

    This specification can also be found on the official Bluetooth web site: https://www.bluetooth.org/en-us/specification/adopted-specifications

    Disclaimer and Copyright NoticeThis disclaimer applies to all draft specifications and final specifications adopted by the Bluetooth SIG Board of Directors (both of which are hereinafter referred to herein as a Bluetooth Specification). Your use of this Specification in any way is subject to your compliance with all conditions of such use, and your acceptance of all disclaimers and limitations as to such use, contained in this Specification. Any user of this Specification is advised to seek appropriate legal, engineering or other professional advice regarding the use, interpretation or effect of this Specification on any matters discussed in this Specification.

    Use of Bluetooth Specifications and any related intellectual property is governed by the Promoters Membership Agreement among the Promoter Members and Bluetooth SIG (the Promoters Agreement), certain membership agreements between Bluetooth SIG and its Adopter and Associate Members, including, but not limited to, the Membership Application, the Bluetooth Patent/Copyright License Agreement and the Bluetooth Trademark License Agreement (collectively, the Membership Agreements) and the Bluetooth Specification Early Adopters Agreements (1.2 Early Adopters Agreements) among Early Adopter members of the unincorporated Bluetooth SIG and the Promoter Members (the Early Adopters Agreement). Certain rights and obligations of the Promoter Members under the Early Adopters Agreements have been assigned to Bluetooth SIG by the Promoter Members. Use of the Specification by anyone who is not a member of Bluetooth SIG or a party to an Early Adopters Agreement (each such person or party, a Member) is prohibited. The use of any portion of a Bluetooth Specification may involve the use of intellectual property rights ("IPR"), including pending or issued patents, or copyrights or other rights. Bluetooth SIG has made no search or investigation for such rights and disclaims any undertaking or duty to do so. The legal rights and obligations of each Member are governed by the applicable Membership Agreements, Early Adopters Agreement or Promoters Agreement. No license, express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein.Any use of the Specification not in compliance with the terms of the applicable Membership Agreements, Early Adopters Agreement or Promoters Agreement is prohibited and any such prohibited use may result in (i) termination of the applicable Membership Agreements or Early Adopters Agreement and (ii) liability claims by Bluetooth SIG or any of its Members for patent, copyright and/or trademark infringement claims permitted by the applicable agreement or by applicable law.

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0] page 3

    THE SPECIFICATION IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, SATISFACTORY QUALITY, OR REASONABLE SKILL OR CARE, OR ANY WARRANTY ARISING OUT OF ANY COURSE OF DEALING, USAGE, TRADE PRACTICE, PROPOSAL, SPECIFICATION OR SAMPLE. Each Member hereby acknowledges that products equipped with the Bluetooth wireless technology ("Bluetooth Products") may be subject to various regulatory controls under the laws and regulations applicable to products using wireless non licensed spectrum of various governments worldwide. Such laws and regulatory controls may govern, among other things, the combination, operation, use, implementation and distribution of Bluetooth Products. Examples of such laws and regulatory controls include, but are not limited to, airline regulatory controls, telecommunications regulations, technology transfer controls and health and safety regulations. Each Member is solely responsible for the compliance by their Bluetooth Products with any such laws and regulations and for obtaining any and all required authorizations, permits, or licenses for their Bluetooth Products related to such regulations within the applicable jurisdictions. Each Member acknowledges that nothing in the Specification provides any information or assistance in connection with securing such compliance, authorizations or licenses. NOTHING IN THE SPECIFICATION CREATES ANY WARRANTIES, EITHER EXPRESS OR IMPLIED, REGARDING SUCH LAWS OR REGULATIONS. ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS OR FOR NONCOMPLIANCE WITH LAWS, RELATING TO USE OF THE SPECIFICATION IS EXPRESSLY DISCLAIMED. To the extent not prohibited by law, in no event will Bluetooth SIG or its Members or their affiliates be liable for any damages, including without limitation, 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, arising out of or related to any furnishing, practicing, modifying, use or the performance or implementation of the contents of this Specification, even if Bluetooth SIG or its Members or their affiliates have been advised of the possibility of such damages. BY USE OF THE SPECIFICATION, EACH MEMBER EXPRESSLY WAIVES ANY CLAIM AGAINST BLUETOOTH SIG AND ITS MEMBERS OR THEIR AFFILATES RELATED TO USE OF THE SPECIFICATION. If this Specification is an intermediate draft, it is for comment only. No products should be designed based on it except solely to verify the prototyping specification at SIG sponsored IOP events and it does not represent any commitment to release or implement any portion of the intermediate draft, which may be withdrawn, modified, or replaced at any time in the adopted Specification. Bluetooth SIG reserves the right to adopt any changes or alterations to the Specification it deems necessary or appropriate. Copyright 1999-2014. The Bluetooth word mark and logos are owned by Bluetooth SIG, Inc. All copyrights in the Bluetooth Specifications themselves are owned by Ericsson AB, Lenovo (Singapore) Pte. Ltd., Intel Corporation, Microsoft Corporation, Motorola Mobility, LLC, Nokia Corporation and Toshiba Corporation. Other third-party brands and names are the property of their respective owners.

  • Bluetooth SIG Proprietary

    Part A

    PART A: MASTER TABLE OFCONTENTS

    This table of contents (TOC) covers the entire Bluetooth Specification. In addition each volume has a TOC and each part of a volume is preceded by a detailed TOC.

    Master Table of Contents & Compliance Requirements

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 5

    Master Table of Contents

    THE BLUETOOTH SPECIFICATION MASTER TABLE OF CONTENTS

    In the following Master Table of Contents:

    The TOC for each Volume starts at the top of a page.

    The Volume number in black is followed by the Volume name in red.

    Note: Each Volume is a self contained book and is equipped with a TOC of its own.

    A Volume contains one or more Parts (A, B, etc.); each Part can be viewed independently and has its own TOC.

    Red or blue text on the following pages indicates hypertext links that take you directly to the indicated section, on condition that you have access to a complete specification.

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 6

    Specification Volume 0Master Table of Contents & Compliance Requirements

    Part AMASTER TABLE OF CONTENTS

    Part BBLUETOOTH COMPLIANCE REQUIREMENTS

    1 Introduction........................................................................................ 752 Scope .................................................................................................. 763 Definitions .......................................................................................... 77

    3.1 Types of Bluetooth Products...................................................... 773.1.1 Bluetooth End Product .................................................. 783.1.2 Bluetooth Subsystem Product....................................... 783.1.3 Bluetooth Component Product...................................... 813.1.4 Bluetooth Development Tool ......................................... 813.1.5 Bluetooth Test Equipment ............................................. 81

    4 Core Configurations .......................................................................... 824.1 Basic Rate Core Configuration .................................................. 824.2 Enhanced Data Rate Core Configurations ................................ 834.3 High Speed Core Configuration................................................. 844.4 Low Energy Core Configuration ................................................ 854.5 Basic Rate and Low Energy Combined Core Configuration...... 864.6 Host Controller Interface Core Configuration............................. 87

    Part CAPPENDIX

    1 Revision History ................................................................................ 911.1 [Vol 0] Master TOC & Compliance Requirements ..................... 91

    1.1.1 Bluetooth Compliance Requirements ........................... 911.2 [Vol 1] Architecture & Terminology Overview............................. 921.3 [Vols 2, 3, 5, 6 & 7] Core System Package ............................... 931.4 [Vol 4] Transport Layers............................................................. 95

    2 Contributors ....................................................................................... 962.1 [Vol 0] Master TOC & Compliance Requirements ..................... 96

    2.1.1 Part B: Bluetooth Compliance Requirements .............. 962.1.2 Vol 0 Part C: Appendix (Rev History and Contributors) 96

    2.2 [Vol 1] Architecture & Terminology Overview............................. 972.2.1 Part A: Architectural Overview ..................................... 97

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 7

    2.2.2 Part B: Acronyms & Abbreviations................................ 992.2.3 Part C: Core Specification Change History .................. 992.2.4 Part D: Mixing of Specification Versions ..................... 100

    2.3 [Vol 2] Core System Package, Controller ................................ 1012.3.1 Part A: Radio Specification ......................................... 1012.3.2 Part B: Baseband Specification................................... 1032.3.3 Part C: Link Manager Protocol.................................... 1082.3.4 Part D: Error Codes .................................................... 1122.3.5 Part E: Bluetooth Host Controller Interface Functional

    Specification................................................................ 1152.3.6 Part F: Message Sequence Charts............................. 1212.3.7 Part G: Sample Data................................................... 1242.3.8 Part H: Security Specification...................................... 126

    2.4 [Vol 3] Core System Package, Host ........................................ 1292.4.1 Part A: Logical Link Control and Adaptation Protocol

    Specification................................................................ 1292.4.2 Part B: Service Discovery Protocol (SDP) .................. 1332.4.3 Part C: Generic Access Profile ................................... 1342.4.4 Part D: Test Support.................................................... 1382.4.5 Part E: AMP Manager Protocol................................... 1392.4.6 Part F: Attribute Protocol Specification ....................... 1392.4.7 Part G: Generic Attribute Protocol Specification ......... 1402.4.8 Part H: Security Manager Specification ...................... 142

    2.5 [Vol 4] Host Controller Interface [Transport Layer] .................. 1442.6 [Vol 5] Core System Package [AMP Controller volume] .......... 146

    2.6.1 Part A: 802.11 PAL...................................................... 1462.7 [Vol 6] Low Energy Specification ............................................. 147

    2.7.1 Part A: Physical Layer Specification ........................... 1472.7.2 Part B: Link Layer Specification .................................. 1472.7.3 Part C: Sample Data ................................................... 1492.7.4 Part D: Message Sequence Charts ............................ 1502.7.5 Part E: Low Energy Security Specification.................. 1512.7.6 Part F: Direct Test Mode ............................................. 152

    2.8 [Vol 7] Core System Package [Wireless Coexistence volume] 1532.8.1 Part A: MWS Coexistence Logical Signaling

    Specification................................................................ 1532.8.2 Part B: Wireless Coexistence Interface 1 (WCI-1)

    Transport Specification ............................................... 1532.8.3 Part C: Wireless Coexistence Interface 2 (WCI-2)

    Transport Specification ............................................... 153

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 8

    Specification Volume 1Architecture & Terminology Overview

    Part AARCHITECTURE

    1 General Description........................................................................... 131.1 Overview of BR/EDR Operation ................................................ 141.2 Overview of Bluetooth Low Energy Operation........................... 161.3 Overview of AMP Operation ...................................................... 191.4 Nomenclature ............................................................................ 20

    2 Core System Architecture................................................................. 262.1 Core Architectural Blocks .......................................................... 30

    2.1.1 Host Architectural Blocks .............................................. 302.1.2 BR/EDR/LE Controller Architectural Blocks.................. 312.1.3 AMP Controller architectural blocks.............................. 33

    3 Data Transport Architecture ............................................................. 353.1 Core Traffic Bearers .................................................................. 36

    3.1.1 Framed Data Traffic ...................................................... 373.1.2 Unframed Data Traffic................................................... 383.1.3 Reliability of traffic bearers............................................ 39

    3.2 Transport Architecture Entities .................................................. 423.2.1 BR/EDR Generic Packet Structure ............................... 433.2.2 LE Generic Packet Structure......................................... 44

    3.3 Physical Channels ..................................................................... 463.3.1 BR/EDR Physical Channels.......................................... 463.3.2 LE Physical Channels ................................................... 523.3.3 AMP physical channel................................................... 55

    3.4 Physical Links............................................................................ 563.4.1 BR/EDR Links Supported By The Basic And Adapted

    Piconet Physical Channel ............................................. 563.4.2 BR/EDR Links Supported by the Scanning Physical

    Channels....................................................................... 593.4.3 LE Links Supported by the LE Physical Channels........ 593.4.4 Links Supported by the AMP Physical Channels.......... 59

    3.5 Logical Links and Logical Transports ........................................ 603.5.1 Casting.......................................................................... 613.5.2 Scheduling and Acknowledgement Scheme................. 623.5.3 Class of Data ................................................................ 62

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 9

    3.5.4 Logical Transports......................................................... 633.5.5 Logical Links ................................................................. 68

    3.6 L2CAP Channels ....................................................................... 71

    4 Communication Topology and Operation ....................................... 724.1 Piconet Topology ....................................................................... 72

    4.1.1 BR/EDR Topology ......................................................... 724.1.2 LE Topology .................................................................. 74

    4.2 Operational Procedures and Modes.......................................... 764.2.1 BR/EDR Procedures ..................................................... 764.2.2 LE Procedures .............................................................. 804.2.3 AMP Procedures........................................................... 84

    5 Security Overview.............................................................................. 855.1 Security Architecture ................................................................. 855.2 BR/EDR Secure Simple Pairing................................................. 87

    5.2.1 Security Goals............................................................... 875.2.2 Passive Eavesdropping Protection ............................... 885.2.3 Man-In-The-Middle Protection ...................................... 895.2.4 Association Models ....................................................... 89

    5.3 Secure Connections Only Mode................................................ 925.4 LE Security ................................................................................ 93

    5.4.1 Association Models ....................................................... 935.4.2 Key Generation............................................................. 945.4.3 Encryption ..................................................................... 945.4.4 Signed Data .................................................................. 945.4.5 Privacy Feature............................................................. 94

    5.5 AMP Security ............................................................................. 965.6 Key Generation Between BR/EDR and LE Physical Transports96

    6 Bluetooth Application Architecture ................................................. 976.1 Bluetooth Profiles ...................................................................... 976.2 Generic Access Profile .............................................................. 986.3 Profile Hierarchy ........................................................................ 996.4 Generic Attribute Profile ............................................................ 996.5 GATT-based Profile Hierarchy ................................................. 100

    6.5.1 Service........................................................................ 1016.5.2 Referenced Services................................................... 1026.5.3 Characteristic .............................................................. 102

    7 Coexistence and Collocation.......................................................... 1037.1 Core Features Supporting Coexistence and Collocation......... 1047.2 Adaptive Frequency Hopping .................................................. 104

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 10

    7.3 Coexistence Between Bluetooth Devices and Wireless LAN Devices.................................................................................... 105

    7.4 Mobile Wireless Standards (MWS) Coexistence ..................... 1057.5 Synchronizing Bluetooth with an External Timing Source ....... 1087.6 Piconet Clock Adjustment........................................................ 109

    Part BACRONYMS & ABBREVIATIONS

    1 List of Acronyms and Abbreviations ............................................. 113

    Part CCORE SPECIFICATION CHANGE HISTORY

    1 Deprecated Features ....................................................................... 1262 Changes from V1.1 to V1.2 ............................................................. 127

    2.1 New Features .......................................................................... 1272.2 Structure Changes................................................................... 1272.3 Deprecated Features list ......................................................... 1272.4 Changes in Wording ................................................................ 1282.5 Nomenclature Changes........................................................... 128

    3 Changes from V1.2 to V2.0 + EDR.................................................. 1293.1 New Features .......................................................................... 1293.2 Deprecated Features............................................................... 129

    4 Changes from V2.0 + EDR to V2.1 + EDR ...................................... 1304.1 New features ........................................................................... 1304.2 Deprecated Features............................................................... 130

    5 Changes From V2.1 + EDR To V3.0 + HS....................................... 1315.1 New Features .......................................................................... 1315.2 Deprecated Features............................................................... 131

    6 Changes From V3.0 + HS To v4.0 ................................................... 1326.1 New Features .......................................................................... 1326.2 Deprecated Features............................................................... 132

    7 Changes from v4.0 to v4.1 ............................................................. 1337.1 New Features .......................................................................... 133

    7.1.1 Features Added in CSA 4 Integrated in v4.1 ........... 1337.1.2 Features Added in CSA 3 Integrated in v4.1 ........... 1337.1.3 Features Added in CSA 2 Integrated in v4.1 ........... 134

    7.2 Deprecated Features............................................................... 134

    8 Changes from v4.1 to v4.2 .............................................................. 1358.1 New Features .......................................................................... 1358.2 Errata Incorporated in v4.2 ...................................................... 135

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 11

    Part DMIXING OF SPECIFICATION VERSIONS

    1 Mixing of Specification Versions.................................................... 1391.1 Features and their Types......................................................... 1411.2 Core Specification Addenda .................................................... 143

    Part EIEEE LANGUAGE

    1 Use of IEEE Language..................................................................... 1481.1 Shall......................................................................................... 1491.2 Must ......................................................................................... 1491.3 Will ........................................................................................... 1491.4 Should ..................................................................................... 1491.5 May.......................................................................................... 1501.6 Can .......................................................................................... 150

    LIST OF FIGURES (ALL PARTS) ............................................................... 151

    LIST OF TABLES (ALL PARTS) ................................................................ 153

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 12

    Specification Volume 2Core System Package[BR/EDR Controller volume]

    Part ARADIO SPECIFICATION

    1 Scope .................................................................................................. 342 Frequency Bands and Channel Arrangement................................. 363 Transmitter Characteristics .............................................................. 37

    3.1 Basic Rate ................................................................................. 393.1.1 Modulation Characteristics............................................ 393.1.2 Spurious Emissions....................................................... 393.1.3 Radio Frequency Tolerance.......................................... 40

    3.2 Enhanced Data Rate ................................................................. 413.2.1 Modulation Characteristics............................................ 413.2.2 Spurious Emissions....................................................... 443.2.3 Radio Frequency Tolerance.......................................... 463.2.4 Relative Transmit Power............................................... 46

    4 Receiver Characteristics................................................................... 474.1 Basic Rate ................................................................................. 47

    4.1.1 Actual Sensitivity Level ................................................. 474.1.2 Interference Performance ............................................. 474.1.3 Out-of-Band Blocking.................................................... 484.1.4 Intermodulation Characteristics .................................... 484.1.5 Maximum Usable Level................................................. 494.1.6 Receiver Signal Strength Indicator................................ 494.1.7 Reference Signal Definition .......................................... 49

    4.2 Enhanced Data Rate ................................................................. 494.2.1 Actual Sensitivity Level ................................................. 494.2.2 BER Floor Performance................................................ 494.2.3 Interference Performance ............................................. 504.2.4 Maximum Usable Level................................................. 514.2.5 Out-of-Band and Intermodulation Characteristics......... 514.2.6 Reference Signal Definition .......................................... 51

    Appendix A Test Conditions ..................................................................... 52

    A.1 Nominal Test Conditions ........................................................ 52

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 13

    A.1.1 Nominal temperature .................................................. 52A.1.2 Nominal power source ................................................ 52

    A.2 Extreme Test Conditions ........................................................ 52A.2.1 Extreme temperatures ................................................ 52A.2.2 Extreme power source voltages .................................. 53

    Appendix B Test Conditions for RF Parameters ..................................... 54

    Appendix C Modulation Accuracy Definition .......................................... 55

    C.1 Enhanced Data Rate Modulation Accuracy ............................ 55C.1.1 RMS DEVM .................................................................. 57C.1.2 Peak DEVM ................................................................. 57

    Part BBASEBAND SPECIFICATION

    1 General Description........................................................................... 661.1 Bluetooth Clock ......................................................................... 671.2 Bluetooth Device Addressing .................................................... 69

    1.2.1 Reserved Addresses..................................................... 691.3 Access Codes............................................................................ 70

    2 Physical Channels ............................................................................. 712.1 Physical Channel Definition....................................................... 722.2 Basic Piconet Physical Channel ................................................ 72

    2.2.1 Master-slave Definition ................................................. 722.2.2 Hopping Characteristics................................................ 732.2.3 Time Slots ..................................................................... 732.2.4 Piconet Clocks .............................................................. 742.2.5 Transmit/Receive Timing .............................................. 74

    2.3 Adapted Piconet Physical Channel ........................................... 782.3.1 Hopping Characteristics................................................ 78

    2.4 Page Scan Physical Channel .................................................... 792.4.1 Clock Estimate for Paging............................................. 792.4.2 Hopping Characteristics................................................ 792.4.3 Paging Procedure Timing ............................................. 802.4.4 Page Response Timing................................................. 81

    2.5 Inquiry Scan Physical Channel .................................................. 832.5.1 Clock for Inquiry ............................................................ 832.5.2 Hopping Characteristics................................................ 832.5.3 Inquiry Procedure Timing.............................................. 83

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 14

    2.5.4 Inquiry Response Timing .............................................. 832.6 Hop Selection ............................................................................ 85

    2.6.1 General Selection Scheme ........................................... 852.6.2 Selection Kernel............................................................ 892.6.3 Adapted Hop Selection Kernel...................................... 922.6.4 Control Word................................................................. 93

    2.7 Synchronization Scan Physical Channel ................................... 982.7.1 Hopping Characteristics................................................ 982.7.2 Synchronization Train Procedure Timing ...................... 982.7.3 Synchronization Scan Procedure Timing...................... 99

    3 Physical Links.................................................................................. 1013.1 Link Supervision for Active and Parked Physical Links ........... 1013.2 Link Supervision for Connectionless Slave Broadcast Physical

    Links ........................................................................................ 1023.3 Authenticated Payload Timeout for Active Links ..................... 102

    4 Logical Transports........................................................................... 1034.1 General .................................................................................... 1034.2 Logical Transport Address (LT_ADDR) ................................... 1034.3 Synchronous Logical Transports ............................................. 1044.4 Asynchronous Logical Transport ............................................. 1044.5 Transmit/Receive Routines...................................................... 106

    4.5.1 TX Routine.................................................................. 1064.5.2 RX Routine.................................................................. 1094.5.3 Flow Control................................................................ 110

    4.6 Active Slave Broadcast Transport ............................................1114.7 Parked Slave Broadcast Transport.......................................... 112

    4.7.1 Parked Member Address (PM_ADDR) ....................... 1124.7.2 Access Request Address (AR_ADDR) ....................... 112

    4.8 Connectionless Slave Broadcast Logical Transport ................ 112

    5 Logical Links.................................................................................... 1135.1 Link Control Logical Link (LC) ................................................. 1135.2 ACL Control Logical Link (ACL-C) ........................................... 1135.3 User Asynchronous/Isochronous Logical Link (ACL-U)........... 114

    5.3.1 Pausing the ACL-U logical link.................................... 1145.4 User Synchronous Data Logical Link (SCO-S)........................ 1145.5 User Extended Synchronous Data Logical Link (eSCO-S)...... 1145.6 Logical Link Priorities............................................................... 1145.7 Profile Broadcast Data Logical Link......................................... 114

    6 Packets ............................................................................................. 1156.1 General Format ....................................................................... 115

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 15

    6.1.1 Basic Rate................................................................... 1156.1.2 Enhanced Data Rate................................................... 115

    6.2 Bit Ordering ............................................................................. 1166.3 Access Code ........................................................................... 117

    6.3.1 Access Code Types .................................................... 1176.3.2 Preamble..................................................................... 1186.3.3 Sync Word .................................................................. 1186.3.4 Trailer.......................................................................... 121

    6.4 Packet Header......................................................................... 1226.4.1 LT_ADDR.................................................................... 1226.4.2 TYPE........................................................................... 1226.4.3 FLOW.......................................................................... 1236.4.4 ARQN.......................................................................... 1236.4.5 SEQN.......................................................................... 1236.4.6 HEC ............................................................................ 123

    6.5 Packet Types ........................................................................... 1246.5.1 Common Packet Types............................................... 1266.5.2 SCO Packets .............................................................. 1286.5.3 eSCO Packets ............................................................ 1306.5.4 ACL Packets ............................................................... 132

    6.6 Payload Format ....................................................................... 1356.6.1 Synchronous Data Field.............................................. 1356.6.2 Asynchronous Data Field............................................ 137

    6.7 Packet Summary ..................................................................... 141

    7 Bitstream Processing ...................................................................... 1437.1 Error Checking......................................................................... 144

    7.1.1 HEC Generation.......................................................... 1447.1.2 CRC Generation ......................................................... 146

    7.2 Data Whitening ........................................................................ 1477.3 Error Correction ....................................................................... 1487.4 FEC Code: Rate 1/3 ................................................................ 1487.5 FEC Code: Rate 2/3 ................................................................ 1497.6 ARQ Scheme........................................................................... 150

    7.6.1 Unnumbered ARQ ...................................................... 1507.6.2 Retransmit Filtering..................................................... 1537.6.3 Flushing Payloads....................................................... 1567.6.4 Multi-slave Considerations.......................................... 1577.6.5 Active Slave and Park Slave Broadcast Packets........ 157

    7.7 Erroneous Synchronous Data Reporting ................................. 158

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 16

    7.8 Message Integrity Check ......................................................... 158

    8 Link Controller Operation ............................................................... 1598.1 Overview of States................................................................... 1598.2 Standby State........................................................................... 1608.3 Connection Establishment Substates ...................................... 160

    8.3.1 Page Scan Substate ................................................... 1608.3.2 Page substate ............................................................. 1628.3.3 Page Response Substates ......................................... 165

    8.4 Device Discovery Substates .................................................... 1698.4.1 Inquiry scan substate .................................................. 1708.4.2 Inquiry Substate .......................................................... 1718.4.3 Inquiry Response Substate......................................... 172

    8.5 Connection State ..................................................................... 1748.6 Active Mode............................................................................. 176

    8.6.1 Polling in the Active Mode........................................... 1778.6.2 SCO ............................................................................ 1778.6.3 eSCO .......................................................................... 1788.6.4 Broadcast Scheme...................................................... 1818.6.5 Role Switch ................................................................. 1828.6.6 Scatternet.................................................................... 1848.6.7 Hop Sequence Switching............................................ 1858.6.8 Channel Classification and Channel Map Selection ... 1888.6.9 Power Management.................................................... 1898.6.10 Piconet Clock Adjustment ........................................... 190

    8.7 Sniff Mode................................................................................ 1938.7.1 Sniff Transition Mode .................................................. 1948.7.2 Sniff Subrating ............................................................ 195

    8.8 Hold Mode ............................................................................... 1978.9 Park State ................................................................................ 197

    8.9.1 Beacon Train............................................................... 1988.9.2 Beacon Access Window ............................................. 2008.9.3 Parked Slave Synchronization.................................... 2018.9.4 Parking........................................................................ 2028.9.5 Master-initiated Unparking .......................................... 2028.9.6 Slave-initiated Unparking ............................................ 2038.9.7 Broadcast Scan Window............................................. 2048.9.8 Polling in the Park State.............................................. 204

    8.10 Connectionless Slave Broadcast Mode................................... 2058.10.1 Connectionless Slave Broadcast Transmit Operation 205

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 17

    8.10.2 Connectionless Slave Broadcast Receive Operation . 2068.10.3 AFH in Connectionless Slave Broadcast .................... 207

    8.11 Synchronization Establishment Substates............................... 2078.11.1 Synchronization Scan Substate .................................. 2078.11.2 Synchronization Train Substate .................................. 207

    9 Audio................................................................................................. 2109.1 LOG PCM CODEC .................................................................. 2109.2 CVSD CODEC......................................................................... 2109.3 Error Handling ......................................................................... 2139.4 General Audio Requirements .................................................. 213

    9.4.1 Signal Levels............................................................... 2139.4.2 CVSD Audio Quality.................................................... 213

    Appendix A General Audio Recommendations .................................... 214

    A.1 Maximum Sound Pressure .................................................... 214A.2 Other Telephony Network Requirements .............................. 214A.3 Audio Levels for Bluetooth .................................................... 214A.4 Microphone Path ................................................................... 215A.5 Loudspeaker Path ................................................................. 215A.6 Bluetooth Voice Interface ...................................................... 215A.7 Frequency Mask ................................................................... 216

    Appendix B Timers .................................................................................. 218

    B.1 List of Timers ......................................................................... 218B.1.1 inquiryTO ................................................................... 218B.1.2 pageTO ...................................................................... 218B.1.3 extended_pageTO ..................................................... 218B.1.4 pagerespTO ............................................................... 218B.1.5 newconnectionTO ...................................................... 218B.1.6 supervisionTO ............................................................ 219B.1.7 CSB_supervisionTO .................................................. 219B.1.8 synchronization_trainTO ............................................ 219B.1.9 synchronization_scanTO ........................................... 219B.1.10 authenticatedPayloadTO ........................................... 219B.1.11 CLK_adj_dragTO ....................................................... 220

    Appendix C Recommendations for AFH Operation in Park, Hold, Sniff and CSB ............................................................................... 221

    C.1 Operation at the Master ........................................................ 221

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 18

    C.2 Operation in Park .................................................................. 222C.3 AFH Operation in Sniff .......................................................... 222C.4 AFH Operation in Hold .......................................................... 222C.5 AFH Operation in Connectionless Slave Broadcast ............. 223

    Part CLINK MANAGER PROTOCOL SPECIFICATION

    1 Introduction...................................................................................... 2292 General Rules................................................................................... 230

    2.1 Message Transport.................................................................. 2302.2 Synchronization ....................................................................... 2302.3 Packet Format ......................................................................... 2312.4 Transactions ............................................................................ 232

    2.4.1 LMP Response Timeout ............................................. 2342.5 Error Handling ......................................................................... 234

    2.5.1 Transaction Collision Resolution................................. 2352.6 Procedure Rules...................................................................... 2352.7 General Response Messages ................................................. 2362.8 LMP Message Constraints....................................................... 236

    3 Device Features ............................................................................... 2373.1 General Description................................................................. 2373.2 Feature Definitions .................................................................. 2373.3 Feature Mask Definition........................................................... 2453.4 Link Manager Interoperability policy ........................................ 248

    4 Procedure Rules .............................................................................. 2494.1 Connection Control .................................................................. 249

    4.1.1 Connection Establishment .......................................... 2494.1.2 Detach......................................................................... 2504.1.3 Power Control ............................................................. 2514.1.4 Adaptive Frequency Hopping...................................... 2554.1.5 Channel Classification ................................................ 2584.1.6 Link Supervision.......................................................... 2604.1.7 Channel Quality Driven Data Rate Change (CQDDR) 2614.1.8 Quality of Service (QoS) ............................................. 2624.1.9 Paging Scheme Parameters ....................................... 2634.1.10 Control of Multi-slot Packets ....................................... 2654.1.11 Enhanced Data Rate................................................... 2664.1.12 Encapsulated LMP PDUs ........................................... 2674.1.13 Ping............................................................................. 269

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 19

    4.1.14 Piconet Clock Adjustment ........................................... 2704.2 Security.................................................................................... 274

    4.2.1 Authentication ............................................................. 2744.2.2 Pairing......................................................................... 2774.2.3 Change Link Key......................................................... 2804.2.4 Change Current Link Key Type................................... 2824.2.5 Encryption ................................................................... 2844.2.6 Request Supported Encryption Key Size.................... 2934.2.7 Secure Simple Pairing ................................................ 294

    4.3 Informational Requests............................................................ 3094.3.1 Timing Accuracy ......................................................... 3094.3.2 Clock Offset ................................................................ 3104.3.3 LMP version................................................................ 3114.3.4 Supported Features .................................................... 3124.3.5 Name Request ............................................................ 314

    4.4 Role Switch.............................................................................. 3154.4.1 Slot Offset ................................................................... 3154.4.2 Role Switch ................................................................. 316

    4.5 Modes of Operation ................................................................. 3194.5.1 Hold Mode................................................................... 3194.5.2 Park State ................................................................... 3224.5.3 Sniff Mode................................................................... 329

    4.6 Logical Transports ................................................................... 3334.6.1 SCO Logical Transport ............................................... 3334.6.2 eSCO Logical Transport ............................................. 336

    4.7 Test Mode ................................................................................ 3414.7.1 Activation and Deactivation of Test Mode................... 3414.7.2 Control of Test Mode................................................... 3424.7.3 Summary of Test Mode PDUs..................................... 344

    5 Summary .......................................................................................... 3475.1 PDU Summary ........................................................................ 3475.2 Parameter Definitions .............................................................. 3585.3 LMP Encapsulated................................................................... 3695.4 Default Values.......................................................................... 369

    Part DERROR CODES

    1 Overview of Error Codes................................................................. 3731.1 Usage Descriptions ................................................................. 373

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 20

    1.2 HCI Command Errors .............................................................. 3731.3 List of Error Codes................................................................... 374

    2 Error Code Descriptions ................................................................. 3772.1 Unknown HCI Command (0x01).............................................. 3772.2 Unknown Connection Identifier (0x02) .................................... 3772.3 Hardware Failure (0x03) .......................................................... 3772.4 Page Timeout (0x04) ............................................................... 3772.5 Authentication Failure (0x05)................................................... 3772.6 PIN or key Missing (0x06) ....................................................... 3772.7 Memory Capacity Exceeded (0x07)......................................... 3772.8 Connection Timeout (0x08) ..................................................... 3782.9 Connection Limit Exceeded (0x09).......................................... 3782.10 Synchronous Connection Limit to a Device Exceeded (0x0A) 3782.11 ACL Connection Already Exists (0x0B) ................................... 3782.12 Command Disallowed (0x0C).................................................. 3782.13 Connection Rejected due to Limited Resources (0x0D).......... 3782.14 Connection Rejected due to Security Reasons (0x0E)............ 3782.15 Connection Rejected due to Unacceptable BD_ADDR (0x0F) 3792.16 Connection Accept Timeout Exceeded (0x10) ........................ 3792.17 Unsupported Feature or Parameter Value (0x11).................... 3792.18 Invalid HCI Command Parameters (0x12)............................... 3792.19 Remote User Terminated Connection (0x13) .......................... 3792.20 Remote Device Terminated Connection due to Low Resources

    (0x14) ...................................................................................... 3802.21 Remote Device Terminated Connection due to Power Off

    (0x15) ...................................................................................... 3802.22 Connection Terminated by Local Host (0x16).......................... 3802.23 Repeated Attempts (0x17)....................................................... 3802.24 Pairing not Allowed (0x18)....................................................... 3802.25 Unknown LMP PDU (0x19) ..................................................... 3802.26 Unsupported Remote Feature / Unsupported LMP Feature

    (0x1A) ...................................................................................... 3802.27 SCO Offset Rejected (0x1B).................................................... 3802.28 SCO Interval Rejected (0x1C) ................................................. 3812.29 SCO Air Mode Rejected (0x1D)............................................... 3812.30 Invalid LMP Parameters / Invalid LL Parameters (0x1E)......... 3812.31 Unspecified Error (0X1F)......................................................... 3812.32 Unsupported LMP Parameter Value / Unsupported LL Parameter

    Value (0x20)............................................................................. 3812.33 Role Change Not Allowed (0x21) ............................................ 3812.34 LMP Response Timeout / LL Response Timeout (0x22) ......... 3822.35 LMP Error Transaction Collision (0x23)................................... 3822.36 LMP PDU Not Allowed (0x24) ................................................. 382

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 21

    2.37 Encryption Mode Not Acceptable (0x25) ................................. 3822.38 Link Key cannot be Changed (0x26) ....................................... 3822.39 Requested QoS Not Supported (0x27).................................... 3822.40 Instant Passed (0x28).............................................................. 3822.41 Pairing with Unit Key Not Supported (0x29) ............................ 3822.42 Different Transaction Collision (0x2A) ..................................... 3832.43 QoS Unacceptable Parameter (0x2C) ..................................... 3832.44 QoS Rejected (0x2D) .............................................................. 3832.45 Channel Assessment Not Supported (0x2E) ........................... 3832.46 Insufficient Security (0x2F) ...................................................... 3832.47 Parameter out of Mandatory Range (0x30) ............................. 3832.48 Role Switch Pending (0x32) .................................................... 3832.49 Reserved Slot Violation (0x34) ................................................ 3832.50 Role Switch Failed (0x35)........................................................ 3842.51 Extended Inquiry Response Too Large (0x36) ........................ 3842.52 Simple Pairing Not Supported By Host (0x37)......................... 3842.53 Host BusyPairing (0x38) ........................................................ 3842.54 Connection Rejected Due To No Suitable Channel Found

    (0x39) ...................................................................................... 3842.55 Controller Busy (0x3A) ............................................................ 3842.56 Unacceptable Connection Parameters (0x3B) ........................ 3842.57 Directed Advertising Timeout (0x3C)....................................... 3852.58 Connection Terminated Due To MIC Failure (0x3D)................ 3852.59 Connection Failed To Be Established (0x3E) .......................... 3852.60 MAC Connection Failed (0x3F) ............................................... 3852.61 Coarse Clock Adjustment Rejected but Will Try to Adjust Using

    Clock Dragging (0x40) ............................................................. 385

    Part EHOST CONTROLLER INTERFACE FUNCTIONAL SPECIFICATION

    1 Introduction...................................................................................... 3991.1 Lower Layers of the Bluetooth Software Stack ........................ 400

    2 Overview of Host Controller Transport Layer ............................... 4022.1 Host Controller Transport Layer and AMPS ............................ 402

    3 Overview of Commands and Events.............................................. 4033.1 Generic Events ........................................................................ 4043.2 Device Setup ........................................................................... 4043.3 Controller Flow Control ............................................................ 4053.4 Controller Information .............................................................. 4063.5 Controller Configuration........................................................... 4083.6 Device Discovery ..................................................................... 4113.7 Connection Setup .................................................................... 414

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 22

    3.8 Remote Information ................................................................. 4193.9 Synchronous Connections....................................................... 4203.10 Connection State ..................................................................... 4223.11 Piconet Structure ..................................................................... 4253.12 Quality of Service .................................................................... 4263.13 Physical Links.......................................................................... 4283.14 Host Flow Control .................................................................... 4303.15 Link Information ....................................................................... 4333.16 Authentication and Encryption................................................. 4353.17 Testing ..................................................................................... 4433.18 Alphabetical List of Commands and Events ............................ 4453.19 LE Controller Requirements .................................................... 4543.20 Connectionless Slave Broadcast ............................................. 459

    4 HCI Flow Control.............................................................................. 4614.1 Host to Controller Data Flow Control ....................................... 461

    4.1.1 Packet-based Data Flow Control ................................ 4614.1.2 Data-Block-Based Data Flow Control ......................... 463

    4.2 Controller to Host Data Flow Control ....................................... 4644.3 Disconnection Behavior ........................................................... 4644.4 Command Flow Control ........................................................... 4654.5 Command Error Handling........................................................ 465

    5 HCI Data Formats............................................................................. 4675.1 Introduction.............................................................................. 4675.2 Data and Parameter Formats .................................................. 4675.3 Handles ................................................................................... 468

    5.3.1 Primary Controller Handles......................................... 4685.3.2 AMP Controller Handles ............................................. 469

    5.4 Exchange of HCI-Specific Information..................................... 4705.4.1 HCI Command Packet ................................................ 4705.4.2 HCI ACL Data Packets ............................................... 4725.4.3 HCI Synchronous Data Packets ................................. 4755.4.4 HCI Event Packet........................................................ 477

    6 HCI Configuration Parameters........................................................ 4786.1 Scan Enable ............................................................................ 4786.2 Inquiry Scan Interval ................................................................ 4786.3 Inquiry Scan Window............................................................... 4796.4 Inquiry Scan Type.................................................................... 4796.5 Inquiry Mode............................................................................ 4796.6 Page Timeout .......................................................................... 4806.7 Connection Accept Timeout..................................................... 4806.8 Page Scan Interval .................................................................. 481

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 23

    6.9 Page Scan Window ................................................................. 4816.10 Page Scan Period Mode (Deprecated).................................... 4816.11 Page Scan Type ...................................................................... 4826.12 Voice Setting............................................................................ 4826.13 PIN Type.................................................................................. 4836.14 Link Key................................................................................... 4836.15 Failed Contact Counter............................................................ 4836.16 Authentication Enable.............................................................. 4846.17 Hold Mode Activity ................................................................... 4846.18 Link Policy Settings ................................................................. 4856.19 Flush Timeout .......................................................................... 4866.20 Num Broadcast Retransmissions ............................................ 4866.21 Link Supervision Timeout ........................................................ 4876.22 Synchronous Flow Control Enable .......................................... 4876.23 Local Name ............................................................................. 4886.24 Extended Inquiry Response .................................................... 4886.25 Erroneous Data Reporting ....................................................... 4886.26 Class Of Device....................................................................... 4896.27 Supported Commands............................................................. 4896.28 Logical Link Accept Timeout.................................................... 4986.29 Location Domain Aware........................................................... 4996.30 Location Domain...................................................................... 4996.31 Location Domain Options ........................................................ 5006.32 Location Options...................................................................... 5006.33 Flow Control Mode .................................................................. 5006.34 LE Supported Host .................................................................. 5016.35 Simultaneous LE Host ............................................................. 5016.36 Synchronization Train Interval ................................................. 5016.37 Synchronization Train Timeout ................................................ 5026.38 Service Data ............................................................................ 5026.39 Secure Connections Host Support .......................................... 5026.40 Authenticated Payload Timeout............................................... 5036.41 Extended Page Timeout .......................................................... 5036.42 Extended Inquiry Length.......................................................... 503

    7 HCI Commands and Events ............................................................ 5047.1 Link Control Commands .......................................................... 504

    7.1.1 Inquiry Command........................................................ 5057.1.2 Inquiry Cancel Command ........................................... 5077.1.3 Periodic Inquiry Mode Command................................ 5087.1.4 Exit Periodic Inquiry Mode Command......................... 5117.1.5 Create Connection Command .................................... 512

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 24

    7.1.6 Disconnect Command................................................. 5157.1.7 Create Connection Cancel Command ........................ 5167.1.8 Accept Connection Request Command...................... 5187.1.9 Reject Connection Request Command....................... 5207.1.10 Link Key Request Reply Command............................ 5217.1.11 Link Key Request Negative Reply Command............. 5237.1.12 PIN Code Request Reply Command .......................... 5247.1.13 PIN Code Request Negative Reply Command........... 5267.1.14 Change Connection Packet Type Command.............. 5277.1.15 Authentication Requested Command ......................... 5307.1.16 Set Connection Encryption Command........................ 5327.1.17 Change Connection Link Key Command.................... 5347.1.18 Master Link Key Command......................................... 5357.1.19 Remote Name Request Command............................. 5377.1.20 Remote Name Request Cancel Command................. 5397.1.21 Read Remote Supported Features Command ........... 5417.1.22 Read Remote Extended Features Command............. 5427.1.23 Read Remote Version Information Command............ 5447.1.24 Read Clock Offset Command ..................................... 5457.1.25 Read LMP Handle Command..................................... 5467.1.26 Setup Synchronous Connection Command................ 5487.1.27 Accept Synchronous Connection Request Command 5527.1.28 Reject Synchronous Connection Request Command. 5567.1.29 IO Capability Request Reply Command ..................... 5577.1.30 User Confirmation Request Reply Command............. 5607.1.31 User Confirmation Request Negative Reply

    Command ................................................................... 5617.1.32 User Passkey Request Reply Command.................... 5627.1.33 User Passkey Request Negative Reply Command .... 5637.1.34 Remote OOB Data Request Reply Command............ 5647.1.35 Remote OOB Data Request Negative Reply

    Command ................................................................... 5667.1.36 IO Capability Request Negative Reply Command...... 5677.1.37 Create Physical Link Command.................................. 5687.1.38 Accept Physical Link Command ................................. 5707.1.39 Disconnect Physical Link Command........................... 5727.1.40 Create Logical Link Command.................................... 5747.1.41 Accept Logical Link Command ................................... 576

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 25

    7.1.42 Disconnect Logical Link Command............................. 5787.1.43 Logical Link Cancel Command ................................... 5797.1.44 Flow Spec Modify Command...................................... 5817.1.45 Enhanced Setup Synchronous Connection

    Command ................................................................... 5837.1.46 Enhanced Accept Synchronous Connection Request

    Command ................................................................... 5937.1.47 Truncated Page Command......................................... 6007.1.48 Truncated Page Cancel Command............................. 6027.1.49 Set Connectionless Slave Broadcast Command ........ 6047.1.50 Set Connectionless Slave Broadcast Receive

    Command ................................................................... 6087.1.51 Start Synchronization Train Command....................... 6127.1.52 Receive Synchronization Train Command.................. 6137.1.53 Remote OOB Extended Data Request Reply

    Command ................................................................... 6157.2 Link Policy Commands ............................................................ 617

    7.2.1 Hold Mode Command................................................. 6177.2.2 Sniff Mode Command ................................................. 6207.2.3 Exit Sniff Mode Command .......................................... 6237.2.4 Park State Command.................................................. 6247.2.5 Exit Park State Command........................................... 6267.2.6 QoS Setup Command................................................. 6277.2.7 Role Discovery Command .......................................... 6297.2.8 Switch Role Command ............................................... 6307.2.9 Read Link Policy Settings Command.......................... 6327.2.10 Write Link Policy Settings Command.......................... 6347.2.11 Read Default Link Policy Settings Command ............. 6367.2.12 Write Default Link Policy Settings Command ............. 6377.2.13 Flow Specification Command ..................................... 6387.2.14 Sniff Subrating Command.......................................... 640

    7.3 Controller & Baseband Commands ......................................... 6427.3.1 Set Event Mask Command ......................................... 6427.3.2 Reset Command......................................................... 6457.3.3 Set Event Filter Command.......................................... 6467.3.4 Flush Command.......................................................... 6527.3.5 Read PIN Type Command.......................................... 6547.3.6 Write PIN Type Command.......................................... 6557.3.7 Create New Unit Key Command................................. 656

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 26

    7.3.8 Read Stored Link Key Command ............................... 6577.3.9 Write Stored Link Key Command................................ 6587.3.10 Delete Stored Link Key Command.............................. 6617.3.11 Write Local Name Command...................................... 6637.3.12 Read Local Name Command...................................... 6647.3.13 Read Connection Accept Timeout Command............. 6657.3.14 Write Connection Accept Timeout Command............. 6667.3.15 Read Page Timeout Command .................................. 6677.3.16 Write Page Timeout Command................................... 6687.3.17 Read Scan Enable Command .................................... 6697.3.18 Write Scan Enable Command..................................... 6707.3.19 Read Page Scan Activity Command........................... 6717.3.20 Write Page Scan Activity Command........................... 6737.3.21 Read Inquiry Scan Activity Command ........................ 6747.3.22 Write Inquiry Scan Activity Command......................... 6767.3.23 Read Authentication Enable Command...................... 6777.3.24 Write Authentication Enable Command...................... 6787.3.25 Read Class of Device Command................................ 6797.3.26 Write Class of Device Command................................ 6807.3.27 Read Voice Setting Command.................................... 6817.3.28 Write Voice Setting Command.................................... 6827.3.29 Read Automatic Flush Timeout Command................. 6837.3.30 Write Automatic Flush Timeout Command ................. 6857.3.31 Read Num Broadcast Retransmissions Command .... 6877.3.32 Write Num Broadcast Retransmissions Command..... 6887.3.33 Read Hold Mode Activity Command........................... 6897.3.34 Write Hold Mode Activity Command ........................... 6907.3.35 Read Transmit Power Level Command...................... 6917.3.36 Read Synchronous Flow Control Enable Command .. 6937.3.37 Write Synchronous Flow Control Enable Command... 6947.3.38 Set Controller To Host Flow Control Command.......... 6957.3.39 Host Buffer Size Command ........................................ 6977.3.40 Host Number Of Completed Packets Command ........ 6997.3.41 Read Link Supervision Timeout Command ................ 7017.3.42 Write Link Supervision Timeout Command................. 7037.3.43 Read Number Of Supported IAC Command............... 7057.3.44 Read Current IAC LAP Command.............................. 7067.3.45 Write Current IAC LAP Command .............................. 707

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 27

    7.3.46 Set AFH Host Channel Classification Command........ 7097.3.47 Read Inquiry Scan Type Command............................ 7117.3.48 Write Inquiry Scan Type Command............................ 7127.3.49 Read Inquiry Mode Command.................................... 7137.3.50 Write Inquiry Mode Command .................................... 7147.3.51 Read Page Scan Type Command .............................. 7157.3.52 Write Page Scan Type Command .............................. 7167.3.53 Read AFH Channel Assessment Mode Command..... 7177.3.54 Write AFH Channel Assessment Mode Command..... 7187.3.55 Read Extended Inquiry Response Command............. 7207.3.56 Write Extended Inquiry Response Command............. 7217.3.57 Refresh Encryption Key Command............................. 7227.3.58 Read Simple Pairing Mode Command........................ 7237.3.59 Write Simple Pairing Mode Command........................ 7247.3.60 Read Local OOB Data Command............................... 7267.3.61 Read Inquiry Response Transmit Power Level

    Command ................................................................... 7287.3.62 Write Inquiry Transmit Power Level Command .......... 7297.3.63 Send Keypress Notification Command ....................... 7307.3.64 Read Default Erroneous Data Reporting Command... 7327.3.65 Write Default Erroneous Data Reporting Command... 7337.3.66 Enhanced Flush Command ........................................ 7347.3.67 Read Logical Link Accept Timeout Command............ 7367.3.68 Write Logical Link Accept Timeout Command............ 7377.3.69 Set Event Mask Page 2 Command............................. 7387.3.70 Read Location Data Command................................... 7407.3.71 Write Location Data Command................................... 7417.3.72 Read Flow Control Mode Command........................... 7427.3.73 Write Flow Control Mode Command........................... 7437.3.74 Read Enhanced Transmit Power Level Command..... 7447.3.75 Read Best Effort Flush Timeout Command ................ 7467.3.76 Write Best Effort Flush Timeout Command ................ 7477.3.77 Short Range Mode Command .................................... 7487.3.78 Read LE Host Support Command .............................. 7497.3.79 Write LE Host Support Command............................... 7507.3.80 Set MWS Channel Parameters Command ................. 7517.3.81 Set External Frame Configuration Command............. 7537.3.82 Set MWS Signaling Command ................................... 756

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 28

    7.3.83 Set MWS Transport Layer Command......................... 7617.3.84 Set MWS Scan Frequency Table Command.............. 7627.3.85 Set MWS_PATTERN Configuration Command.......... 7647.3.86 Set Reserved LT_ADDR Command ........................... 7667.3.87 Delete Reserved LT_ADDR Command ...................... 7687.3.88 Set Connectionless Slave Broadcast Data Command 7697.3.89 Read Synchronization Train Parameters Command .. 7717.3.90 Write Synchronization Train Parameters Command... 7737.3.91 Read Secure Connections Host Support Command .. 7757.3.92 Write Secure Connections Host Support Command... 7767.3.93 Read Authenticated Payload Timeout Command....... 7787.3.94 Write Authenticated Payload Timeout Command....... 7807.3.95 Read Local OOB Extended Data Command .............. 7827.3.96 Read Extended Page Timeout Command .................. 7847.3.97 Write Extended Page Timeout Command .................. 7857.3.98 Read Extended Inquiry Length Command.................. 7867.3.99 Write Extended Inquiry Length Command.................. 787

    7.4 Informational Parameters ........................................................ 7887.4.1 Read Local Version Information Command ................ 7887.4.2 Read Local Supported Commands Command ........... 7907.4.3 Read Local Supported Features Command ............... 7917.4.4 Read Local Extended Features Command................. 7927.4.5 Read Buffer Size Command ....................................... 7947.4.6 Read BD_ADDR Command........................................ 7967.4.7 Read Data Block Size Command ............................... 7977.4.8 Read Local Supported Codecs Command ................. 799

    7.5 Status Parameters ................................................................... 8017.5.1 Read Failed Contact Counter Command.................... 8017.5.2 Reset Failed Contact Counter Command................... 8037.5.3 Read Link Quality Command...................................... 8047.5.4 Read RSSI Command ................................................ 8067.5.5 Read AFH Channel Map Command ........................... 8087.5.6 Read Clock Command................................................ 8107.5.7 Read Encryption Key Size Command......................... 8127.5.8 Read Local AMP Info Command ................................ 8147.5.9 Read Local AMP ASSOC Command.......................... 8197.5.10 Write Remote AMP ASSOC Command...................... 8227.5.11 Get MWS Transport Layer Configuration Command.. 824

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 29

    7.5.12 Set Triggered Clock Capture Command..................... 8267.6 Testing Commands.................................................................. 829

    7.6.1 Read Loopback Mode Command ............................... 8297.6.2 Write Loopback Mode Command ............................... 8317.6.3 Enable Device Under Test Mode Command .............. 8347.6.4 Write Simple Pairing Debug Mode Command ............ 8357.6.5 Enable AMP Receiver Reports Command.................. 8377.6.6 AMP Test End Command ........................................... 8387.6.7 AMP Test Command................................................... 8397.6.8 Write Secure Connections Test Mode Command....... 840

    7.7 Events...................................................................................... 8437.7.1 Inquiry Complete Event............................................... 8437.7.2 Inquiry Result Event.................................................... 8447.7.3 Connection Complete Event ....................................... 8467.7.4 Connection Request Event ......................................... 8487.7.5 Disconnection Complete Event................................... 8497.7.6 Authentication Complete Event................................... 8507.7.7 Remote Name Request Complete Event.................... 8517.7.8 Encryption Change Event ........................................... 8527.7.9 Change Connection Link Key Complete Event........... 8547.7.10 Master Link Key Complete Event................................ 8557.7.11 Read Remote Supported Features Complete Event .. 8567.7.12 Read Remote Version Information Complete Event ... 8577.7.13 QoS Setup Complete Event........................................ 8597.7.14 Command Complete Event......................................... 8617.7.15 Command Status Event .............................................. 8627.7.16 Hardware Error Event ................................................. 8647.7.17 Flush Occurred Event ................................................. 8657.7.18 Role Change Event..................................................... 8667.7.19 Number Of Completed Packets Event ........................ 8677.7.20 Mode Change Event ................................................... 8697.7.21 Return Link Keys Event .............................................. 8717.7.22 PIN Code Request Event............................................ 8727.7.23 Link Key Request Event.............................................. 8737.7.24 Link Key Notification Event ......................................... 8747.7.25 Loopback Command Event......................................... 8767.7.26 Data Buffer Overflow Event ........................................ 8777.7.27 Max Slots Change Event ............................................ 878

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 30

    7.7.28 Read Clock Offset Complete Event ............................ 8797.7.29 Connection Packet Type Changed Event ................... 8807.7.30 QoS Violation Event.................................................... 8827.7.31 Page Scan Repetition Mode Change Event ............... 8837.7.32 Flow Specification Complete Event ............................ 8847.7.33 Inquiry Result with RSSI Event ................................... 8867.7.34 Read Remote Extended Features Complete Event.... 8887.7.35 Synchronous Connection Complete Event ................. 8907.7.36 Synchronous Connection Changed Event .................. 8927.7.37 Sniff Subrating Event .................................................. 8947.7.38 Extended Inquiry Result Event.................................... 8967.7.39 Encryption Key Refresh Complete Event.................... 8997.7.40 IO Capability Request Event....................................... 9007.7.41 IO Capability Response Event .................................... 9017.7.42 User Confirmation Request Event .............................. 9037.7.43 User Passkey Request Event ..................................... 9047.7.44 Remote OOB Data Request Event ............................. 9057.7.45 Simple Pairing Complete Event .................................. 9067.7.46 Link Supervision Timeout Changed Event.................. 9077.7.47 Enhanced Flush Complete Event ............................... 9087.7.48 User Passkey Notification Event................................. 9097.7.49 Keypress Notification Event ........................................ 9107.7.50 Remote Host Supported Features Notification Event . 9117.7.51 Physical Link Complete Event .................................... 9127.7.52 Channel Selected Event ............................................. 9137.7.53 Disconnection Physical Link Complete Event............. 9147.7.54 Physical Link Loss Early Warning Event..................... 9157.7.55 Physical Link Recovery Event..................................... 9167.7.56 Logical Link Complete Event ...................................... 9177.7.57 Disconnection Logical Link Complete Event............... 9187.7.58 Flow Spec Modify Complete Event ............................. 9197.7.59 Number Of Completed Data Blocks Event.................. 9207.7.60 Short Range Mode Change Complete Event.............. 9227.7.61 AMP Status Change Event ......................................... 9237.7.62 AMP Start Test Event ................................................. 9257.7.63 AMP Test End Event................................................... 9267.7.64 AMP Receiver Report Event ....................................... 9277.7.65 LE Meta Event ............................................................ 929

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 31

    7.7.66 Triggered Clock Capture Event................................... 9507.7.67 Synchronization Train Complete Event....................... 9517.7.68 Synchronization Train Received Event ....................... 9527.7.69 Connectionless Slave Broadcast Receive Event ........ 9547.7.70 Connectionless Slave Broadcast Timeout Event ........ 9567.7.71 Truncated Page Complete Event................................ 9577.7.72 Slave Page Response Timeout Event ........................ 9587.7.73 Connectionless Slave Broadcast Channel Map Change

    Event........................................................................... 9597.7.74 Inquiry Response Notification Event ........................... 9607.7.75 Authenticated Payload Timeout Expired Event........... 961

    7.8 LE Controller Commands ........................................................ 9627.8.1 LE Set Event Mask Command.................................... 9627.8.2 LE Read Buffer Size Command.................................. 9647.8.3 LE Read Local Supported Features Command.......... 9667.8.4 LE Set Random Address Command........................... 9677.8.5 LE Set Advertising Parameters Command ................. 9687.8.6 LE Read Advertising Channel Tx Power Command... 9727.8.7 LE Set Advertising Data Command ............................ 9737.8.8 LE Set Scan Response Data Command..................... 9747.8.9 LE Set Advertise Enable Command ........................... 9757.8.10 LE Set Scan Parameters Command........................... 9777.8.11 LE Set Scan Enable Command .................................. 9807.8.12 LE Create Connection Command............................... 9827.8.13 LE Create Connection Cancel Command................... 9877.8.14 LE Read White List Size Command............................ 9887.8.15 LE Clear White List Command.................................... 9897.8.16 LE Add Device To White List Command..................... 9907.8.17 LE Remove Device From White List Command ......... 9927.8.18 LE Connection Update Command .............................. 9937.8.19 LE Set Host Channel Classification Command........... 9967.8.20 LE Read Channel Map Command.............................. 9977.8.21 LE Read Remote Used Features Command .............. 9997.8.22 LE Encrypt Command............................................... 10007.8.23 LE Rand Command .................................................. 10027.8.24 LE Start Encryption Command ................................. 10037.8.25 LE Long Term Key Request Reply Command.......... 1005

  • 02 December 2014

    Bluetooth SIG Proprietary

    BLUETOOTH SPECIFICATION Version 4.2 [Vol 0, Part A] page 32

    7.8.26 LE Long Term Key Request Negative Reply Command ................................................................. 1007

    7.8.27 LE Read Supported States Command...................... 10087.8.28 LE Receiver Test Command..................................... 10127.8.29 LE Transmitter Test Command................................. 10137.8.30 LE Test End Command............................................. 10157.8.31 LE Remote Connection Parameter Request Reply

    Command ................................................................. 10167.8.32 LE Remote Connection Parameter Request Negative

    Reply Command ....................................................... 10197.8.33 LE Set Data Length Command................................. 10217.8.34 LE Read Suggested Default Data Length Command10237.8.35 LE Write Suggested Default Data Length Command10257.8.36 LE Read Local P-256 Public Key Command ............ 10277.8.37 LE Generate DHKey Command................................ 10287.8.38 LE Add Device to Resolving List Command ............. 10297.8.39 LE Remove Device From Resolving List Command. 10317.8.40 LE Clear Resolving List Command........................... 10337.8.41 LE Read Resolving List Size Command................... 10347