SlideShare a Scribd company logo
Bluetooth Low Energy
Overview
What is BLE
• Wireless Personal Area Network technology
• Target for healthcare, fitness, beacons, security
and home entertainment
• Provides considerably reduced power
consumption
• Low Energy requirements, operating for “months
or years” on a button cell
• Small size and low cost
• Compatibility with large installed base
• Starting point of automation in nearly all domain
Architecture
BLE Radio
Link Layer
L2CAP
Application / Profiles
APIs
Generic Attribute Profile ( GATT )
Attribute Protocol ( ATT )
Security
Manager
( SM )
Generic
Access
Profile
( GAP )
BLE Radio Layer
• Operates in 2.4 GHz ISM ( Industrial Scientific
Medical ) band 2402 MHz – 2480 MHz
• 40 RF Channels with 2 MHz Spacing
• 3 out of 40 channels are advertising
– Used for device discovery
– connection establishment
– broadcast
• Advertising channel frequencies are selected
to minimize the interference
BLE Radio Layer …
• All physical channels use GFSK
– Gaussian Frequency Shift Keying modulation
– Allows reduced peak power consumption
– Physical layer data rate is 1 Mbps
• Range is typically 0 – 50 meters from smart
phone
BLE Link Layer
• First level of control & data structure over raw
radio operations
• Bit stream transmission & Reception
• State machine & state transitions
• Data & Advertisement Packet formating
• Link Layer operations
• Connections, packet timings, retransmission
• Link Layer level security
BLE - PDU
BLE L2CAP
• Logical Link Control and Adaptation Protocol
• Advertisement
• Scanning
• Connection Establishment
BLE L2CAP - Advertisement
• Provides a way for devices to broadcast their
presence
• Allows connection to be established
• Broadcast data like the list of supported
services, device name and TX Power Level
• Device will send advertising broadcast packets
to one or multiple advertisement channels,
which remote devices will pick up.
BLE L2CAP – Advertisement
Passive Scanning
BLE L2CAP – Active Scanning
BLE Advertising Parameters
Parameter Values Description
Advertisement
Interval
20 mSec to 10240 mSec Interval between
advertisement packets
Advertisement
channels
37, 38 & 39 RF Channel used to
transmit
Discoverability Mode Not Discoverable
Generic Discoverable
Limited Discoverable
Broadcast
How the advertiser visible
to other devices
Connect ability mode Not connectable
Directly connectable
Undirected connectable
Defines if advertiser can be
connected or not
Payload 0 – 31 Byte Data byte can be included
in advertisement packet
BLE L2CAP – Connection
BLE L2CAP – Network Topology
• Advertiser
– Broadcasts advertisement packets
• Scanner
– Only listen for advertisements, can connect to advertiser
• Slave
– Device connected to master
• Master
– Device connected with one or more slaves
– Master can connect upto 4 – 8 slaves at a time
• Hybrid
– Device advertise and scan at the same time
– Connected to a master and advertise or scan
simultaneously
BLE L2CAP – Connection
BLE L2CAP – Topology Change
BLE Generic Attribute Profile
• Provides access to the link layer operations
related to
– Device discovery
– Connection establishment & termination
– Connection timing control
• GAP defines roles
– Broadcaster : Sends advertising & broadcast data
– Observer : Listens for advertising events
– Peripheral : Always slave, is connectable & advertising
– Central : Always master, never advertise
– Device can have more than one role, only one role can
be adopted at a given time
BLE GAP Modes
• Connectable
– Can make a connection.
– Not connectable, connectable
• Discoverable
– Can be discovered ( is advertising )
– None, limited, general
• Bondable
– If connectable, will pair with connected device for a
long term connection
– Bondable, Non Bondable
BLE GAP Procedures
• Name Discovery
– Find the name of other device
• Device Discovery
– Find address and name of devices
– Define device role
• Link Establishment
– Instruct link layer to send a CONNECT_REQ
– Service discovery, device authentication
• Service Discovery
– Find services available on the peer devices
BLE Attribute Protocol
• Defines communication between two devices
playing the roles of server & client
• ATT Protocol defines two roles
– Server : device that stores the data as one or more
attributes
– Client : Collects the information for one or more
servers
BLE ATT Data Transfer
BLE GATT
• Built on top of Attribute Protocol
• Establishes common framework for data
transported & stored
• GATT defines two roles
– Server
– Client
BLE GATT
• Attributes
– Transported by Attribute protocol
– Formatted as services & characteristics
• Service
– Contain collection of characteristics
• Characteristics
– Contain single value and any number of
descriptors
BLE GATT Data Structure
BLE GATT Characteristics
• Value used in a service
– Expose and / or exchange the data
– Control information
• Well defined, known format
• Information about how the value can be
passed and security achievement
• Contain descriptors describe the value or
permit configuration or characteristics data
indication
BLE Security Manager ( SM )
• Ensure the trust, integrity, privacy and
encryption of data
• Security Manager responsible for
– Pairing
– Key distribution
– Generating hashes and short term keys
BLE Security Model
• Pairing
– Process of creating shared keys
• Bonding
– Storing the keys created during pairing for later usage
• Device authentication
– Verification of stored keys
• Encryption
– Data confidentiality
• Message Integrity
– Protection against data alteration
Profiles – Generic
Abbreviation Name Assigned Number
GAP Generic Access Profile 0x1800
ANS Alert Notification Service Profile 0x1811
GATT Generic Attribute Profile 0x1801
Profiles – Health Care
Abbreviation Name Assigned Number
BLP Blood Pressure Profile 0x1810
HTP Health Thermometer Profile 0x1809
GLP Glucose Profile 0x1808
CGMP Continuous Glucose Monitoring Profile 0x181F
Profiles – Sports & Fitness
Abbreviation Name Assigned Number
BCS Body Composition Profile 0x181B
CSCP Cycling Speed and Cadence Profile 0x1816
CPP Cycling Power Profile 0x1818
HPP Heart Rate Profile 0x180D
LNP Location and Navigation Profile 0x1819
RSCP Running Speed and Cadence Profile 0x1814
WSP Weighing Scale Profile 0x181D
Profiles…
Abbreviation Name Assigned Number
IPSP Internet Protocol Support Suite Profile 0x1820
ESP Environmental Sensing Profile 0x181A
UDS User Data Service Profile 0x181C
HDGP HID over GATT Profile 0x1812
LNP Location and Navigation Profile 0x1819
RSCP Running Speed and Cadence Profile 0x1814
WSP Weighing Scale Profile 0x181D
Thank You

More Related Content

PDF
Iot ble and_beacons_2015_nov28
PPTX
Modbus
PPTX
Modbus Protocol Introduction
PDF
Finding Bugs Faster with Assertion Based Verification (ABV)
PPTX
Red gpon
PPTX
Complete ASIC design flow - VLSI UNIVERSE
PDF
The I2C Interface
PPT
PCIe and PCIe driver in WEC7 (Windows Embedded compact 7)
Iot ble and_beacons_2015_nov28
Modbus
Modbus Protocol Introduction
Finding Bugs Faster with Assertion Based Verification (ABV)
Red gpon
Complete ASIC design flow - VLSI UNIVERSE
The I2C Interface
PCIe and PCIe driver in WEC7 (Windows Embedded compact 7)

What's hot (20)

PDF
The Art of VoIP Hacking - Defcon 23 Workshop
PPT
I2C And SPI Part-23
PPT
Serial Peripheral Interface(SPI)
PPTX
SoC: System On Chip
PPT
BLUETOOTH SECURITY
PPT
PDF
Floor Plan, Placement Questions and Answers
PPT
System On Chip (SOC)
PPTX
Evaluating UCIe based multi-die SoC to meet timing and power
PDF
13 static timing_analysis_4_set_up_and_hold_time_violation_remedy
PPTX
PPTX
Acl cisco
PPTX
IBM Spectrum Scale Authentication for Protocols
PPTX
CXL Consortium Update
ODP
axi protocol
PPT
SPI Bus Protocol
PDF
Session 2,3 FPGAs
PPT
2+ipt+configuring cisco-cme
PDF
Inject precise synchronization into open compute servers
PPT
An Introduction to BLUETOOTH TECHNOLOGY
The Art of VoIP Hacking - Defcon 23 Workshop
I2C And SPI Part-23
Serial Peripheral Interface(SPI)
SoC: System On Chip
BLUETOOTH SECURITY
Floor Plan, Placement Questions and Answers
System On Chip (SOC)
Evaluating UCIe based multi-die SoC to meet timing and power
13 static timing_analysis_4_set_up_and_hold_time_violation_remedy
Acl cisco
IBM Spectrum Scale Authentication for Protocols
CXL Consortium Update
axi protocol
SPI Bus Protocol
Session 2,3 FPGAs
2+ipt+configuring cisco-cme
Inject precise synchronization into open compute servers
An Introduction to BLUETOOTH TECHNOLOGY
Ad

Similar to Introduction to Bluetooth Low Energy (20)

PPTX
Introduction to Bluetooth low energy
PPTX
Bluetooth technology introduction and ecosystem
PPTX
Ble overview and_implementation
PPTX
Bluetooth introduction
PDF
A Brief Introduction to Bluetooth Low Energy (BLE) on iOS
PDF
Bluetooth 4.0 specification
PDF
Bluetooth Low Energy, Beacons and Retail - A VeriFone White Paper
PPTX
Handling BLE & Bluetooth in Mobile Apps development
PPTX
Bluetooth Low Energy(BLE) and beacons working
PPTX
Introduction to Bluetooth Low Energy
PDF
THAT_2023_BLE.pdf
PPTX
Bluetooth low energy- Kashyap Velpuru
PPT
PPTX
Undestanding Bluetooth
PDF
05 ble intro
PPTX
Bluetooth Secure Simple Pairing Using NFC Part 1
PDF
Workshop-How_to_use_btlejack.pdfWorkshop-How_to_use_btlejack
PDF
Intern_Report
PPT
bluetooth technology
PPTX
How to use Bluetooth® Smart to control your embedded device with a mobile device
Introduction to Bluetooth low energy
Bluetooth technology introduction and ecosystem
Ble overview and_implementation
Bluetooth introduction
A Brief Introduction to Bluetooth Low Energy (BLE) on iOS
Bluetooth 4.0 specification
Bluetooth Low Energy, Beacons and Retail - A VeriFone White Paper
Handling BLE & Bluetooth in Mobile Apps development
Bluetooth Low Energy(BLE) and beacons working
Introduction to Bluetooth Low Energy
THAT_2023_BLE.pdf
Bluetooth low energy- Kashyap Velpuru
Undestanding Bluetooth
05 ble intro
Bluetooth Secure Simple Pairing Using NFC Part 1
Workshop-How_to_use_btlejack.pdfWorkshop-How_to_use_btlejack
Intern_Report
bluetooth technology
How to use Bluetooth® Smart to control your embedded device with a mobile device
Ad

More from NEEVEE Technologies (20)

PPTX
C Language Programming - Program Outline / Schedule
PPTX
Python programming for Beginners - II
PPTX
Python programming for Beginners - I
PPTX
Engineering College - Internship proposal
PPTX
NVDK-ESP32 WiFi Station / Access Point
PPTX
NVDK-ESP32 Quick Start Guide
PPTX
General Purpose Input Output - Brief Introduction
PPTX
Yocto BSP Layer for UDOO NEO Board
PPTX
Building Embedded Linux UDOONEO
PPTX
Open Computer Vision Based Image Processing
PPTX
Introduction to Machine learning
PPTX
Introduction Linux Device Drivers
PPTX
Introduction about Apache MYNEWT RTOS
PPTX
NXP i.MX6 Multi Media Processor & Peripherals
PPTX
Arduino Programming - Brief Introduction
PPTX
MarsBoard - NXP IMX6 Processor
PPTX
NXP IMX6 Processor - Embedded Linux
PPTX
Introduction to Hardware Design Using KiCAD
PPTX
Internet of things - zigbee network function
PPTX
Internet of Things Protocol - Session 2
C Language Programming - Program Outline / Schedule
Python programming for Beginners - II
Python programming for Beginners - I
Engineering College - Internship proposal
NVDK-ESP32 WiFi Station / Access Point
NVDK-ESP32 Quick Start Guide
General Purpose Input Output - Brief Introduction
Yocto BSP Layer for UDOO NEO Board
Building Embedded Linux UDOONEO
Open Computer Vision Based Image Processing
Introduction to Machine learning
Introduction Linux Device Drivers
Introduction about Apache MYNEWT RTOS
NXP i.MX6 Multi Media Processor & Peripherals
Arduino Programming - Brief Introduction
MarsBoard - NXP IMX6 Processor
NXP IMX6 Processor - Embedded Linux
Introduction to Hardware Design Using KiCAD
Internet of things - zigbee network function
Internet of Things Protocol - Session 2

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Hybrid model detection and classification of lung cancer
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
A Presentation on Touch Screen Technology
PDF
Encapsulation theory and applications.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Heart disease approach using modified random forest and particle swarm optimi...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Web App vs Mobile App What Should You Build First.pdf
Hybrid model detection and classification of lung cancer
Encapsulation_ Review paper, used for researhc scholars
Enhancing emotion recognition model for a student engagement use case through...
1 - Historical Antecedents, Social Consideration.pdf
Chapter 5: Probability Theory and Statistics
Building Integrated photovoltaic BIPV_UPV.pdf
A comparative analysis of optical character recognition models for extracting...
cloud_computing_Infrastucture_as_cloud_p
Digital-Transformation-Roadmap-for-Companies.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Hindi spoken digit analysis for native and non-native speakers
Univ-Connecticut-ChatGPT-Presentaion.pdf
A Presentation on Touch Screen Technology
Encapsulation theory and applications.pdf

Introduction to Bluetooth Low Energy

  • 2. What is BLE • Wireless Personal Area Network technology • Target for healthcare, fitness, beacons, security and home entertainment • Provides considerably reduced power consumption • Low Energy requirements, operating for “months or years” on a button cell • Small size and low cost • Compatibility with large installed base • Starting point of automation in nearly all domain
  • 3. Architecture BLE Radio Link Layer L2CAP Application / Profiles APIs Generic Attribute Profile ( GATT ) Attribute Protocol ( ATT ) Security Manager ( SM ) Generic Access Profile ( GAP )
  • 4. BLE Radio Layer • Operates in 2.4 GHz ISM ( Industrial Scientific Medical ) band 2402 MHz – 2480 MHz • 40 RF Channels with 2 MHz Spacing • 3 out of 40 channels are advertising – Used for device discovery – connection establishment – broadcast • Advertising channel frequencies are selected to minimize the interference
  • 5. BLE Radio Layer … • All physical channels use GFSK – Gaussian Frequency Shift Keying modulation – Allows reduced peak power consumption – Physical layer data rate is 1 Mbps • Range is typically 0 – 50 meters from smart phone
  • 6. BLE Link Layer • First level of control & data structure over raw radio operations • Bit stream transmission & Reception • State machine & state transitions • Data & Advertisement Packet formating • Link Layer operations • Connections, packet timings, retransmission • Link Layer level security
  • 8. BLE L2CAP • Logical Link Control and Adaptation Protocol • Advertisement • Scanning • Connection Establishment
  • 9. BLE L2CAP - Advertisement • Provides a way for devices to broadcast their presence • Allows connection to be established • Broadcast data like the list of supported services, device name and TX Power Level • Device will send advertising broadcast packets to one or multiple advertisement channels, which remote devices will pick up.
  • 10. BLE L2CAP – Advertisement Passive Scanning
  • 11. BLE L2CAP – Active Scanning
  • 12. BLE Advertising Parameters Parameter Values Description Advertisement Interval 20 mSec to 10240 mSec Interval between advertisement packets Advertisement channels 37, 38 & 39 RF Channel used to transmit Discoverability Mode Not Discoverable Generic Discoverable Limited Discoverable Broadcast How the advertiser visible to other devices Connect ability mode Not connectable Directly connectable Undirected connectable Defines if advertiser can be connected or not Payload 0 – 31 Byte Data byte can be included in advertisement packet
  • 13. BLE L2CAP – Connection
  • 14. BLE L2CAP – Network Topology • Advertiser – Broadcasts advertisement packets • Scanner – Only listen for advertisements, can connect to advertiser • Slave – Device connected to master • Master – Device connected with one or more slaves – Master can connect upto 4 – 8 slaves at a time • Hybrid – Device advertise and scan at the same time – Connected to a master and advertise or scan simultaneously
  • 15. BLE L2CAP – Connection
  • 16. BLE L2CAP – Topology Change
  • 17. BLE Generic Attribute Profile • Provides access to the link layer operations related to – Device discovery – Connection establishment & termination – Connection timing control • GAP defines roles – Broadcaster : Sends advertising & broadcast data – Observer : Listens for advertising events – Peripheral : Always slave, is connectable & advertising – Central : Always master, never advertise – Device can have more than one role, only one role can be adopted at a given time
  • 18. BLE GAP Modes • Connectable – Can make a connection. – Not connectable, connectable • Discoverable – Can be discovered ( is advertising ) – None, limited, general • Bondable – If connectable, will pair with connected device for a long term connection – Bondable, Non Bondable
  • 19. BLE GAP Procedures • Name Discovery – Find the name of other device • Device Discovery – Find address and name of devices – Define device role • Link Establishment – Instruct link layer to send a CONNECT_REQ – Service discovery, device authentication • Service Discovery – Find services available on the peer devices
  • 20. BLE Attribute Protocol • Defines communication between two devices playing the roles of server & client • ATT Protocol defines two roles – Server : device that stores the data as one or more attributes – Client : Collects the information for one or more servers
  • 21. BLE ATT Data Transfer
  • 22. BLE GATT • Built on top of Attribute Protocol • Establishes common framework for data transported & stored • GATT defines two roles – Server – Client
  • 23. BLE GATT • Attributes – Transported by Attribute protocol – Formatted as services & characteristics • Service – Contain collection of characteristics • Characteristics – Contain single value and any number of descriptors
  • 24. BLE GATT Data Structure
  • 25. BLE GATT Characteristics • Value used in a service – Expose and / or exchange the data – Control information • Well defined, known format • Information about how the value can be passed and security achievement • Contain descriptors describe the value or permit configuration or characteristics data indication
  • 26. BLE Security Manager ( SM ) • Ensure the trust, integrity, privacy and encryption of data • Security Manager responsible for – Pairing – Key distribution – Generating hashes and short term keys
  • 27. BLE Security Model • Pairing – Process of creating shared keys • Bonding – Storing the keys created during pairing for later usage • Device authentication – Verification of stored keys • Encryption – Data confidentiality • Message Integrity – Protection against data alteration
  • 28. Profiles – Generic Abbreviation Name Assigned Number GAP Generic Access Profile 0x1800 ANS Alert Notification Service Profile 0x1811 GATT Generic Attribute Profile 0x1801
  • 29. Profiles – Health Care Abbreviation Name Assigned Number BLP Blood Pressure Profile 0x1810 HTP Health Thermometer Profile 0x1809 GLP Glucose Profile 0x1808 CGMP Continuous Glucose Monitoring Profile 0x181F
  • 30. Profiles – Sports & Fitness Abbreviation Name Assigned Number BCS Body Composition Profile 0x181B CSCP Cycling Speed and Cadence Profile 0x1816 CPP Cycling Power Profile 0x1818 HPP Heart Rate Profile 0x180D LNP Location and Navigation Profile 0x1819 RSCP Running Speed and Cadence Profile 0x1814 WSP Weighing Scale Profile 0x181D
  • 31. Profiles… Abbreviation Name Assigned Number IPSP Internet Protocol Support Suite Profile 0x1820 ESP Environmental Sensing Profile 0x181A UDS User Data Service Profile 0x181C HDGP HID over GATT Profile 0x1812 LNP Location and Navigation Profile 0x1819 RSCP Running Speed and Cadence Profile 0x1814 WSP Weighing Scale Profile 0x181D