SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
Android Gadgets, 
Bluetooth Low Energy, 
and the
Gadgets: From Wired... 
USB peripherals are no good 
● No brand-to-brand standard protocols 
● Bad hardware, yucky APIs 
● No consistent form factor 
● Cords are the worst
...To Wireless 
Bluetooth Classic 
● AKA: The Reason Your Phone’s 
Battery Lasts For 2 Hours 
● High throughput data streaming 
● Wireless audio, video, etc 
● Many protocols 
Bluetooth Smart™ 
● AKA: Bluetooth Low Energy 
● ...Lower energy 
● Low throughput / periodic data 
transfer 
● Sensors, beacons, Internet of 
Things, etc 
● One general protocol
The BLE Stack 
GATT 
L2CAP 
Link Layer 
Physical (Single/Dual)
The GATT Protocol 
Characteristic 
Attribute 
Attribute 
Heart Rate 
BPM 
Transmit Rate
The GATT Protocol 
Service 
Characteristic 
Attribute 
Attribute 
Characteristic 
Heart Rate Monitoring 
Heart Rate 
Location on Body
Peripheral 
The GATT Protocol 
Service 
Attribute 
Attribute 
Characteristic 
Service 
Cardiac Health Device 
Heart Rate 
Blood Pressure 
Characteristic
The GATT Protocol 
Server Client 
Peripheral 
Service 
Characteristic 
Characteristic 
Service 
Read/Write/Sub 
Respond/Push 
Attribute 
Attribute
Connecting 
Slave Master 
Advertise 
1 2 
Scan 
Connect and Subscribe 3 
4 Push New Data
Numbers 
● Operates on 2.4 MHz band 
○ Same as WiFi, Bluetooth Classic 
● No protocol limit on number of connections 
○ Only limited by hardware / software stack
Examples
How do I make cool things with BLE?
Your starter kit for the Internet of Things!
Hardware
Look: No Hands! 
Sensor 
Data 
BLE 
Android 
Device 
Master 
Module 
relayr 
Cloud
Real-World Applications
CODE (finally)! 
InsulinAngel Code and BLE best practices
Demo: InsulinAngel
BLE is… Temperamental 
● Issues reconnecting to device 
○ Solution: reset the stack if a problem 
● Different device-to-device quality 
○ Solution: thorough testing / set user expectations
Security 
● Data transfer is encrypted / jumps channels 
● Initial connection packets are UNENCRYPTED 
● Take great care with sensitive data
Contact 
Peter Dwersteg 
peter@relayr.io 
@relayr_cloud 
GATT Protocol: http://bit.ly/1yW8Bn3 
Security Concerns: http://bitly.com/1sycM4G

Weitere ähnliche Inhalte

Was ist angesagt?

Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
Dhruwank Vankawala
 

Was ist angesagt? (20)

BLE Talk
BLE TalkBLE Talk
BLE Talk
 
A Brief Introduction to Bluetooth Low Energy (BLE) on iOS
A Brief Introduction to Bluetooth Low Energy (BLE) on iOSA Brief Introduction to Bluetooth Low Energy (BLE) on iOS
A Brief Introduction to Bluetooth Low Energy (BLE) on iOS
 
Bluetooth Low Energy Unveiled
Bluetooth Low Energy UnveiledBluetooth Low Energy Unveiled
Bluetooth Low Energy Unveiled
 
Core Bluetooth and BLE 101
Core Bluetooth and BLE 101Core Bluetooth and BLE 101
Core Bluetooth and BLE 101
 
LST Vocoder EPK
LST Vocoder EPKLST Vocoder EPK
LST Vocoder EPK
 
Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsArduino embedded systems and advanced robotics
Arduino embedded systems and advanced robotics
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Getting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer KitGetting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer Kit
 
Attendance System using ESP8266(Wi-Fi) with MySQL
Attendance System using ESP8266(Wi-Fi) with MySQLAttendance System using ESP8266(Wi-Fi) with MySQL
Attendance System using ESP8266(Wi-Fi) with MySQL
 
Arduino & NodeMcu
Arduino & NodeMcuArduino & NodeMcu
Arduino & NodeMcu
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
 
Choosing the right processor for embedded system design
Choosing the right processor for embedded system designChoosing the right processor for embedded system design
Choosing the right processor for embedded system design
 
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
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
 
Introduction to Arduino Microcontroller
Introduction to Arduino MicrocontrollerIntroduction to Arduino Microcontroller
Introduction to Arduino Microcontroller
 
Lcd with arduino uno
Lcd with arduino unoLcd with arduino uno
Lcd with arduino uno
 
OV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerOV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontroller
 
Bl r8188 rx6-specification-www.ttbvs.com
Bl r8188 rx6-specification-www.ttbvs.comBl r8188 rx6-specification-www.ttbvs.com
Bl r8188 rx6-specification-www.ttbvs.com
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
 
Embedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerEmbedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontroller
 

Andere mochten auch

Android audio system(audioflinger)
Android audio system(audioflinger)Android audio system(audioflinger)
Android audio system(audioflinger)
fefe7270
 
Android audio system(audio_hardwareinterace)
Android audio system(audio_hardwareinterace)Android audio system(audio_hardwareinterace)
Android audio system(audio_hardwareinterace)
fefe7270
 

Andere mochten auch (12)

Wearable Device (Bluetooth Low Energy BLE ) connect with Android
Wearable Device (Bluetooth Low Energy BLE ) connect with  AndroidWearable Device (Bluetooth Low Energy BLE ) connect with  Android
Wearable Device (Bluetooth Low Energy BLE ) connect with Android
 
Bluetooth Controlled High Power Audio Amplifier- Final Presentaion
Bluetooth Controlled High Power Audio Amplifier- Final PresentaionBluetooth Controlled High Power Audio Amplifier- Final Presentaion
Bluetooth Controlled High Power Audio Amplifier- Final Presentaion
 
About BLE server profile
About BLE server profile About BLE server profile
About BLE server profile
 
Android bluetooth
Android bluetoothAndroid bluetooth
Android bluetooth
 
Android audio system(audioflinger)
Android audio system(audioflinger)Android audio system(audioflinger)
Android audio system(audioflinger)
 
Advantages and limitations of PhoneGap for sensor processing
Advantages and limitations of PhoneGap for sensor processingAdvantages and limitations of PhoneGap for sensor processing
Advantages and limitations of PhoneGap for sensor processing
 
AudioとガジェットをWebで遊ぶ - Web Audio/MIDI Web Bluetooth -
AudioとガジェットをWebで遊ぶ - Web Audio/MIDI Web Bluetooth -AudioとガジェットをWebで遊ぶ - Web Audio/MIDI Web Bluetooth -
AudioとガジェットをWebで遊ぶ - Web Audio/MIDI Web Bluetooth -
 
Connect your Android to the real world with Bluetooth Low Energy
Connect your Android to the real world with Bluetooth Low EnergyConnect your Android to the real world with Bluetooth Low Energy
Connect your Android to the real world with Bluetooth Low Energy
 
Motion recognition with Android devices
Motion recognition with Android devicesMotion recognition with Android devices
Motion recognition with Android devices
 
Sensor fusion between car and smartphone
Sensor fusion between car and smartphoneSensor fusion between car and smartphone
Sensor fusion between car and smartphone
 
Android Audio System
Android Audio SystemAndroid Audio System
Android Audio System
 
Android audio system(audio_hardwareinterace)
Android audio system(audio_hardwareinterace)Android audio system(audio_hardwareinterace)
Android audio system(audio_hardwareinterace)
 

Ähnlich wie Android Gadgets, Bluetooth Low Energy, and the WunderBar

Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
Naruin
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
Kyle
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
ekul
 
R K 2 Bluetooth Technologies
R K 2  Bluetooth  TechnologiesR K 2  Bluetooth  Technologies
R K 2 Bluetooth Technologies
Saurav Kumar
 

Ähnlich wie Android Gadgets, Bluetooth Low Energy, and the WunderBar (20)

Bluetooth technology introduction and ecosystem
Bluetooth technology introduction and ecosystem Bluetooth technology introduction and ecosystem
Bluetooth technology introduction and ecosystem
 
book-ch04-5(BLE).ppt
book-ch04-5(BLE).pptbook-ch04-5(BLE).ppt
book-ch04-5(BLE).ppt
 
Bluetooth 4.0 specification
Bluetooth 4.0 specificationBluetooth 4.0 specification
Bluetooth 4.0 specification
 
Undestanding Bluetooth
Undestanding BluetoothUndestanding Bluetooth
Undestanding Bluetooth
 
Internet of things, lafayette tech
Internet of things, lafayette techInternet of things, lafayette tech
Internet of things, lafayette tech
 
Bluetooth security
Bluetooth securityBluetooth security
Bluetooth security
 
Wireless usb
Wireless usbWireless usb
Wireless usb
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
How to use Bluetooth® Smart to control your embedded device with a mobile device
How to use Bluetooth® Smart to control your embedded device with a mobile deviceHow to use Bluetooth® Smart to control your embedded device with a mobile device
How to use Bluetooth® Smart to control your embedded device with a mobile device
 
Baking a Raspberry PI with Chef Rob
Baking a Raspberry PI with Chef RobBaking a Raspberry PI with Chef Rob
Baking a Raspberry PI with Chef Rob
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
 
It training dsf 2015
It training   dsf 2015It training   dsf 2015
It training dsf 2015
 
R K 2 Bluetooth Technologies
R K 2  Bluetooth  TechnologiesR K 2  Bluetooth  Technologies
R K 2 Bluetooth Technologies
 
THAT_2023_BLE.pdf
THAT_2023_BLE.pdfTHAT_2023_BLE.pdf
THAT_2023_BLE.pdf
 
Overview of Bluetooth technology
Overview of Bluetooth technologyOverview of Bluetooth technology
Overview of Bluetooth technology
 
CISSP Week 7
CISSP Week 7CISSP Week 7
CISSP Week 7
 
Archos Android based connected home solution - DroidCon Paris 2014
Archos Android based connected home solution - DroidCon Paris 2014Archos Android based connected home solution - DroidCon Paris 2014
Archos Android based connected home solution - DroidCon Paris 2014
 
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
 

Mehr von relayr (7)

Developing apps for the physical world
Developing apps for the  physical worldDeveloping apps for the  physical world
Developing apps for the physical world
 
Building Top-Notch Androids SDKs
Building Top-Notch Androids SDKsBuilding Top-Notch Androids SDKs
Building Top-Notch Androids SDKs
 
Developing Hardware: APIs for the physical world
Developing Hardware: APIs for the physical worldDeveloping Hardware: APIs for the physical world
Developing Hardware: APIs for the physical world
 
relayr presents WunderBar at CloudCamp London
relayr presents WunderBar at CloudCamp Londonrelayr presents WunderBar at CloudCamp London
relayr presents WunderBar at CloudCamp London
 
Glimworm 21-11-2013
Glimworm 21-11-2013Glimworm 21-11-2013
Glimworm 21-11-2013
 
relayr: connect to the Internet of Things
relayr: connect to the Internet of Thingsrelayr: connect to the Internet of Things
relayr: connect to the Internet of Things
 
relayr: Internet of Things Background and Trends
relayr: Internet of Things Background and Trendsrelayr: Internet of Things Background and Trends
relayr: Internet of Things Background and Trends
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Android Gadgets, Bluetooth Low Energy, and the WunderBar

  • 1. Android Gadgets, Bluetooth Low Energy, and the
  • 2. Gadgets: From Wired... USB peripherals are no good ● No brand-to-brand standard protocols ● Bad hardware, yucky APIs ● No consistent form factor ● Cords are the worst
  • 3. ...To Wireless Bluetooth Classic ● AKA: The Reason Your Phone’s Battery Lasts For 2 Hours ● High throughput data streaming ● Wireless audio, video, etc ● Many protocols Bluetooth Smart™ ● AKA: Bluetooth Low Energy ● ...Lower energy ● Low throughput / periodic data transfer ● Sensors, beacons, Internet of Things, etc ● One general protocol
  • 4. The BLE Stack GATT L2CAP Link Layer Physical (Single/Dual)
  • 5. The GATT Protocol Characteristic Attribute Attribute Heart Rate BPM Transmit Rate
  • 6. The GATT Protocol Service Characteristic Attribute Attribute Characteristic Heart Rate Monitoring Heart Rate Location on Body
  • 7. Peripheral The GATT Protocol Service Attribute Attribute Characteristic Service Cardiac Health Device Heart Rate Blood Pressure Characteristic
  • 8. The GATT Protocol Server Client Peripheral Service Characteristic Characteristic Service Read/Write/Sub Respond/Push Attribute Attribute
  • 9. Connecting Slave Master Advertise 1 2 Scan Connect and Subscribe 3 4 Push New Data
  • 10. Numbers ● Operates on 2.4 MHz band ○ Same as WiFi, Bluetooth Classic ● No protocol limit on number of connections ○ Only limited by hardware / software stack
  • 12. How do I make cool things with BLE?
  • 13. Your starter kit for the Internet of Things!
  • 15. Look: No Hands! Sensor Data BLE Android Device Master Module relayr Cloud
  • 17. CODE (finally)! InsulinAngel Code and BLE best practices
  • 19. BLE is… Temperamental ● Issues reconnecting to device ○ Solution: reset the stack if a problem ● Different device-to-device quality ○ Solution: thorough testing / set user expectations
  • 20. Security ● Data transfer is encrypted / jumps channels ● Initial connection packets are UNENCRYPTED ● Take great care with sensitive data
  • 21. Contact Peter Dwersteg peter@relayr.io @relayr_cloud GATT Protocol: http://bit.ly/1yW8Bn3 Security Concerns: http://bitly.com/1sycM4G