SlideShare una empresa de Scribd logo
1 de 15
Descargar para leer sin conexión
Bluetooth Low Energy
Uncovered
Gabe Gindele
@barbazoo

Friday, October 18, 13
Tech Overview
• “A Better Bluetooth” - Power and Cost
• 4.0 - Single and Dual Mode
• 3 Advertising, 37 Data Channels
• Advertiser vs. Scanner
• Master vs. Slave
Friday, October 18, 13
Classic vs. Low Energy
• 100mW vs. 10mW power
• Connection Oriented vs. Connectionless
• Streaming Data vs. Small Data Bursts
• HCI API stays intact
Friday, October 18, 13
Tech Overview Cont.

Total Transaction Time: 3ms
Friday, October 18, 13
Apple and Bluetooth LE
• First to Introduce
• iPhone 4S, MBA, Mac Mini since 2011
• WWDC 2012 Sessions
• All Products Today - Apple TV
• Classic remains under MFA
• Opens new era of Sensors and IOT
Friday, October 18, 13
Devices Today
• Fitbit Flex
• Heart Rate monitors
• SmartWatches
• Proximity
• iBeacons
• Sensors
Friday, October 18, 13
GATT
• Service
• Characteristic
• Value
• Descriptors
• Notifications
• APIs are Asynchronous
Friday, October 18, 13
iOS: Discovery
central	
  =	
  [[CBCentralManagernager	
  alloc]	
  
initWithDelegate:self	
  queue:nil];
[central	
  scanForPeripheralsWithServices:nil	
  options:nil];

-­‐	
  (void)centralManager:(CBCentralManager	
  *)central
	
  	
   didDiscoverPeripheral:(CBPeripheral	
  *)peripheral
	
  

advertisementData:(NSDictionary	
  *)advertisementData

	
  

RSSI:(NSNumber	
  *)RSSI	
  {}

[myCentralManager	
  stopScan];

Friday, October 18, 13
iOS: Connection
[myCentralManager	
  connectPeripheral:peripheral	
  options:nil];
-­‐	
  (void)centralManager:(CBCentralManager	
  *)central	
  
didConnectPeripheral:(CBPeripheral	
  *)peripheral	
  {}
peripheral.delegate	
  =	
  self;
[peripheral	
  discoverServices:nil];
[peripheral	
  discoverCharacteristics:nil	
  	
  forService:...];
[peripheral	
  readValueForCharacteristic:...];
[peripheral	
  setNotifyValue:YES	
  forCharacteristic:...;
[peripheral	
  writeValue:...	
  type:CBCharacteristicWriteWithResponse]

Friday, October 18, 13
Android: BluetoothGatt
• Since 4.3 - API 18 - Most of new devices
• A new profile
• GATT Server is missing

Friday, October 18, 13
Android: Discovery
mBluetoothAdapter.startLeScan(mLeScanCallback);	
  
public	
  void	
  onLeScan(final	
  BluetoothDevice	
  device,	
  int	
  
rssi,	
  byte[]	
  scanRecord)	
  {};
mBluetoothAdapter.stopLeScan(mLeScanCallback);

Friday, October 18, 13
Android: Connection
BluetoothGatt	
  mBtGatt	
  =	
  device.connectGatt(...	
  callback);
BluetoothGattCallback	
  callback	
  =	
  new	
  BluetoothGattCallback()	
  {
public	
  void	
  onConnectionStateChange(...)	
  {}
public	
  void	
  onServicesDiscovered(...)	
  {}
public	
  void	
  onCharacteristicRead(...)	
  {}
public	
  void	
  onCharacteristicChanged(...)	
  {}
};
mBtGatt.setCharacteristicNotification(characteristic,	
  enabled);
onCharacteristicChanged(BluetoothGatt	
  gatt,	
  	
  
BluetoothGattCharacteristic)	
  {}

Friday, October 18, 13
iBeacon
• Best Kept Secret of iOS7
• Micro Locations Made Simple
• API extends CoreLocation - CLBeacon
• Broadcast only - UUID, Major, Minor
• Geofence, Passbook
Friday, October 18, 13
Development Tools
• TI CC2541 Sensor Tag
• BlueGiga BGScript and API
• Nordic nRF51922 with Cortex M0
• RadiusNetworks Android iBeacons SDK
Friday, October 18, 13
Questions?

Friday, October 18, 13

Más contenido relacionado

La actualidad más candente

Introduction to Bluetooth Low Energy
Introduction to Bluetooth Low EnergyIntroduction to Bluetooth Low Energy
Introduction to Bluetooth Low Energyyeokm1
 
Android Gadgets, Bluetooth Low Energy, and the WunderBar
Android Gadgets, Bluetooth Low Energy, and the WunderBarAndroid Gadgets, Bluetooth Low Energy, and the WunderBar
Android Gadgets, Bluetooth Low Energy, and the WunderBarrelayr
 
Bluetooth LE Button
Bluetooth LE ButtonBluetooth LE Button
Bluetooth LE Buttondongbuluo
 
Bluetooth & Bluetooth Low Energy internals
Bluetooth & Bluetooth Low Energy internalsBluetooth & Bluetooth Low Energy internals
Bluetooth & Bluetooth Low Energy internalsDavy Jacops
 
Practical Core Bluetooth in IoT & Wearable projects @ UIKonf 2016
Practical Core Bluetooth in IoT & Wearable projects @ UIKonf 2016Practical Core Bluetooth in IoT & Wearable projects @ UIKonf 2016
Practical Core Bluetooth in IoT & Wearable projects @ UIKonf 2016Shuichi Tsutsumi
 
Boards for the IoT-Prototyping
Boards for the IoT-PrototypingBoards for the IoT-Prototyping
Boards for the IoT-PrototypingLars Gregori
 
Softimize - Connecting Devices to Gateways
Softimize - Connecting Devices to GatewaysSoftimize - Connecting Devices to Gateways
Softimize - Connecting Devices to GatewaysYael Malki
 
Practical Core Bluetooth in IoT & Wearable projects @ AltConf 2016
Practical Core Bluetooth in IoT & Wearable projects @ AltConf 2016Practical Core Bluetooth in IoT & Wearable projects @ AltConf 2016
Practical Core Bluetooth in IoT & Wearable projects @ AltConf 2016Shuichi Tsutsumi
 
Pavel stessin - building and selecting hardware for connected devices
Pavel stessin - building and selecting hardware for connected devicesPavel stessin - building and selecting hardware for connected devices
Pavel stessin - building and selecting hardware for connected devicesYael Malki
 
IoT Getting Started with Intel® IoT Devkit
IoT Getting Started with Intel® IoT DevkitIoT Getting Started with Intel® IoT Devkit
IoT Getting Started with Intel® IoT DevkitVasily Ryzhonkov
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Codemotion
 
The MRAA and UPM Middleware Libraries
The MRAA and UPM Middleware LibrariesThe MRAA and UPM Middleware Libraries
The MRAA and UPM Middleware LibrariesIntel® Software
 
Ble boise codecamp
Ble boise codecampBle boise codecamp
Ble boise codecampChip Keyes
 
Ip interfaces by faststream technologies
Ip interfaces by faststream technologiesIp interfaces by faststream technologies
Ip interfaces by faststream technologiesVishalMalhotra58
 
Got Python I/O: IoT Develoment in Python via GPIO
Got Python I/O: IoT Develoment in Python via GPIOGot Python I/O: IoT Develoment in Python via GPIO
Got Python I/O: IoT Develoment in Python via GPIOAdam Englander
 

La actualidad más candente (20)

Introduction to Bluetooth Low Energy
Introduction to Bluetooth Low EnergyIntroduction to Bluetooth Low Energy
Introduction to Bluetooth Low Energy
 
Android Gadgets, Bluetooth Low Energy, and the WunderBar
Android Gadgets, Bluetooth Low Energy, and the WunderBarAndroid Gadgets, Bluetooth Low Energy, and the WunderBar
Android Gadgets, Bluetooth Low Energy, and the WunderBar
 
Bluetooth LE Button
Bluetooth LE ButtonBluetooth LE Button
Bluetooth LE Button
 
Bluetooth & Bluetooth Low Energy internals
Bluetooth & Bluetooth Low Energy internalsBluetooth & Bluetooth Low Energy internals
Bluetooth & Bluetooth Low Energy internals
 
Practical Core Bluetooth in IoT & Wearable projects @ UIKonf 2016
Practical Core Bluetooth in IoT & Wearable projects @ UIKonf 2016Practical Core Bluetooth in IoT & Wearable projects @ UIKonf 2016
Practical Core Bluetooth in IoT & Wearable projects @ UIKonf 2016
 
BLE短講
BLE短講BLE短講
BLE短講
 
Boards for the IoT-Prototyping
Boards for the IoT-PrototypingBoards for the IoT-Prototyping
Boards for the IoT-Prototyping
 
Softimize - Connecting Devices to Gateways
Softimize - Connecting Devices to GatewaysSoftimize - Connecting Devices to Gateways
Softimize - Connecting Devices to Gateways
 
Intel Curie Presentation
Intel Curie PresentationIntel Curie Presentation
Intel Curie Presentation
 
Practical Core Bluetooth in IoT & Wearable projects @ AltConf 2016
Practical Core Bluetooth in IoT & Wearable projects @ AltConf 2016Practical Core Bluetooth in IoT & Wearable projects @ AltConf 2016
Practical Core Bluetooth in IoT & Wearable projects @ AltConf 2016
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Pavel stessin - building and selecting hardware for connected devices
Pavel stessin - building and selecting hardware for connected devicesPavel stessin - building and selecting hardware for connected devices
Pavel stessin - building and selecting hardware for connected devices
 
IoT Getting Started with Intel® IoT Devkit
IoT Getting Started with Intel® IoT DevkitIoT Getting Started with Intel® IoT Devkit
IoT Getting Started with Intel® IoT Devkit
 
SoC Design
SoC DesignSoC Design
SoC Design
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
 
The MRAA and UPM Middleware Libraries
The MRAA and UPM Middleware LibrariesThe MRAA and UPM Middleware Libraries
The MRAA and UPM Middleware Libraries
 
Ble boise codecamp
Ble boise codecampBle boise codecamp
Ble boise codecamp
 
Ip interfaces by faststream technologies
Ip interfaces by faststream technologiesIp interfaces by faststream technologies
Ip interfaces by faststream technologies
 
Got Python I/O: IoT Develoment in Python via GPIO
Got Python I/O: IoT Develoment in Python via GPIOGot Python I/O: IoT Develoment in Python via GPIO
Got Python I/O: IoT Develoment in Python via GPIO
 

Destacado

Prezentace pro Učitel In 2016
Prezentace pro Učitel In 2016Prezentace pro Učitel In 2016
Prezentace pro Učitel In 2016Martin Maly
 
STM32JAVA EMBEDDED PLATFORMS FOR STM32 MCUS
STM32JAVA EMBEDDED PLATFORMS FOR STM32 MCUSSTM32JAVA EMBEDDED PLATFORMS FOR STM32 MCUS
STM32JAVA EMBEDDED PLATFORMS FOR STM32 MCUScmorineau
 
Real practice of Networking design on specialized for ARM Cortex-M
Real practice of Networking design on specialized for ARM Cortex-MReal practice of Networking design on specialized for ARM Cortex-M
Real practice of Networking design on specialized for ARM Cortex-MBenux Wei
 
Track 1 session 8 - st dev con 2016 - smart factories
Track 1   session 8 - st dev con 2016 -  smart factoriesTrack 1   session 8 - st dev con 2016 -  smart factories
Track 1 session 8 - st dev con 2016 - smart factoriesST_World
 
Let's Play STM32
Let's Play STM32Let's Play STM32
Let's Play STM32Jay Chen
 
Stellaris® 9000 Family of ARM® Cortex™-M3
Stellaris® 9000 Family of ARM® Cortex™-M3 Stellaris® 9000 Family of ARM® Cortex™-M3
Stellaris® 9000 Family of ARM® Cortex™-M3 Premier Farnell
 
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC 1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC IEEE SSCS AlexSC
 
Track 1 session 3 - st dev con 2016 - smart home and building
Track 1   session 3 - st dev con 2016 - smart home and buildingTrack 1   session 3 - st dev con 2016 - smart home and building
Track 1 session 3 - st dev con 2016 - smart home and buildingST_World
 
Track 1 session 7 - st dev con 2016 - smart cities
Track 1   session 7 - st dev con 2016 - smart citiesTrack 1   session 7 - st dev con 2016 - smart cities
Track 1 session 7 - st dev con 2016 - smart citiesST_World
 
Study on 32-bit Cortex - M3 Powered MCU: STM32F101
Study on 32-bit Cortex - M3 Powered MCU: STM32F101Study on 32-bit Cortex - M3 Powered MCU: STM32F101
Study on 32-bit Cortex - M3 Powered MCU: STM32F101Premier Farnell
 
Track 5 session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
Track 5   session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...Track 5   session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
Track 5 session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...ST_World
 
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC 02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC IEEE SSCS AlexSC
 
Arm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_modelArm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_modelGanesh Naik
 
Track 4 session 8 - st dev con 2016 - time of flight
Track 4   session 8 - st dev con 2016 - time of flightTrack 4   session 8 - st dev con 2016 - time of flight
Track 4 session 8 - st dev con 2016 - time of flightST_World
 
Track 3 session 4 - st dev con 2016 - sensortile
Track 3   session 4 - st dev con 2016 - sensortileTrack 3   session 4 - st dev con 2016 - sensortile
Track 3 session 4 - st dev con 2016 - sensortileST_World
 
Track 2 session 1 - st dev con 2016 - avnet - making things real
Track 2   session 1 - st dev con 2016 - avnet - making things realTrack 2   session 1 - st dev con 2016 - avnet - making things real
Track 2 session 1 - st dev con 2016 - avnet - making things realST_World
 

Destacado (20)

Prezentace pro Učitel In 2016
Prezentace pro Učitel In 2016Prezentace pro Učitel In 2016
Prezentace pro Učitel In 2016
 
STM32JAVA EMBEDDED PLATFORMS FOR STM32 MCUS
STM32JAVA EMBEDDED PLATFORMS FOR STM32 MCUSSTM32JAVA EMBEDDED PLATFORMS FOR STM32 MCUS
STM32JAVA EMBEDDED PLATFORMS FOR STM32 MCUS
 
STM32 L4 presentation
STM32 L4 presentation STM32 L4 presentation
STM32 L4 presentation
 
Real practice of Networking design on specialized for ARM Cortex-M
Real practice of Networking design on specialized for ARM Cortex-MReal practice of Networking design on specialized for ARM Cortex-M
Real practice of Networking design on specialized for ARM Cortex-M
 
Track 1 session 8 - st dev con 2016 - smart factories
Track 1   session 8 - st dev con 2016 -  smart factoriesTrack 1   session 8 - st dev con 2016 -  smart factories
Track 1 session 8 - st dev con 2016 - smart factories
 
STM32 MCU Family
STM32 MCU FamilySTM32 MCU Family
STM32 MCU Family
 
Let's Play STM32
Let's Play STM32Let's Play STM32
Let's Play STM32
 
Stellaris® 9000 Family of ARM® Cortex™-M3
Stellaris® 9000 Family of ARM® Cortex™-M3 Stellaris® 9000 Family of ARM® Cortex™-M3
Stellaris® 9000 Family of ARM® Cortex™-M3
 
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC 1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
1: Interfacing using ARM Cortex M4 || IEEE SSCS AlexSC
 
Track 1 session 3 - st dev con 2016 - smart home and building
Track 1   session 3 - st dev con 2016 - smart home and buildingTrack 1   session 3 - st dev con 2016 - smart home and building
Track 1 session 3 - st dev con 2016 - smart home and building
 
Track 1 session 7 - st dev con 2016 - smart cities
Track 1   session 7 - st dev con 2016 - smart citiesTrack 1   session 7 - st dev con 2016 - smart cities
Track 1 session 7 - st dev con 2016 - smart cities
 
Study on 32-bit Cortex - M3 Powered MCU: STM32F101
Study on 32-bit Cortex - M3 Powered MCU: STM32F101Study on 32-bit Cortex - M3 Powered MCU: STM32F101
Study on 32-bit Cortex - M3 Powered MCU: STM32F101
 
Track 5 session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
Track 5   session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...Track 5   session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
Track 5 session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
 
Introduction to stm32-part2
Introduction to stm32-part2Introduction to stm32-part2
Introduction to stm32-part2
 
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC 02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
02 : ARM Cortex M4 Specs || IEEE SSCS AlexSC
 
Arm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_modelArm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_model
 
Track 4 session 8 - st dev con 2016 - time of flight
Track 4   session 8 - st dev con 2016 - time of flightTrack 4   session 8 - st dev con 2016 - time of flight
Track 4 session 8 - st dev con 2016 - time of flight
 
Introduction to stm32-part1
Introduction to stm32-part1Introduction to stm32-part1
Introduction to stm32-part1
 
Track 3 session 4 - st dev con 2016 - sensortile
Track 3   session 4 - st dev con 2016 - sensortileTrack 3   session 4 - st dev con 2016 - sensortile
Track 3 session 4 - st dev con 2016 - sensortile
 
Track 2 session 1 - st dev con 2016 - avnet - making things real
Track 2   session 1 - st dev con 2016 - avnet - making things realTrack 2   session 1 - st dev con 2016 - avnet - making things real
Track 2 session 1 - st dev con 2016 - avnet - making things real
 

Similar a Bluetooth Low Energy Unveiled

Core Bluetooth and BLE 101
Core Bluetooth and BLE 101Core Bluetooth and BLE 101
Core Bluetooth and BLE 101Li Lin
 
SV iOS Meetup Slides: YmsCoreBluetooth and Deep Core Bluetooth
SV iOS Meetup Slides: YmsCoreBluetooth and Deep Core BluetoothSV iOS Meetup Slides: YmsCoreBluetooth and Deep Core Bluetooth
SV iOS Meetup Slides: YmsCoreBluetooth and Deep Core BluetoothCharles Y. Choi
 
Bluetooth low energy- Kashyap Velpuru
Bluetooth low energy- Kashyap VelpuruBluetooth low energy- Kashyap Velpuru
Bluetooth low energy- Kashyap Velpurukashyap velpuru
 
Data to Go: Mobile API Design (SXSW)
Data to Go: Mobile API Design (SXSW)Data to Go: Mobile API Design (SXSW)
Data to Go: Mobile API Design (SXSW)Chuck Greb
 
Power Apps Deep Dive - Munchen 2019
Power Apps Deep Dive - Munchen 2019Power Apps Deep Dive - Munchen 2019
Power Apps Deep Dive - Munchen 2019Timo Pertilä
 
Machine Learning in Real-Time
Machine Learning in Real-TimeMachine Learning in Real-Time
Machine Learning in Real-TimeAlex Combessie
 
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3Adam Dunkels
 
Developing Rich Internet Applications with Perl and JavaScript
Developing Rich Internet Applications with Perl and JavaScriptDeveloping Rich Internet Applications with Perl and JavaScript
Developing Rich Internet Applications with Perl and JavaScriptnohuhu
 
IoT interoperability
IoT interoperabilityIoT interoperability
IoT interoperability1248 Ltd.
 
FIWARE Tech Summit - FIWARE IoT Agents
FIWARE Tech Summit - FIWARE IoT AgentsFIWARE Tech Summit - FIWARE IoT Agents
FIWARE Tech Summit - FIWARE IoT AgentsFIWARE
 
Attacking and defending GraphQL applications: a hands-on approach
 Attacking and defending GraphQL applications: a hands-on approach Attacking and defending GraphQL applications: a hands-on approach
Attacking and defending GraphQL applications: a hands-on approachDavide Cioccia
 
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...NGINX, Inc.
 
PowerApps Deep Dive
PowerApps Deep Dive PowerApps Deep Dive
PowerApps Deep Dive Timo Pertilä
 
An emulation framework for IoT, Fog, and Edge Applications
An emulation framework for IoT, Fog, and Edge ApplicationsAn emulation framework for IoT, Fog, and Edge Applications
An emulation framework for IoT, Fog, and Edge ApplicationsMoysisSymeonides
 
Android Application Optimization: Overview and Tools - Oref Barad, AVG
Android Application Optimization: Overview and Tools - Oref Barad, AVGAndroid Application Optimization: Overview and Tools - Oref Barad, AVG
Android Application Optimization: Overview and Tools - Oref Barad, AVGDroidConTLV
 
Deep Dive: Strategic Importance of BaaS
Deep Dive: Strategic Importance of BaaSDeep Dive: Strategic Importance of BaaS
Deep Dive: Strategic Importance of BaaSApigee | Google Cloud
 
Uni w pachube 111108
Uni w pachube 111108Uni w pachube 111108
Uni w pachube 111108Paul Tanner
 

Similar a Bluetooth Low Energy Unveiled (20)

Core Bluetooth and BLE 101
Core Bluetooth and BLE 101Core Bluetooth and BLE 101
Core Bluetooth and BLE 101
 
SV iOS Meetup Slides: YmsCoreBluetooth and Deep Core Bluetooth
SV iOS Meetup Slides: YmsCoreBluetooth and Deep Core BluetoothSV iOS Meetup Slides: YmsCoreBluetooth and Deep Core Bluetooth
SV iOS Meetup Slides: YmsCoreBluetooth and Deep Core Bluetooth
 
Bluetooth low energy- Kashyap Velpuru
Bluetooth low energy- Kashyap VelpuruBluetooth low energy- Kashyap Velpuru
Bluetooth low energy- Kashyap Velpuru
 
Data to Go: Mobile API Design (SXSW)
Data to Go: Mobile API Design (SXSW)Data to Go: Mobile API Design (SXSW)
Data to Go: Mobile API Design (SXSW)
 
Core Context Management
Core Context ManagementCore Context Management
Core Context Management
 
Power Apps Deep Dive - Munchen 2019
Power Apps Deep Dive - Munchen 2019Power Apps Deep Dive - Munchen 2019
Power Apps Deep Dive - Munchen 2019
 
Machine Learning in Real-Time
Machine Learning in Real-TimeMachine Learning in Real-Time
Machine Learning in Real-Time
 
FIWARE IoT Introduction 1
FIWARE IoT Introduction 1FIWARE IoT Introduction 1
FIWARE IoT Introduction 1
 
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
 
Developing Rich Internet Applications with Perl and JavaScript
Developing Rich Internet Applications with Perl and JavaScriptDeveloping Rich Internet Applications with Perl and JavaScript
Developing Rich Internet Applications with Perl and JavaScript
 
IoT interoperability
IoT interoperabilityIoT interoperability
IoT interoperability
 
FIWARE Tech Summit - FIWARE IoT Agents
FIWARE Tech Summit - FIWARE IoT AgentsFIWARE Tech Summit - FIWARE IoT Agents
FIWARE Tech Summit - FIWARE IoT Agents
 
Core Bluetooth on iOS
Core Bluetooth on iOSCore Bluetooth on iOS
Core Bluetooth on iOS
 
Attacking and defending GraphQL applications: a hands-on approach
 Attacking and defending GraphQL applications: a hands-on approach Attacking and defending GraphQL applications: a hands-on approach
Attacking and defending GraphQL applications: a hands-on approach
 
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
Session: A Reference Architecture for Running Modern APIs with NGINX Unit and...
 
PowerApps Deep Dive
PowerApps Deep Dive PowerApps Deep Dive
PowerApps Deep Dive
 
An emulation framework for IoT, Fog, and Edge Applications
An emulation framework for IoT, Fog, and Edge ApplicationsAn emulation framework for IoT, Fog, and Edge Applications
An emulation framework for IoT, Fog, and Edge Applications
 
Android Application Optimization: Overview and Tools - Oref Barad, AVG
Android Application Optimization: Overview and Tools - Oref Barad, AVGAndroid Application Optimization: Overview and Tools - Oref Barad, AVG
Android Application Optimization: Overview and Tools - Oref Barad, AVG
 
Deep Dive: Strategic Importance of BaaS
Deep Dive: Strategic Importance of BaaSDeep Dive: Strategic Importance of BaaS
Deep Dive: Strategic Importance of BaaS
 
Uni w pachube 111108
Uni w pachube 111108Uni w pachube 111108
Uni w pachube 111108
 

Último

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
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
 
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
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
[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
 
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
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 

Último (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
[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
 
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
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 

Bluetooth Low Energy Unveiled

  • 1. Bluetooth Low Energy Uncovered Gabe Gindele @barbazoo Friday, October 18, 13
  • 2. Tech Overview • “A Better Bluetooth” - Power and Cost • 4.0 - Single and Dual Mode • 3 Advertising, 37 Data Channels • Advertiser vs. Scanner • Master vs. Slave Friday, October 18, 13
  • 3. Classic vs. Low Energy • 100mW vs. 10mW power • Connection Oriented vs. Connectionless • Streaming Data vs. Small Data Bursts • HCI API stays intact Friday, October 18, 13
  • 4. Tech Overview Cont. Total Transaction Time: 3ms Friday, October 18, 13
  • 5. Apple and Bluetooth LE • First to Introduce • iPhone 4S, MBA, Mac Mini since 2011 • WWDC 2012 Sessions • All Products Today - Apple TV • Classic remains under MFA • Opens new era of Sensors and IOT Friday, October 18, 13
  • 6. Devices Today • Fitbit Flex • Heart Rate monitors • SmartWatches • Proximity • iBeacons • Sensors Friday, October 18, 13
  • 7. GATT • Service • Characteristic • Value • Descriptors • Notifications • APIs are Asynchronous Friday, October 18, 13
  • 8. iOS: Discovery central  =  [[CBCentralManagernager  alloc]   initWithDelegate:self  queue:nil]; [central  scanForPeripheralsWithServices:nil  options:nil]; -­‐  (void)centralManager:(CBCentralManager  *)central     didDiscoverPeripheral:(CBPeripheral  *)peripheral   advertisementData:(NSDictionary  *)advertisementData   RSSI:(NSNumber  *)RSSI  {} [myCentralManager  stopScan]; Friday, October 18, 13
  • 9. iOS: Connection [myCentralManager  connectPeripheral:peripheral  options:nil]; -­‐  (void)centralManager:(CBCentralManager  *)central   didConnectPeripheral:(CBPeripheral  *)peripheral  {} peripheral.delegate  =  self; [peripheral  discoverServices:nil]; [peripheral  discoverCharacteristics:nil    forService:...]; [peripheral  readValueForCharacteristic:...]; [peripheral  setNotifyValue:YES  forCharacteristic:...; [peripheral  writeValue:...  type:CBCharacteristicWriteWithResponse] Friday, October 18, 13
  • 10. Android: BluetoothGatt • Since 4.3 - API 18 - Most of new devices • A new profile • GATT Server is missing Friday, October 18, 13
  • 11. Android: Discovery mBluetoothAdapter.startLeScan(mLeScanCallback);   public  void  onLeScan(final  BluetoothDevice  device,  int   rssi,  byte[]  scanRecord)  {}; mBluetoothAdapter.stopLeScan(mLeScanCallback); Friday, October 18, 13
  • 12. Android: Connection BluetoothGatt  mBtGatt  =  device.connectGatt(...  callback); BluetoothGattCallback  callback  =  new  BluetoothGattCallback()  { public  void  onConnectionStateChange(...)  {} public  void  onServicesDiscovered(...)  {} public  void  onCharacteristicRead(...)  {} public  void  onCharacteristicChanged(...)  {} }; mBtGatt.setCharacteristicNotification(characteristic,  enabled); onCharacteristicChanged(BluetoothGatt  gatt,     BluetoothGattCharacteristic)  {} Friday, October 18, 13
  • 13. iBeacon • Best Kept Secret of iOS7 • Micro Locations Made Simple • API extends CoreLocation - CLBeacon • Broadcast only - UUID, Major, Minor • Geofence, Passbook Friday, October 18, 13
  • 14. Development Tools • TI CC2541 Sensor Tag • BlueGiga BGScript and API • Nordic nRF51922 with Cortex M0 • RadiusNetworks Android iBeacons SDK Friday, October 18, 13