SlideShare a Scribd company logo
1 of 18
Download to read offline
London Bluetooth
Hardware Developers
Sponsored by
Venue
#LBTHD
 .IDEAL
“Apple iBeacon Technology Overview”

Vladimir Petrov @VladPetroff
🍕🍩🍻💬 🍕🍩🍻💬 🍕🍩🍻💬
“Deploying beacons in a retail environment”

Tim Woolford @tim_woolford
“Introduction to Avnet and Bluegiga BLE121LR”

Alastair Worth @wirelessworthy
🍻	 Blueberry Bar, across the road
#LBTHD
“Building a BT 4.0 LE HID device”

Nick Brook @nrbrook
 .IDEAL
#LBTHD .IDEAL
“Building a BT 4.0 LE HID device”

Nick Brook @nrbrook
#LBTHD
• Bluetooth foot pedal
• Supports up to 4 pedals
• Used primarily with music display Apps, turning pages
 .IDEAL
AirTurn BT-105
#LBTHD
• Bluetooth 2.1
• HID device — Bluetooth keyboard
• iOS
• Doesn’t provide access to key events (directly, <7)
• Hides the virtual keyboard
• Requires hacks
 .IDEAL
AirTurn BT-105
#LBTHD
• Provides direct access to Bluetooth 4 LE devices
• Introduced iOS 5
• Good device support
 .IDEAL
CoreBluetooth
#LBTHD
• AKA “Bluetooth Smart”
• Entirely new protocol stack (vs Bluetooth “Classic”)
• Peripheral (Server) advertises services
• Central (Client) scans and connects to devices
 .IDEAL
Bluetooth 4 LE
#LBTHD .IDEAL
Bluetooth 4 LE
#LBTHD
• 31 byte advertising packet + scan response
• GATT Database
• Services
• Characteristics (key -> value store)
• Up to 512 bytes
• Read, write, notify
 .IDEAL
Bluetooth 4 LE
#LBTHD
• Some services defined by Bluetooth SIG, e.g.
• Human Interface Device
• Device Information
• Battery
• You can define your own services
 .IDEAL
Bluetooth 4 LE
#LBTHD
• Simple
• Quick to learn
• Can achieve a lot
• Some oddities
 .IDEAL
Bluetooth 4 LE
BLUETOOTH SPECIFICATION Version 4.0 [Vol 3] page 485 of 656
Attribute Protocol (ATT)
Unlikely Error 0x0E The attribute request that was
requested has encountered an error
that was unlikely, and therefore could
not be completed as requested.
Insufficient Encryption 0x0F The attribute requires encryption
before it can be read or written.
Unsupported Group Type 0x10 The attribute type is not a supported
Name Error Code Description
#LBTHD
• Small
• Low cost (£8)
• Low power (CR2032)
• Complete integrated package (radio, antenna, microcontroller,
flash, GPIO, UART, I2C, PWM, ADC)
• Easy, simple, quick to get started
• BGScript
 .IDEAL
Bluegiga BLE113
#LBTHD
• Don’t need much circuitry around the package
• Power supply
• Any sensors/IO
 .IDEAL
Bluegiga BLE113
#LBTHD .IDEAL
Profile Toolkit
#LBTHD .IDEAL
BGScript
#LBTHD
• Custom GATT service
• Provides pedal state change notifications
• Also supports HID for keyboard / mouse commands
 .IDEAL
New AirTurn
#LBTHD
• Scans for / connects to devices
• UI provided
• Sends out notifications on pedal events
• Works in background
• Different AirTurns connected to different Apps
• Simple to implement
• No Hacks!!
 .IDEAL
New framework
#LBTHD
• Growing number of freelance projects
• Get in touch
• @nrbrook
• nick@nickbrook.me
• Speak to me!
• Please give feedback! http://goo.gl/HgSrgu
 .IDEAL
LE + mobile projects

More Related Content

Similar to Building a BT 4.0 LE HID device

Advantech Digital Signage Introduction.pptx
Advantech Digital Signage Introduction.pptxAdvantech Digital Signage Introduction.pptx
Advantech Digital Signage Introduction.pptx
ssuserc9c6261
 

Similar to Building a BT 4.0 LE HID device (20)

Measuring gravity with BTLE
Measuring gravity with BTLEMeasuring gravity with BTLE
Measuring gravity with BTLE
 
BLE Talk
BLE TalkBLE Talk
BLE Talk
 
Overview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer KitOverview of the Intel® Internet of Things Developer Kit
Overview of the Intel® Internet of Things Developer Kit
 
Wprowadzenie do CoreBluetooth
Wprowadzenie do CoreBluetoothWprowadzenie do CoreBluetooth
Wprowadzenie do CoreBluetooth
 
Bluetooth & Bluetooth Low Energy internals
Bluetooth & Bluetooth Low Energy internalsBluetooth & Bluetooth Low Energy internals
Bluetooth & Bluetooth Low Energy internals
 
DotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il ConcentratoreDotNetToscana - Azure IoT Hub - Il Concentratore
DotNetToscana - Azure IoT Hub - Il Concentratore
 
Advantech Digital Signage Introduction.pptx
Advantech Digital Signage Introduction.pptxAdvantech Digital Signage Introduction.pptx
Advantech Digital Signage Introduction.pptx
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
THAT_2023_BLE.pdf
THAT_2023_BLE.pdfTHAT_2023_BLE.pdf
THAT_2023_BLE.pdf
 
Developers Safari into the Internet of Things (IoT) with Pi
Developers Safari into the Internet of Things (IoT) with PiDevelopers Safari into the Internet of Things (IoT) with Pi
Developers Safari into the Internet of Things (IoT) with Pi
 
Adaptable IoT
Adaptable IoTAdaptable IoT
Adaptable IoT
 
The Internet of Things and You - A Developers Guide to IoT
The Internet of Things and You - A Developers Guide to IoTThe Internet of Things and You - A Developers Guide to IoT
The Internet of Things and You - A Developers Guide to IoT
 
Robots conf microcontroller and iot survey
Robots conf   microcontroller and iot surveyRobots conf   microcontroller and iot survey
Robots conf microcontroller and iot survey
 
IoT fun with Raspberry Pi and .NET
IoT fun with Raspberry Pi and .NETIoT fun with Raspberry Pi and .NET
IoT fun with Raspberry Pi and .NET
 
Internet of Things (IoT) Presentation
Internet of Things (IoT) PresentationInternet of Things (IoT) Presentation
Internet of Things (IoT) Presentation
 
Desert Code Camp 2014.2 Intro to Bluetooth Low Energy
Desert Code Camp 2014.2 Intro to Bluetooth Low EnergyDesert Code Camp 2014.2 Intro to Bluetooth Low Energy
Desert Code Camp 2014.2 Intro to Bluetooth Low Energy
 
Intel Lightning Talk
Intel Lightning TalkIntel Lightning Talk
Intel Lightning Talk
 
Hackacle Hardware for the Internet of Things (IoT)
Hackacle Hardware for the Internet of Things (IoT)Hackacle Hardware for the Internet of Things (IoT)
Hackacle Hardware for the Internet of Things (IoT)
 
Pre meetup intel® roadshow london
Pre meetup intel® roadshow londonPre meetup intel® roadshow london
Pre meetup intel® roadshow london
 
Single chip computer for iot application
Single chip computer for iot application Single chip computer for iot application
Single chip computer for iot application
 

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (20)

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 

Building a BT 4.0 LE HID device

  • 2. “Apple iBeacon Technology Overview”
 Vladimir Petrov @VladPetroff 🍕🍩🍻💬 🍕🍩🍻💬 🍕🍩🍻💬 “Deploying beacons in a retail environment”
 Tim Woolford @tim_woolford “Introduction to Avnet and Bluegiga BLE121LR”
 Alastair Worth @wirelessworthy 🍻 Blueberry Bar, across the road #LBTHD “Building a BT 4.0 LE HID device”
 Nick Brook @nrbrook  .IDEAL
  • 3. #LBTHD .IDEAL “Building a BT 4.0 LE HID device”
 Nick Brook @nrbrook
  • 4. #LBTHD • Bluetooth foot pedal • Supports up to 4 pedals • Used primarily with music display Apps, turning pages  .IDEAL AirTurn BT-105
  • 5. #LBTHD • Bluetooth 2.1 • HID device — Bluetooth keyboard • iOS • Doesn’t provide access to key events (directly, <7) • Hides the virtual keyboard • Requires hacks  .IDEAL AirTurn BT-105
  • 6. #LBTHD • Provides direct access to Bluetooth 4 LE devices • Introduced iOS 5 • Good device support  .IDEAL CoreBluetooth
  • 7. #LBTHD • AKA “Bluetooth Smart” • Entirely new protocol stack (vs Bluetooth “Classic”) • Peripheral (Server) advertises services • Central (Client) scans and connects to devices  .IDEAL Bluetooth 4 LE
  • 9. #LBTHD • 31 byte advertising packet + scan response • GATT Database • Services • Characteristics (key -> value store) • Up to 512 bytes • Read, write, notify  .IDEAL Bluetooth 4 LE
  • 10. #LBTHD • Some services defined by Bluetooth SIG, e.g. • Human Interface Device • Device Information • Battery • You can define your own services  .IDEAL Bluetooth 4 LE
  • 11. #LBTHD • Simple • Quick to learn • Can achieve a lot • Some oddities  .IDEAL Bluetooth 4 LE BLUETOOTH SPECIFICATION Version 4.0 [Vol 3] page 485 of 656 Attribute Protocol (ATT) Unlikely Error 0x0E The attribute request that was requested has encountered an error that was unlikely, and therefore could not be completed as requested. Insufficient Encryption 0x0F The attribute requires encryption before it can be read or written. Unsupported Group Type 0x10 The attribute type is not a supported Name Error Code Description
  • 12. #LBTHD • Small • Low cost (£8) • Low power (CR2032) • Complete integrated package (radio, antenna, microcontroller, flash, GPIO, UART, I2C, PWM, ADC) • Easy, simple, quick to get started • BGScript  .IDEAL Bluegiga BLE113
  • 13. #LBTHD • Don’t need much circuitry around the package • Power supply • Any sensors/IO  .IDEAL Bluegiga BLE113
  • 16. #LBTHD • Custom GATT service • Provides pedal state change notifications • Also supports HID for keyboard / mouse commands  .IDEAL New AirTurn
  • 17. #LBTHD • Scans for / connects to devices • UI provided • Sends out notifications on pedal events • Works in background • Different AirTurns connected to different Apps • Simple to implement • No Hacks!!  .IDEAL New framework
  • 18. #LBTHD • Growing number of freelance projects • Get in touch • @nrbrook • nick@nickbrook.me • Speak to me! • Please give feedback! http://goo.gl/HgSrgu  .IDEAL LE + mobile projects