Bluetooth Low Energy: The Developer's Handbook [NOOK Book]


The First Complete Guide to Bluetooth Low Energy: How It Works, What It Can Do, and How to Apply It


A radical departure from conventional Bluetooth technology, Bluetooth low energy (BLE) enables breakthrough wireless applications in industries ranging from healthcare to transportation. Running on a coin-sized battery, BLE can operate reliably for years, connecting and extending everything from personal area network devices to next-generation sensors. Now, one of the ...

See more details below
Bluetooth Low Energy: The Developer's Handbook

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$35.19 price
(Save 20%)$43.99 List Price


The First Complete Guide to Bluetooth Low Energy: How It Works, What It Can Do, and How to Apply It


A radical departure from conventional Bluetooth technology, Bluetooth low energy (BLE) enables breakthrough wireless applications in industries ranging from healthcare to transportation. Running on a coin-sized battery, BLE can operate reliably for years, connecting and extending everything from personal area network devices to next-generation sensors. Now, one of the standard’s leading developers has written the first comprehensive, accessible introduction to BLE for every system developer, designer, and engineer.


Robin Heydon, a member of the Bluetooth SIG Hall of Fame, has brought together essential information previously scattered through multiple standards documents, sharing the context and expert insights needed to implement high-performance working systems. He first reviews BLE’s design goals, explaining how they drove key architectural decisions, and introduces BLE’s innovative usage models. Next, he thoroughly covers how the two main parts of BLE, the controller and host, work together, and then addresses key issues from security and profiles through testing and qualification. This knowledge has enabled the creation of Bluetooth Smart and Bluetooth Smart Ready devices.


This guide is an indispensable companion to the official BLE standards documents and is for every technical professional and decision-maker considering BLE, planning BLE products, or transforming plans into working systems.


Topics Include

  • BLE device types, design goals, terminology, and core concepts
  • Architecture: controller, host, applications, and stack splits
  • Usage models: presence detection, data broadcasting, connectionless models, and gateways
  • Physical Layer: modulation, frequency band, radio channels, power, tolerance, and range
  • Direct Test Mode: transceiver testing, hardware interfaces, and HCI
  • Link Layer: state machine, packets, channels, broadcasting, encryption, and optimization
  • HCI: physical/logical interfaces, controller setup, and connection management
  • L2CAP: channels and packet structure, and LE signaling channels
  • Attributes: grouping, services, characteristics, and protocols
  • Security: pairing, bonding, and data signing
  • Generic Access Profiles: roles, modes, procedures, security modes, data advertising, and services
  • Applications, devices, services, profiles, and peripherals
  • Testing/qualification: starting projects, selecting features, planning, testing, compliance, and more
Read More Show Less

Product Details

  • ISBN-13: 9780132888400
  • Publisher: Pearson Education
  • Publication date: 11/9/2012
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 368
  • Sales rank: 1,279,027
  • File size: 23 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Robin Heydon began working on the Wibree project in 2007–a project that evolved into the Bluetooth low energy specification covered here. Heydon cochaired the original specification group and drove the spec through to publication. Heydon has worked in wireless communications since 2000, first as a firmware engineer and now as a full-time standards architect. He has contributed to fixing and improving every version of the Bluetooth specification. In 2010, in recognition of his work, he was honored as one of only a small group of members of the Bluetooth SIG Hall of Fame.


Read More Show Less

Table of Contents

Preface         xvii

Acknowledgments         xix

About the Author         xxi


Part I: Overview         1

Chapter 1: What Is Bluetooth Low Energy?         3

1.1 Device Types 6

1.2 Design Goals 7

1.3 Terminology 9


Chapter 2: Basic Concepts         11

2.1   Button-Cell Batteries 11

2.2   Time Is Energy 12

2.3   Memory Is Expensive 13

2.4   Asymmetric Design 14

2.5   Design For Success 15

2.6   Everything Has State 16

2.7   Client-Server Architecture 17

2.8   Modular Architecture 18

2.9   One Billion Is a Small Number 19

2.10 Connectionless Model 19

2.11 Paradigms 20


Chapter 3: Architecture         27

3.1 Controller 27

3.2 The Host 32

3.3 The Application Layer 36

3.4 Stack Splits 38


Chapter 4: New Usage Models         41

4.1 Presence Detection 41

4.2 Broadcasting Data 42

4.3 Connectionless Model 43

4.4 Gateways 44


Part II: Controller         47

Chapter 5: The Physical Layer         49

5.1   Background 49

5.2   Analog Modulation 49

5.3   Digital Modulation 51

5.4   Frequency Band 54

5.5   Modulation 54

5.6   Radio Channels 55

5.7   Transmit Power 56

5.8   Tolerance 57

5.9   Receiver Sensitivity 57

5.10 Range 58


Chapter 6: Direct Test Mode         61

6.1 Background 61

6.2 Transceiver Testing 62

6.3 Hardware Interface 65

6.4 Direct Testing by Using HCI 67


Chapter 7: The Link Layer         69

7.1   The Link Layer State Machine 69

7.2   Packets 76

7.3   Packet Structure 79

7.4   Channels 84

7.5   Finding Devices 90

7.6   Broadcasting 92

7.7   Creating Connections 93

7.8   Sending Data 98

7.9   Encryption 104

7.10 Managing Connections 109

7.11 Robustness 120

7.12 Optimizations for Low Power 123


Chapter 8: The Host/Controller Interface         131

8.1 Introduction 131

8.2 Physical Interfaces 131

8.3 Logical Interface 135

8.4 Controller Setup 140

8.5 Broadcasting and Observing 148

8.6 Initiating Connections 153

8.7 Connection Management 158


Part III: Host         167

Chapter 9: Logical Link Control and Adaptation Protocol         169

9.1 Background 169

9.2 L2CAP Channels 171

9.3 The L2CAP Packet Structure 172

9.4 The LE Signaling Channel 173


Chapter 10: Attributes         179

10.1 Background 179

10.2 Attributes 189

10.3 Grouping 199

10.4 Services 199

10.5 Characteristics 210

10.6 The Attribute Protocol 217

10.7 The Generic Attribute Profile 231


Chapter 11: Security         241

11.1 Security Concepts 241

11.2 Pairing and Bonding 248

11.3 Signing of Data  252


Chapter 12: The Generic Access Profile         255

12.1 Background 255

12.2 GAP Roles 261

12.3 Modes and Procedures 262

12.4 Security Modes 270

12.5 Advertising Data 273

12.6 GAP Service 276


Part IV: Application         281

Chapter 13: Central         283

13.1 Background 283

13.2 Discovering Devices 283

13.3 Connecting to Devices 285

13.4 What Does This Device Do? 286

13.5 Generic Clients 287

13.6 Interacting with Services 288

13.7 Bonding 292

13.8 Changed Services 293

13.9 Implementing Profiles 294


Chapter 14: Peripherals         299

14.1 Background 299

14.2 Broadcast Only 299

14.3 Being Discoverable 300

14.4 Being Connectable 301

14.5 Exposing Services 301

14.6 Characteristics 302

14.7 Security Matters 303

14.8 Optimizing for Low Power 303

14.9 Optimizing Attributes 311


Chapter 15: Testing and Qualification         313

15.1   Starting a Project 313

15.2   Selecting Features 316

15.3   Consistency Check 316

15.4   Generating a Test Plan 317

15.5   Creating a Compliance Folder 317

15.6   Qualification Testing 318

15.7   Qualify Your Design 319

15.8   Declaring Compliance 320

15.9   Listing 321

15.10 Combining Components 321


Index       323


Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Posted November 21, 2012


    Are you an engineer, application developer, designer or marketing specialist, who is thinking about developing a product that incorporates Bluetooth low energy? If you are, then this book is for you! Author Robin Heydon, has done an outstanding job of writing a book that is a complete developer's handbook to how Bluetooth low energy technology came about, why it was designed, the way it was designed and how it works. Author Heydon, begins with a brief introduction to Bluetooth low energy, and discusses its design goals. Then, the author discusses the foundations upon which the low energy architecture was designed. Next, he introduces the main system architecture fir low energy, from the controller, through the host, and up to the applications. The author also describes the new usage models that the low energy technology enables. He continues by showing you how devices communicate wirelessly with one another. Next, he highlights the Direct Test Mode and its role in performing low-cost, tome-efficient testing of the radio. The author also introduces the lowest layers of protocol that describe packets, advertising, and how to create a connection. He continues by describing the interface that hosts can use to talk with a controller and get it to do useful things. Then, the author describes the multiplexing layer. Next, he explains how a stateless protocol can be used to obtain the state of a device efficiently. The author also discusses the main body of the protocol that is used to provide security services. He continues by tying all of the pieces of the puzzle together into a high level abstraction that application writers can use. Next, he shows you how an application can use Bluetooth low energy to interact with peripherals. The author also explains how a peripheral can be designed to make the best use of the Bluetooth low energy technology. Finally, he explains how to qualify a design so that it can be sold or distributed. This most excellent book covers the details of how the complete system works, from the physical radio waves up to the discovery of, connection with, and interface provided by that device. Perhaps more importantly, this great book provides the background of why Bluetooth low energy was designed; the design tools it tried to achieve; and, how you can take something that radically changes the way you can think of wireless technology and implement it in everything else.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)