SlideShare a Scribd company logo
1 of 22
Download to read offline
Introduction to Bluetooth® low energy
A brief insight into the ultra low power technology at the core of the nRF51 series
October 2012Vinayak Kariappa Chettimada
2Introduction to Bluetooth low energy
Bluetooth: essentials
 Standard for Personal Area Network based on Ericsson research
 Short range, low-power
 Frequency hopping spread spectrum (FHSS)
 2.4 GHz ISM band
 Bluetooth Special Interest Group formed in 1998
 16000+ SIG member companies
 Billions of products shipped
 Nordic Semiconductor is one 9 SIG Board members
4Introduction to Bluetooth low energy
Bluetooth: terminology
Term Introduced Means
BR 1.1 (2002) Basic Rate (1 Mbit/s)
EDR 2.0 (2004) Enhanced Data Rate (2 and 3 Mbit/s)
HS 3.0 (2009) High Speed (Alternate MAC/PHY)
LE 4.0 (2010) Low Energy (1 Mbit/s ultra low power)
Bluetooth Smart 4.0 Single-mode, LE-only radio
Bluetooth Smart Ready 4.0 Dual-mode, BR/EDR and LE dual radio
nRF51 Series
5Introduction to Bluetooth low energy
Bluetooth: configurations
BR/EDR/HS 1.1, 2.0, 3.0
Link Manager
BR/EDR PHY
L2CAP
SPP
RFCOMM
BR/EDR 4.0 Dual Mode (+LE)
L2CAP
GATT
ATTSMP
GAPSPP
RFCOMM
Link LayerLink Manager
BR/EDR + LE PHY
LE 4.0 Single Mode
GA
P
GATT
ATTSMP
L2CAP
GAP
Link Layer
LE PHY
6Introduction to Bluetooth low energy
Bluetooth LE: key features
 Following goals and rules of ULP wireless pioneered by Nordic
 PHY compatible with all 4.0 Bluetooth devices
 Ultra Low Power
 Small packets
 Short RX and TX windows
 Race to idle
 Turn radio on as seldom as possible
 Turn radio off as soon as possible
 Coin-cell battery 1+ year
 Low memory footprint
 Fast connection in 6 ms and teardown
 Simple stateless operation, data in form of parameter-value
7Introduction to Bluetooth low energy
Bluetooth LE: architecture
Host
GAPGATT
ATT SMP
L2CAP
Controller
Host Controller Interface (HCI)
Link Layer (LL)
Physical Layer (PHY)
…
Profiles
HIDoverGATT
Proximity
Battery
Thermometer
HeartRate
BloodPressure
Speed&Cadence
8Introduction to Bluetooth low energy
 2.4 GHz free ISM band
 1 Mbit/s signalling rate
 GFSK modulation
 Up to 4 dBm maximum transmit power
 40 RF channels
 3 advertising channels reserved for:
 Discover
 Connect
 Broadcast
 37 data channels
PHY Overview
…
ControllerHostProfiles
GAPGATT
ATT SMP
L2CAP
Host Controller Interface (HCI)
Link Layer (LL)
Physical Layer (PHY)
HIDoverGATT
Proximity
Battery
Thermometer
HeartRate
BloodPressure
Speed&Cadence
9Introduction to Bluetooth low energy
 Advertising: connectable and non-connectable
 Scanning: active or passive
 Slave: connection role
 Master: connection role
 31 bytes advertising payload size
 27 bytes maximum payload size per packet
 AES-128 built-in encryption
 CCM
 Counter with
 Cipher Block Chaining
 Message Authentication Code
Link Layer Overview
…
ControllerHostProfiles
GAPGATT
ATT SMP
L2CAP
Host Controller Interface (HCI)
Link Layer (LL)
Physical Layer (PHY)
HIDoverGATT
Proximity
Battery
Thermometer
HeartRate
BloodPressure
Speed&Cadence
Scanning on
channel 37
0 ms
S
25 ms 50 ms 100 ms75 ms 125 ms 150 ms
Scanning on
channel 38
Scanning on
channel 39
Advertising on 37, 38 and 39
0 ms 20 ms 40 ms 60 ms 80 ms 100 ms 120 ms 140 ms
A
10PRESENTATION TITLE
Scanner scan interval = 50 ms
Scanner scan window = 25 ms
Link Layer Overview: Advertising and Scanning
Advertiser advertising interval = 20 ms
11PRESENTATION TITLE
Link Layer Overview: Topology
Master
Advertiser
SlaveConnection
Request
Scanner
BR/EDR
BR/EDR
Slave
Scanner
Slave
Slave
Advertiser
12PRESENTATION TITLE
 Selectable Connection Interval: 7.5 ms to 4 s
Radio
Idle
Radio Idle
Radio Idle
Radio
Idle
Link Layer Overview: Connection
T
X
T
X
Slave
connection interval
T
X
T
X
Master
R
X
R
X
R
X
R
X
connection interval connection interval
T
X
T
X
R
X
R
X
T
X
T
X
R
X
R
X
...
...
15Introduction to Bluetooth low energy
 Attribute Protocol
 Mandatory and used for all data transfers in BLE
 Fast, simple, independent of connection logic
 Client – Server architecture
 Server stores data
 Client requests data
 Server initiates Notifications and Indications
 Supports for fine-grained security
ATT Overview
…
ControllerHostProfiles
GAPGATT
ATT SMP
L2CAP
Host Controller Interface (HCI)
Link Layer (LL)
Physical Layer (PHY)
HIDoverGATT
Proximity
Battery
Thermometer
HeartRate
BloodPressure
Speed&Cadence
16Introduction to Bluetooth low energy
ATT Transaction
Client
ATT Request PDU
ATT Response PDU
ATT HVN/HVI PDU(on update)
Server
Attr.
Attr.
Attr.
Attr.
Handle UUID Permissions Value
Attribute
 Handle – Index in the ATT Table, used in ATT transaction PDU
 UUID – Universal Unique Identifier
 Permissions – Read, Write, Authenticated, Encrypted etc.
 Value – data read/written by Client
18Introduction to Bluetooth low energy
 Generic Attribute Profile
 Mandatory for all BLE profiles
 Procedures for attribute discovery and access
 Models the ATT Table layout
 16-bit (SIG Assigned) and 128-bit (Proprietary) UUIDs
 Hierarchial classification of Attributes
 Services
 Characteristics
 Descriptors
GATT Overview
…
ControllerHostProfiles
GAPGATT
ATT SMP
L2CAP
Host Controller Interface (HCI)
Link Layer (LL)
Physical Layer (PHY)
HIDoverGATT
Proximity
Battery
Thermometer
HeartRate
BloodPressure
Speed&Cadence
19Introduction to Bluetooth low energy
GATT Overview
Handle UUID Value
0x0005 CHAR HSL
0x0006 HSL FINGER
0x0002 CHAR HRM
0x0003 HRM 80bpm
0x0001 SERVICE HRSService
Permissions
READ
READ
READ
READ/NOTIF
READ
0x0004 DESC NOTIFYREAD
Characteristic
Characteristic
Descriptor
Attribute
21Introduction to Bluetooth low energy
 Generic Access Profile
 Common to BR/EDR and BLE
 Mandatory for all BLE profiles
 Procedures to discover, and connect to devices
 Roles
 Peripheral (Slave)
 Central (Master)
 Broadcaster (Advertiser)
 Observer (Scanner)
 Security
 Creating bonds with peer devices
 Attribute access security requirements
 Privacy and address control
 Advertising data format
GAP Overview
…
ControllerHostProfiles
GAPGATT
ATT SMP
L2CAP
Host Controller Interface (HCI)
Link Layer (LL)
Physical Layer (PHY)
HIDoverGATT
Proximity
Battery
Thermometer
HeartRate
BloodPressure
Speed&Cadence
22Introduction to Bluetooth low energy
 Vertical slice across protocol stack
 Selects required features from the stack
 Describes a particular use case
 Requires a particular set of GATT services
 Defines
 Roles
 Procedures
 Security
 Key to inter-operability
Profiles overview
GAPGATT
ATT SMP
L2CAP
Profile
Services
…
ControllerHostProfiles
GAPGATT
ATT SMP
L2CAP
Host Controller Interface (HCI)
Link Layer (LL)
Physical Layer (PHY)
HIDoverGATT
Proximity
Battery
Thermometer
HeartRate
BloodPressure
Speed&Cadence
23Introduction to Bluetooth low energy
Profiles overview: Examples and roles
 HID over GATT: Wireless Human
Interface Devices
 Host (PC, tablet, phone)
 Device (keyboard, mouse, trackpad, …)
 Heart Rate: Both sport and medical Heart Rate
transmission
 Collector (PC, tablet, phone)
 Sensor (Heart Rate belt or similar)
 Proximity / Find Me: Locate devices and detect
presence
 Monitor (PC, tablet, phone)
 Reporter (keyfob, phone)
24Introduction to Bluetooth low energy
 All Bluetooth products must be qualified
 End Product Listing is the goal
 Requires an EP-QDL (Qualified Design
Listing)
 Nordic can help!
 We will provide an EP-QDL for nRF51
 No qualification fees
 Only RF-PHY retesting required
Qualification
25Introduction to Bluetooth low energy
Qualification
RF-PHY
(Component)
Link Layer
(Component)
Host
(Component)
nRF51
(EP-QDL)
nRF51 Profiles
(Subsystem)
Internal Nordic Qualifications
(Not intended to be used by customers)
Publicly Available Qualifications
(Intended to be used by customers)
nRF51 End Product
(EPL)
End product
(Listed by the product manufacturer)
Subset
26Introduction to Bluetooth low energy
Annex: Operating System support today
 Microsoft Windows:
 Windows XP, Vista and 7: 1.1 – 2.1 BR/EDR only
 Additional full replacements commonly shipped by OEMs
 Windows 8: 4.0 BR/EDR and low energy natively supported
 Apple
 Mac OS X (10.6 and above): 4.0 BR/EDR and low energy
 iOS (5 and above): 4.0 BR/EDR and low energy
 GNU/Linux:
 Vanilla BlueZ (~4.93 and above): 4.0 BR/EDR and low energy
 Android: BR/EDR only as of 4.1 (Jelly Bean)
 Several vendors offer patched versions with 4.0 LE support
Thank you for your attention
Questions
October 2012Vinayak Kariappa Chettimada

More Related Content

What's hot

Demystifying Multimedia Conferencing Over the Internet Using ...
Demystifying Multimedia Conferencing Over the Internet Using ...Demystifying Multimedia Conferencing Over the Internet Using ...
Demystifying Multimedia Conferencing Over the Internet Using ...Videoguy
 
Voice over IP (VOIP)
Voice over IP (VOIP)Voice over IP (VOIP)
Voice over IP (VOIP)Ahmed Ayman
 
High Performance DSP with Xilinx All Programmable Devices (Design Conference ...
High Performance DSP with Xilinx All Programmable Devices (Design Conference ...High Performance DSP with Xilinx All Programmable Devices (Design Conference ...
High Performance DSP with Xilinx All Programmable Devices (Design Conference ...Analog Devices, Inc.
 
Lec40 45 video conferencing
Lec40 45 video conferencingLec40 45 video conferencing
Lec40 45 video conferencingDom Mike
 
Lec40 41 42_43_44_45 video conferencing
Lec40 41 42_43_44_45 video conferencingLec40 41 42_43_44_45 video conferencing
Lec40 41 42_43_44_45 video conferencingShona Hira
 
Nios2 and ip core
Nios2 and ip coreNios2 and ip core
Nios2 and ip coreanishgoel
 
H.323 Liane Tarouco Leandro Bertholdo
H.323 Liane Tarouco Leandro BertholdoH.323 Liane Tarouco Leandro Bertholdo
H.323 Liane Tarouco Leandro BertholdoVideoguy
 
Gigamon Systems GigaVUE-420 Hardware Tour
Gigamon Systems GigaVUE-420 Hardware TourGigamon Systems GigaVUE-420 Hardware Tour
Gigamon Systems GigaVUE-420 Hardware Tourgigamon_systems
 
LTE Patents Essential for RAN Products 1Q 2011_Sample
 LTE Patents Essential for RAN Products 1Q 2011_Sample LTE Patents Essential for RAN Products 1Q 2011_Sample
LTE Patents Essential for RAN Products 1Q 2011_SampleAlex G. Lee, Ph.D. Esq. CLP
 
Wpmc2004 phy protection
Wpmc2004 phy protectionWpmc2004 phy protection
Wpmc2004 phy protectionArpan Pal
 
Hard IP Core design | Convolution Encoder
Hard IP Core design | Convolution EncoderHard IP Core design | Convolution Encoder
Hard IP Core design | Convolution EncoderArchit Vora
 
Alexander Bolshev, Alexander Malinovsky - HART (in)security
Alexander Bolshev, Alexander Malinovsky - HART (in)securityAlexander Bolshev, Alexander Malinovsky - HART (in)security
Alexander Bolshev, Alexander Malinovsky - HART (in)securityDefconRussia
 
DPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel Architecture
DPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel ArchitectureDPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel Architecture
DPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel ArchitectureJim St. Leger
 
Packet-to-Packet Applications
Packet-to-Packet ApplicationsPacket-to-Packet Applications
Packet-to-Packet ApplicationsVideoguy
 
generate IP CORES
generate IP CORESgenerate IP CORES
generate IP CORESguest296013
 
Universal asynchronous receiver_transmitter_uart_rs232
Universal asynchronous receiver_transmitter_uart_rs232Universal asynchronous receiver_transmitter_uart_rs232
Universal asynchronous receiver_transmitter_uart_rs232Shahrukh Javed
 

What's hot (20)

Demystifying Multimedia Conferencing Over the Internet Using ...
Demystifying Multimedia Conferencing Over the Internet Using ...Demystifying Multimedia Conferencing Over the Internet Using ...
Demystifying Multimedia Conferencing Over the Internet Using ...
 
Voice over IP (VOIP)
Voice over IP (VOIP)Voice over IP (VOIP)
Voice over IP (VOIP)
 
High Performance DSP with Xilinx All Programmable Devices (Design Conference ...
High Performance DSP with Xilinx All Programmable Devices (Design Conference ...High Performance DSP with Xilinx All Programmable Devices (Design Conference ...
High Performance DSP with Xilinx All Programmable Devices (Design Conference ...
 
Lec40 45 video conferencing
Lec40 45 video conferencingLec40 45 video conferencing
Lec40 45 video conferencing
 
Lec40 41 42_43_44_45 video conferencing
Lec40 41 42_43_44_45 video conferencingLec40 41 42_43_44_45 video conferencing
Lec40 41 42_43_44_45 video conferencing
 
GNU Radio
GNU RadioGNU Radio
GNU Radio
 
Nios2 and ip core
Nios2 and ip coreNios2 and ip core
Nios2 and ip core
 
H.323 Liane Tarouco Leandro Bertholdo
H.323 Liane Tarouco Leandro BertholdoH.323 Liane Tarouco Leandro Bertholdo
H.323 Liane Tarouco Leandro Bertholdo
 
Gigamon Systems GigaVUE-420 Hardware Tour
Gigamon Systems GigaVUE-420 Hardware TourGigamon Systems GigaVUE-420 Hardware Tour
Gigamon Systems GigaVUE-420 Hardware Tour
 
LTE Patents Essential for RAN Products 1Q 2011_Sample
 LTE Patents Essential for RAN Products 1Q 2011_Sample LTE Patents Essential for RAN Products 1Q 2011_Sample
LTE Patents Essential for RAN Products 1Q 2011_Sample
 
Wpmc2004 phy protection
Wpmc2004 phy protectionWpmc2004 phy protection
Wpmc2004 phy protection
 
Hard IP Core design | Convolution Encoder
Hard IP Core design | Convolution EncoderHard IP Core design | Convolution Encoder
Hard IP Core design | Convolution Encoder
 
Alexander Bolshev, Alexander Malinovsky - HART (in)security
Alexander Bolshev, Alexander Malinovsky - HART (in)securityAlexander Bolshev, Alexander Malinovsky - HART (in)security
Alexander Bolshev, Alexander Malinovsky - HART (in)security
 
DPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel Architecture
DPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel ArchitectureDPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel Architecture
DPDK Summit - 08 Sept 2014 - Intel - Networking Workloads on Intel Architecture
 
Surf Communication Solutions - Packet To Packet Apps
Surf Communication Solutions - Packet To Packet AppsSurf Communication Solutions - Packet To Packet Apps
Surf Communication Solutions - Packet To Packet Apps
 
Packet-to-Packet Applications
Packet-to-Packet ApplicationsPacket-to-Packet Applications
Packet-to-Packet Applications
 
Krypto500
Krypto500Krypto500
Krypto500
 
Download
DownloadDownload
Download
 
generate IP CORES
generate IP CORESgenerate IP CORES
generate IP CORES
 
Universal asynchronous receiver_transmitter_uart_rs232
Universal asynchronous receiver_transmitter_uart_rs232Universal asynchronous receiver_transmitter_uart_rs232
Universal asynchronous receiver_transmitter_uart_rs232
 

Similar to 05 ble intro

Wireless Personal Area Networks
Wireless Personal Area NetworksWireless Personal Area Networks
Wireless Personal Area NetworksDilum Bandara
 
Bluetooth® Serial Port Micro Module
Bluetooth® Serial Port Micro ModuleBluetooth® Serial Port Micro Module
Bluetooth® Serial Port Micro ModulePremier Farnell
 
Bluetooth low energy
Bluetooth low energyBluetooth low energy
Bluetooth low energySaptadeep Pal
 
iOT - Developing beacons
iOT - Developing beaconsiOT - Developing beacons
iOT - Developing beaconssandeephegde
 
Iot ble and_beacons_2015_nov28
Iot ble and_beacons_2015_nov28Iot ble and_beacons_2015_nov28
Iot ble and_beacons_2015_nov28Ravikiran HV
 
Bluetooth 4.0 specification
Bluetooth 4.0 specificationBluetooth 4.0 specification
Bluetooth 4.0 specificationabhiamanchopra
 
Bluetooth Power point presentation
Bluetooth Power point presentationBluetooth Power point presentation
Bluetooth Power point presentationjogiparthyramya
 
Bluetooth Details.ppt
Bluetooth Details.pptBluetooth Details.ppt
Bluetooth Details.pptVignesh kumar
 
R K 2 Bluetooth Technologies
R K 2  Bluetooth  TechnologiesR K 2  Bluetooth  Technologies
R K 2 Bluetooth TechnologiesSaurav Kumar
 
Basic Study on the WT12 Family of Bluetooth Devices
Basic Study on the WT12 Family of Bluetooth DevicesBasic Study on the WT12 Family of Bluetooth Devices
Basic Study on the WT12 Family of Bluetooth DevicesPremier Farnell
 
Bluetooth Secure Simple Pairing Using NFC Part 1
Bluetooth Secure Simple Pairing Using NFC Part 1 Bluetooth Secure Simple Pairing Using NFC Part 1
Bluetooth Secure Simple Pairing Using NFC Part 1 NFC Forum
 
Other types of networks: Bluetooth, Zigbee, & NFC
Other types of networks: Bluetooth, Zigbee, & NFCOther types of networks: Bluetooth, Zigbee, & NFC
Other types of networks: Bluetooth, Zigbee, & NFCDilum Bandara
 
Bluetooth Intro
Bluetooth IntroBluetooth Intro
Bluetooth Introamit_monty
 

Similar to 05 ble intro (20)

Undestanding Bluetooth
Undestanding BluetoothUndestanding Bluetooth
Undestanding Bluetooth
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Wireless Personal Area Networks
Wireless Personal Area NetworksWireless Personal Area Networks
Wireless Personal Area Networks
 
Bluetooth® Serial Port Micro Module
Bluetooth® Serial Port Micro ModuleBluetooth® Serial Port Micro Module
Bluetooth® Serial Port Micro Module
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
Bluetooth low energy
Bluetooth low energyBluetooth low energy
Bluetooth low energy
 
iOT - Developing beacons
iOT - Developing beaconsiOT - Developing beacons
iOT - Developing beacons
 
Iot ble and_beacons_2015_nov28
Iot ble and_beacons_2015_nov28Iot ble and_beacons_2015_nov28
Iot ble and_beacons_2015_nov28
 
Bluetooth 4.0 specification
Bluetooth 4.0 specificationBluetooth 4.0 specification
Bluetooth 4.0 specification
 
Bluetooth Power point presentation
Bluetooth Power point presentationBluetooth Power point presentation
Bluetooth Power point presentation
 
Bluetooth Details.ppt
Bluetooth Details.pptBluetooth Details.ppt
Bluetooth Details.ppt
 
R K 2 Bluetooth Technologies
R K 2  Bluetooth  TechnologiesR K 2  Bluetooth  Technologies
R K 2 Bluetooth Technologies
 
Basic Study on the WT12 Family of Bluetooth Devices
Basic Study on the WT12 Family of Bluetooth DevicesBasic Study on the WT12 Family of Bluetooth Devices
Basic Study on the WT12 Family of Bluetooth Devices
 
Bluetooth Secure Simple Pairing Using NFC Part 1
Bluetooth Secure Simple Pairing Using NFC Part 1 Bluetooth Secure Simple Pairing Using NFC Part 1
Bluetooth Secure Simple Pairing Using NFC Part 1
 
Other types of networks: Bluetooth, Zigbee, & NFC
Other types of networks: Bluetooth, Zigbee, & NFCOther types of networks: Bluetooth, Zigbee, & NFC
Other types of networks: Bluetooth, Zigbee, & NFC
 
Bluetooth.pptx
Bluetooth.pptxBluetooth.pptx
Bluetooth.pptx
 
Bluetooth Intro
Bluetooth IntroBluetooth Intro
Bluetooth Intro
 
Gangxie Bluetooth
Gangxie BluetoothGangxie Bluetooth
Gangxie Bluetooth
 
Bless icnp2017
Bless icnp2017Bless icnp2017
Bless icnp2017
 
Khetarpal
KhetarpalKhetarpal
Khetarpal
 

Recently uploaded

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Recently uploaded (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

05 ble intro

  • 1. Introduction to Bluetooth® low energy A brief insight into the ultra low power technology at the core of the nRF51 series October 2012Vinayak Kariappa Chettimada
  • 2. 2Introduction to Bluetooth low energy Bluetooth: essentials  Standard for Personal Area Network based on Ericsson research  Short range, low-power  Frequency hopping spread spectrum (FHSS)  2.4 GHz ISM band  Bluetooth Special Interest Group formed in 1998  16000+ SIG member companies  Billions of products shipped  Nordic Semiconductor is one 9 SIG Board members
  • 3. 4Introduction to Bluetooth low energy Bluetooth: terminology Term Introduced Means BR 1.1 (2002) Basic Rate (1 Mbit/s) EDR 2.0 (2004) Enhanced Data Rate (2 and 3 Mbit/s) HS 3.0 (2009) High Speed (Alternate MAC/PHY) LE 4.0 (2010) Low Energy (1 Mbit/s ultra low power) Bluetooth Smart 4.0 Single-mode, LE-only radio Bluetooth Smart Ready 4.0 Dual-mode, BR/EDR and LE dual radio nRF51 Series
  • 4. 5Introduction to Bluetooth low energy Bluetooth: configurations BR/EDR/HS 1.1, 2.0, 3.0 Link Manager BR/EDR PHY L2CAP SPP RFCOMM BR/EDR 4.0 Dual Mode (+LE) L2CAP GATT ATTSMP GAPSPP RFCOMM Link LayerLink Manager BR/EDR + LE PHY LE 4.0 Single Mode GA P GATT ATTSMP L2CAP GAP Link Layer LE PHY
  • 5. 6Introduction to Bluetooth low energy Bluetooth LE: key features  Following goals and rules of ULP wireless pioneered by Nordic  PHY compatible with all 4.0 Bluetooth devices  Ultra Low Power  Small packets  Short RX and TX windows  Race to idle  Turn radio on as seldom as possible  Turn radio off as soon as possible  Coin-cell battery 1+ year  Low memory footprint  Fast connection in 6 ms and teardown  Simple stateless operation, data in form of parameter-value
  • 6. 7Introduction to Bluetooth low energy Bluetooth LE: architecture Host GAPGATT ATT SMP L2CAP Controller Host Controller Interface (HCI) Link Layer (LL) Physical Layer (PHY) … Profiles HIDoverGATT Proximity Battery Thermometer HeartRate BloodPressure Speed&Cadence
  • 7. 8Introduction to Bluetooth low energy  2.4 GHz free ISM band  1 Mbit/s signalling rate  GFSK modulation  Up to 4 dBm maximum transmit power  40 RF channels  3 advertising channels reserved for:  Discover  Connect  Broadcast  37 data channels PHY Overview … ControllerHostProfiles GAPGATT ATT SMP L2CAP Host Controller Interface (HCI) Link Layer (LL) Physical Layer (PHY) HIDoverGATT Proximity Battery Thermometer HeartRate BloodPressure Speed&Cadence
  • 8. 9Introduction to Bluetooth low energy  Advertising: connectable and non-connectable  Scanning: active or passive  Slave: connection role  Master: connection role  31 bytes advertising payload size  27 bytes maximum payload size per packet  AES-128 built-in encryption  CCM  Counter with  Cipher Block Chaining  Message Authentication Code Link Layer Overview … ControllerHostProfiles GAPGATT ATT SMP L2CAP Host Controller Interface (HCI) Link Layer (LL) Physical Layer (PHY) HIDoverGATT Proximity Battery Thermometer HeartRate BloodPressure Speed&Cadence
  • 9. Scanning on channel 37 0 ms S 25 ms 50 ms 100 ms75 ms 125 ms 150 ms Scanning on channel 38 Scanning on channel 39 Advertising on 37, 38 and 39 0 ms 20 ms 40 ms 60 ms 80 ms 100 ms 120 ms 140 ms A 10PRESENTATION TITLE Scanner scan interval = 50 ms Scanner scan window = 25 ms Link Layer Overview: Advertising and Scanning Advertiser advertising interval = 20 ms
  • 10. 11PRESENTATION TITLE Link Layer Overview: Topology Master Advertiser SlaveConnection Request Scanner BR/EDR BR/EDR Slave Scanner Slave Slave Advertiser
  • 11. 12PRESENTATION TITLE  Selectable Connection Interval: 7.5 ms to 4 s Radio Idle Radio Idle Radio Idle Radio Idle Link Layer Overview: Connection T X T X Slave connection interval T X T X Master R X R X R X R X connection interval connection interval T X T X R X R X T X T X R X R X ... ...
  • 12. 15Introduction to Bluetooth low energy  Attribute Protocol  Mandatory and used for all data transfers in BLE  Fast, simple, independent of connection logic  Client – Server architecture  Server stores data  Client requests data  Server initiates Notifications and Indications  Supports for fine-grained security ATT Overview … ControllerHostProfiles GAPGATT ATT SMP L2CAP Host Controller Interface (HCI) Link Layer (LL) Physical Layer (PHY) HIDoverGATT Proximity Battery Thermometer HeartRate BloodPressure Speed&Cadence
  • 13. 16Introduction to Bluetooth low energy ATT Transaction Client ATT Request PDU ATT Response PDU ATT HVN/HVI PDU(on update) Server Attr. Attr. Attr. Attr. Handle UUID Permissions Value Attribute  Handle – Index in the ATT Table, used in ATT transaction PDU  UUID – Universal Unique Identifier  Permissions – Read, Write, Authenticated, Encrypted etc.  Value – data read/written by Client
  • 14. 18Introduction to Bluetooth low energy  Generic Attribute Profile  Mandatory for all BLE profiles  Procedures for attribute discovery and access  Models the ATT Table layout  16-bit (SIG Assigned) and 128-bit (Proprietary) UUIDs  Hierarchial classification of Attributes  Services  Characteristics  Descriptors GATT Overview … ControllerHostProfiles GAPGATT ATT SMP L2CAP Host Controller Interface (HCI) Link Layer (LL) Physical Layer (PHY) HIDoverGATT Proximity Battery Thermometer HeartRate BloodPressure Speed&Cadence
  • 15. 19Introduction to Bluetooth low energy GATT Overview Handle UUID Value 0x0005 CHAR HSL 0x0006 HSL FINGER 0x0002 CHAR HRM 0x0003 HRM 80bpm 0x0001 SERVICE HRSService Permissions READ READ READ READ/NOTIF READ 0x0004 DESC NOTIFYREAD Characteristic Characteristic Descriptor Attribute
  • 16. 21Introduction to Bluetooth low energy  Generic Access Profile  Common to BR/EDR and BLE  Mandatory for all BLE profiles  Procedures to discover, and connect to devices  Roles  Peripheral (Slave)  Central (Master)  Broadcaster (Advertiser)  Observer (Scanner)  Security  Creating bonds with peer devices  Attribute access security requirements  Privacy and address control  Advertising data format GAP Overview … ControllerHostProfiles GAPGATT ATT SMP L2CAP Host Controller Interface (HCI) Link Layer (LL) Physical Layer (PHY) HIDoverGATT Proximity Battery Thermometer HeartRate BloodPressure Speed&Cadence
  • 17. 22Introduction to Bluetooth low energy  Vertical slice across protocol stack  Selects required features from the stack  Describes a particular use case  Requires a particular set of GATT services  Defines  Roles  Procedures  Security  Key to inter-operability Profiles overview GAPGATT ATT SMP L2CAP Profile Services … ControllerHostProfiles GAPGATT ATT SMP L2CAP Host Controller Interface (HCI) Link Layer (LL) Physical Layer (PHY) HIDoverGATT Proximity Battery Thermometer HeartRate BloodPressure Speed&Cadence
  • 18. 23Introduction to Bluetooth low energy Profiles overview: Examples and roles  HID over GATT: Wireless Human Interface Devices  Host (PC, tablet, phone)  Device (keyboard, mouse, trackpad, …)  Heart Rate: Both sport and medical Heart Rate transmission  Collector (PC, tablet, phone)  Sensor (Heart Rate belt or similar)  Proximity / Find Me: Locate devices and detect presence  Monitor (PC, tablet, phone)  Reporter (keyfob, phone)
  • 19. 24Introduction to Bluetooth low energy  All Bluetooth products must be qualified  End Product Listing is the goal  Requires an EP-QDL (Qualified Design Listing)  Nordic can help!  We will provide an EP-QDL for nRF51  No qualification fees  Only RF-PHY retesting required Qualification
  • 20. 25Introduction to Bluetooth low energy Qualification RF-PHY (Component) Link Layer (Component) Host (Component) nRF51 (EP-QDL) nRF51 Profiles (Subsystem) Internal Nordic Qualifications (Not intended to be used by customers) Publicly Available Qualifications (Intended to be used by customers) nRF51 End Product (EPL) End product (Listed by the product manufacturer) Subset
  • 21. 26Introduction to Bluetooth low energy Annex: Operating System support today  Microsoft Windows:  Windows XP, Vista and 7: 1.1 – 2.1 BR/EDR only  Additional full replacements commonly shipped by OEMs  Windows 8: 4.0 BR/EDR and low energy natively supported  Apple  Mac OS X (10.6 and above): 4.0 BR/EDR and low energy  iOS (5 and above): 4.0 BR/EDR and low energy  GNU/Linux:  Vanilla BlueZ (~4.93 and above): 4.0 BR/EDR and low energy  Android: BR/EDR only as of 4.1 (Jelly Bean)  Several vendors offer patched versions with 4.0 LE support
  • 22. Thank you for your attention Questions October 2012Vinayak Kariappa Chettimada