SlideShare a Scribd company logo
1 of 32
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

What's hot

Introduction to Bluetooth Low Energy
Introduction to Bluetooth Low EnergyIntroduction to Bluetooth Low Energy
Introduction to Bluetooth Low Energyyeokm1
 
Passive Optical Networks
Passive Optical NetworksPassive Optical Networks
Passive Optical Networksfanttazio
 
LTE Training Course
LTE Training CourseLTE Training Course
LTE Training CourseChiehChun
 
AIRCOM LTE Webinar 5 - LTE Capacity
AIRCOM LTE Webinar 5 - LTE CapacityAIRCOM LTE Webinar 5 - LTE Capacity
AIRCOM LTE Webinar 5 - LTE CapacityAIRCOM International
 
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkomGpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkomWahyu Nasution
 
Link adaptation and Adaptive coding,modulation system
Link adaptation and Adaptive coding,modulation systemLink adaptation and Adaptive coding,modulation system
Link adaptation and Adaptive coding,modulation systemDILSHAD AHMAD
 
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTEAIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTEAIRCOM International
 
FTTH Basics and Network Design.pdf
FTTH Basics and Network Design.pdfFTTH Basics and Network Design.pdf
FTTH Basics and Network Design.pdfHisham Hasan
 
Ericsson TN Cards in Details
Ericsson TN Cards in DetailsEricsson TN Cards in Details
Ericsson TN Cards in Detailsibrahimnabil17
 
3GPP SON Series: Inter-Cell Interference Coordination (ICIC)
3GPP SON Series: Inter-Cell Interference Coordination (ICIC)3GPP SON Series: Inter-Cell Interference Coordination (ICIC)
3GPP SON Series: Inter-Cell Interference Coordination (ICIC)3G4G
 
Alcatel Lucent Gpon Technology Training 2
Alcatel Lucent Gpon Technology Training 2Alcatel Lucent Gpon Technology Training 2
Alcatel Lucent Gpon Technology Training 2Wahyu Nasution
 
TechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the DatacenterTechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the DatacenterRobb Boyd
 
What is LoRaWAN_Tom Zamir_IoT Expert
What is LoRaWAN_Tom Zamir_IoT ExpertWhat is LoRaWAN_Tom Zamir_IoT Expert
What is LoRaWAN_Tom Zamir_IoT ExpertGuy Vinograd ☁
 
MikroTik & RouterOS
MikroTik & RouterOSMikroTik & RouterOS
MikroTik & RouterOSFaelix Ltd
 
Differences of the Cisco Operating Systems
Differences of the Cisco Operating SystemsDifferences of the Cisco Operating Systems
Differences of the Cisco Operating Systems美兰 曾
 
5G Technology Tutorial
5G Technology Tutorial5G Technology Tutorial
5G Technology TutorialAPNIC
 

What's hot (20)

Introduction to Bluetooth Low Energy
Introduction to Bluetooth Low EnergyIntroduction to Bluetooth Low Energy
Introduction to Bluetooth Low Energy
 
Passive Optical Networks
Passive Optical NetworksPassive Optical Networks
Passive Optical Networks
 
LTE Training Course
LTE Training CourseLTE Training Course
LTE Training Course
 
AIRCOM LTE Webinar 5 - LTE Capacity
AIRCOM LTE Webinar 5 - LTE CapacityAIRCOM LTE Webinar 5 - LTE Capacity
AIRCOM LTE Webinar 5 - LTE Capacity
 
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkomGpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
 
Link adaptation and Adaptive coding,modulation system
Link adaptation and Adaptive coding,modulation systemLink adaptation and Adaptive coding,modulation system
Link adaptation and Adaptive coding,modulation system
 
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTEAIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
 
FTTH Basics and Network Design.pdf
FTTH Basics and Network Design.pdfFTTH Basics and Network Design.pdf
FTTH Basics and Network Design.pdf
 
Radio network overview
Radio network overviewRadio network overview
Radio network overview
 
Ericsson TN Cards in Details
Ericsson TN Cards in DetailsEricsson TN Cards in Details
Ericsson TN Cards in Details
 
3GPP SON Series: Inter-Cell Interference Coordination (ICIC)
3GPP SON Series: Inter-Cell Interference Coordination (ICIC)3GPP SON Series: Inter-Cell Interference Coordination (ICIC)
3GPP SON Series: Inter-Cell Interference Coordination (ICIC)
 
Juniper Trouble Shooting
Juniper Trouble ShootingJuniper Trouble Shooting
Juniper Trouble Shooting
 
Alcatel Lucent Gpon Technology Training 2
Alcatel Lucent Gpon Technology Training 2Alcatel Lucent Gpon Technology Training 2
Alcatel Lucent Gpon Technology Training 2
 
TechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the DatacenterTechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the Datacenter
 
Gponfundamentals short
Gponfundamentals shortGponfundamentals short
Gponfundamentals short
 
What is LoRaWAN_Tom Zamir_IoT Expert
What is LoRaWAN_Tom Zamir_IoT ExpertWhat is LoRaWAN_Tom Zamir_IoT Expert
What is LoRaWAN_Tom Zamir_IoT Expert
 
MikroTik & RouterOS
MikroTik & RouterOSMikroTik & RouterOS
MikroTik & RouterOS
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
 
Differences of the Cisco Operating Systems
Differences of the Cisco Operating SystemsDifferences of the Cisco Operating Systems
Differences of the Cisco Operating Systems
 
5G Technology Tutorial
5G Technology Tutorial5G Technology Tutorial
5G Technology Tutorial
 

Similar to Bluetooth Low Energy Overview

Internet of Things Protocol - Session 2
Internet of Things Protocol - Session 2Internet of Things Protocol - Session 2
Internet of Things Protocol - Session 2NEEVEE Technologies
 
Bluetooth technology introduction and ecosystem
Bluetooth technology introduction and ecosystem Bluetooth technology introduction and ecosystem
Bluetooth technology introduction and ecosystem NiclasGranqvist
 
Well_Monitoring_System_DataComm_Technology.pdf
Well_Monitoring_System_DataComm_Technology.pdfWell_Monitoring_System_DataComm_Technology.pdf
Well_Monitoring_System_DataComm_Technology.pdfHari Prasetyo Utomo
 
Systems and network architectures
Systems and network architecturesSystems and network architectures
Systems and network architecturescsk selva
 
WPAN According To ZIGBEE
WPAN According To ZIGBEEWPAN According To ZIGBEE
WPAN According To ZIGBEEAfaq Siddiqui
 
Kavya racharla ndh-naropanth_fin
Kavya racharla ndh-naropanth_finKavya racharla ndh-naropanth_fin
Kavya racharla ndh-naropanth_finPacSecJP
 
CS553_ST7_Ch18-InternetProtocols.ppt
CS553_ST7_Ch18-InternetProtocols.pptCS553_ST7_Ch18-InternetProtocols.ppt
CS553_ST7_Ch18-InternetProtocols.pptUjjwalKumarTiwari4
 
Cs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocolsCs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocolsKathirKathiresan4
 
Bluetooth introduction
Bluetooth introductionBluetooth introduction
Bluetooth introductionCHUNYING YEN
 
Key Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systemsKey Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systemsPratul Sharma
 
wireless application protocol
wireless application protocol wireless application protocol
wireless application protocol Smriti Agrawal
 
Introduction to DIAMETER
Introduction to DIAMETERIntroduction to DIAMETER
Introduction to DIAMETERHossein Yavari
 
Light Reading BTE_SDNtoolbox_June_2015
Light Reading BTE_SDNtoolbox_June_2015Light Reading BTE_SDNtoolbox_June_2015
Light Reading BTE_SDNtoolbox_June_2015Deborah Porchivina
 
TLEN_AWL_LECTURE.pptx
TLEN_AWL_LECTURE.pptxTLEN_AWL_LECTURE.pptx
TLEN_AWL_LECTURE.pptxWisman Beb
 
Deploying Next Generation Firewalling with ASA - CX
Deploying Next Generation Firewalling with ASA - CXDeploying Next Generation Firewalling with ASA - CX
Deploying Next Generation Firewalling with ASA - CXCisco Canada
 

Similar to Bluetooth Low Energy Overview (20)

Internet of Things Protocol - Session 2
Internet of Things Protocol - Session 2Internet of Things Protocol - Session 2
Internet of Things Protocol - Session 2
 
Wireless personal area networks(PAN)
Wireless personal area networks(PAN)Wireless personal area networks(PAN)
Wireless personal area networks(PAN)
 
Bluetooth technology introduction and ecosystem
Bluetooth technology introduction and ecosystem Bluetooth technology introduction and ecosystem
Bluetooth technology introduction and ecosystem
 
Well_Monitoring_System_DataComm_Technology.pdf
Well_Monitoring_System_DataComm_Technology.pdfWell_Monitoring_System_DataComm_Technology.pdf
Well_Monitoring_System_DataComm_Technology.pdf
 
Systems and network architectures
Systems and network architecturesSystems and network architectures
Systems and network architectures
 
WPAN According To ZIGBEE
WPAN According To ZIGBEEWPAN According To ZIGBEE
WPAN According To ZIGBEE
 
Kavya racharla ndh-naropanth_fin
Kavya racharla ndh-naropanth_finKavya racharla ndh-naropanth_fin
Kavya racharla ndh-naropanth_fin
 
CompTIA Security Plus Mini Bootcamp Session
CompTIA Security Plus Mini Bootcamp Session  CompTIA Security Plus Mini Bootcamp Session
CompTIA Security Plus Mini Bootcamp Session
 
06-Networks-Software.pdf
06-Networks-Software.pdf06-Networks-Software.pdf
06-Networks-Software.pdf
 
CS553_ST7_Ch18-InternetProtocols.ppt
CS553_ST7_Ch18-InternetProtocols.pptCS553_ST7_Ch18-InternetProtocols.ppt
CS553_ST7_Ch18-InternetProtocols.ppt
 
Cs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocolsCs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocols
 
Bluetooth introduction
Bluetooth introductionBluetooth introduction
Bluetooth introduction
 
ZigBee Technology PPT 2.pdf
ZigBee Technology PPT 2.pdfZigBee Technology PPT 2.pdf
ZigBee Technology PPT 2.pdf
 
Key Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systemsKey Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systems
 
wireless application protocol
wireless application protocol wireless application protocol
wireless application protocol
 
Unit I Testing
Unit I TestingUnit I Testing
Unit I Testing
 
Introduction to DIAMETER
Introduction to DIAMETERIntroduction to DIAMETER
Introduction to DIAMETER
 
Light Reading BTE_SDNtoolbox_June_2015
Light Reading BTE_SDNtoolbox_June_2015Light Reading BTE_SDNtoolbox_June_2015
Light Reading BTE_SDNtoolbox_June_2015
 
TLEN_AWL_LECTURE.pptx
TLEN_AWL_LECTURE.pptxTLEN_AWL_LECTURE.pptx
TLEN_AWL_LECTURE.pptx
 
Deploying Next Generation Firewalling with ASA - CX
Deploying Next Generation Firewalling with ASA - CXDeploying Next Generation Firewalling with ASA - CX
Deploying Next Generation Firewalling with ASA - CX
 

More from NEEVEE Technologies

C Language Programming - Program Outline / Schedule
C Language Programming - Program Outline / ScheduleC Language Programming - Program Outline / Schedule
C Language Programming - Program Outline / ScheduleNEEVEE Technologies
 
Python programming for Beginners - II
Python programming for Beginners - IIPython programming for Beginners - II
Python programming for Beginners - IINEEVEE Technologies
 
Python programming for Beginners - I
Python programming for Beginners - IPython programming for Beginners - I
Python programming for Beginners - INEEVEE Technologies
 
Engineering College - Internship proposal
Engineering College - Internship proposalEngineering College - Internship proposal
Engineering College - Internship proposalNEEVEE Technologies
 
NVDK-ESP32 WiFi Station / Access Point
NVDK-ESP32 WiFi Station / Access PointNVDK-ESP32 WiFi Station / Access Point
NVDK-ESP32 WiFi Station / Access PointNEEVEE Technologies
 
General Purpose Input Output - Brief Introduction
General Purpose Input Output - Brief IntroductionGeneral Purpose Input Output - Brief Introduction
General Purpose Input Output - Brief IntroductionNEEVEE Technologies
 
Yocto BSP Layer for UDOO NEO Board
Yocto BSP Layer for UDOO NEO BoardYocto BSP Layer for UDOO NEO Board
Yocto BSP Layer for UDOO NEO BoardNEEVEE Technologies
 
Open Computer Vision Based Image Processing
Open Computer Vision Based Image ProcessingOpen Computer Vision Based Image Processing
Open Computer Vision Based Image ProcessingNEEVEE Technologies
 
Introduction to Machine learning
Introduction to Machine learningIntroduction to Machine learning
Introduction to Machine learningNEEVEE Technologies
 
Introduction Linux Device Drivers
Introduction Linux Device DriversIntroduction Linux Device Drivers
Introduction Linux Device DriversNEEVEE Technologies
 
Introduction about Apache MYNEWT RTOS
Introduction about Apache MYNEWT RTOSIntroduction about Apache MYNEWT RTOS
Introduction about Apache MYNEWT RTOSNEEVEE Technologies
 
NXP i.MX6 Multi Media Processor & Peripherals
NXP i.MX6 Multi Media Processor & PeripheralsNXP i.MX6 Multi Media Processor & Peripherals
NXP i.MX6 Multi Media Processor & PeripheralsNEEVEE Technologies
 
Arduino Programming - Brief Introduction
Arduino Programming - Brief IntroductionArduino Programming - Brief Introduction
Arduino Programming - Brief IntroductionNEEVEE Technologies
 
NXP IMX6 Processor - Embedded Linux
NXP IMX6 Processor - Embedded LinuxNXP IMX6 Processor - Embedded Linux
NXP IMX6 Processor - Embedded LinuxNEEVEE Technologies
 
Introduction to Hardware Design Using KiCAD
Introduction to Hardware Design Using KiCADIntroduction to Hardware Design Using KiCAD
Introduction to Hardware Design Using KiCADNEEVEE Technologies
 
Internet of things - zigbee network function
Internet of things - zigbee network functionInternet of things - zigbee network function
Internet of things - zigbee network functionNEEVEE Technologies
 
Internet of Things Architecture / Topology
Internet of Things Architecture / TopologyInternet of Things Architecture / Topology
Internet of Things Architecture / TopologyNEEVEE Technologies
 

More from NEEVEE Technologies (20)

C Language Programming - Program Outline / Schedule
C Language Programming - Program Outline / ScheduleC Language Programming - Program Outline / Schedule
C Language Programming - Program Outline / Schedule
 
Python programming for Beginners - II
Python programming for Beginners - IIPython programming for Beginners - II
Python programming for Beginners - II
 
Python programming for Beginners - I
Python programming for Beginners - IPython programming for Beginners - I
Python programming for Beginners - I
 
Engineering College - Internship proposal
Engineering College - Internship proposalEngineering College - Internship proposal
Engineering College - Internship proposal
 
NVDK-ESP32 WiFi Station / Access Point
NVDK-ESP32 WiFi Station / Access PointNVDK-ESP32 WiFi Station / Access Point
NVDK-ESP32 WiFi Station / Access Point
 
NVDK-ESP32 Quick Start Guide
NVDK-ESP32 Quick Start GuideNVDK-ESP32 Quick Start Guide
NVDK-ESP32 Quick Start Guide
 
General Purpose Input Output - Brief Introduction
General Purpose Input Output - Brief IntroductionGeneral Purpose Input Output - Brief Introduction
General Purpose Input Output - Brief Introduction
 
Yocto BSP Layer for UDOO NEO Board
Yocto BSP Layer for UDOO NEO BoardYocto BSP Layer for UDOO NEO Board
Yocto BSP Layer for UDOO NEO Board
 
Building Embedded Linux UDOONEO
Building Embedded Linux UDOONEOBuilding Embedded Linux UDOONEO
Building Embedded Linux UDOONEO
 
Open Computer Vision Based Image Processing
Open Computer Vision Based Image ProcessingOpen Computer Vision Based Image Processing
Open Computer Vision Based Image Processing
 
Introduction to Machine learning
Introduction to Machine learningIntroduction to Machine learning
Introduction to Machine learning
 
Introduction Linux Device Drivers
Introduction Linux Device DriversIntroduction Linux Device Drivers
Introduction Linux Device Drivers
 
Introduction about Apache MYNEWT RTOS
Introduction about Apache MYNEWT RTOSIntroduction about Apache MYNEWT RTOS
Introduction about Apache MYNEWT RTOS
 
NXP i.MX6 Multi Media Processor & Peripherals
NXP i.MX6 Multi Media Processor & PeripheralsNXP i.MX6 Multi Media Processor & Peripherals
NXP i.MX6 Multi Media Processor & Peripherals
 
Arduino Programming - Brief Introduction
Arduino Programming - Brief IntroductionArduino Programming - Brief Introduction
Arduino Programming - Brief Introduction
 
MarsBoard - NXP IMX6 Processor
MarsBoard - NXP IMX6 ProcessorMarsBoard - NXP IMX6 Processor
MarsBoard - NXP IMX6 Processor
 
NXP IMX6 Processor - Embedded Linux
NXP IMX6 Processor - Embedded LinuxNXP IMX6 Processor - Embedded Linux
NXP IMX6 Processor - Embedded Linux
 
Introduction to Hardware Design Using KiCAD
Introduction to Hardware Design Using KiCADIntroduction to Hardware Design Using KiCAD
Introduction to Hardware Design Using KiCAD
 
Internet of things - zigbee network function
Internet of things - zigbee network functionInternet of things - zigbee network function
Internet of things - zigbee network function
 
Internet of Things Architecture / Topology
Internet of Things Architecture / TopologyInternet of Things Architecture / Topology
Internet of Things Architecture / Topology
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
[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
 
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
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
[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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Bluetooth Low Energy Overview

  • 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