Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short...
Transcript of Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short...
![Page 1: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/1.jpg)
Introduction to Bluetooth Low Energy
Lightning talk
@geoaxis
The global leader in door opening solutions
![Page 2: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/2.jpg)
Hej!
• Who am I?
• Who are you?
• Agenda• Basics (Tip of the iceberg)
• Use cases
• Resources
No Demos
• Questions and comments welcome during break or on twitter/email.
The global leader in door opening solutions
![Page 3: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/3.jpg)
Bluetooth Low Energy – In short
• Wireless technology standard, designed from ground up.
• Simple and easy to use model.
• Small bursts of data.
• Impressive battery life.
• Low cost.
• Works on free 2.4 Ghz band.
• Ideal for sensors/ IoT.
The global leader in door opening solutions
![Page 4: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/4.jpg)
History
The global leader in door opening solutions
1994-97 2006 2011-20122010 2015
![Page 5: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/5.jpg)
Note on Naming
• Bluetooth 4.0
• Bluetooth Low Energy • BLE, BTLE, LE
• SIG Preferred• Bluetooth Smart
• Bluetooth Smart Ready
The global leader in door opening solutions
![Page 6: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/6.jpg)
BLE Roles
The global leader in door opening solutions
Central Peripheral
BroadcasterObserver
Slave
Server
Has read/write data
Has read-only broadcast dataCan receive broadcast data
Master
Client
Can read/write data to Slave/Server
![Page 7: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/7.jpg)
Topology
The global leader in door opening solutions
Piconet v4.0
Scatter net v4.1
![Page 8: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/8.jpg)
BLE Power States
The global leader in door opening solutions
![Page 9: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/9.jpg)
Spectrum/Adaptive Frequency Hopping
The global leader in door opening solutions
![Page 10: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/10.jpg)
Generic Attribute Profile - GATT
The global leader in door opening solutions
Services, characteristics, and descriptors are collectively referred to as attributes, and identified by UUIDs.16 bits (e.g. “180A“) or 128 bits (e.g. ”6BCF0ED3-68E3-4804-96D5-5AB8765FB9BC “)
![Page 11: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/11.jpg)
GATT Operations
• Central can • discover UUIDs for all primary services.
• Find a service with a given UUID.
• Find secondary services for a given primary service.
• Discover all characteristics for a given service.
• Find characteristics matching a given UUID.
• Read all descriptors for a particular characteristic.
• Can do read, write, long read, long write values etc.
• Peripheral• Notify or indicate central of changes.
The global leader in door opening solutions
![Page 12: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/12.jpg)
Security
• Encryption (128 bit AES)
• Pairing (Without key, with a shared key, out of band pairing)
• Passive eavesdropping during key exchange (but fixed in Bluetooth 4.2)
• Many products are building their own security on top of BLE
• Check out Mike Ryan (iSec partners) work on security.
The global leader in door opening solutions
![Page 13: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/13.jpg)
Use cases – Physical Security
The global leader in door opening solutions
![Page 14: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/14.jpg)
Use cases – Home automation
The global leader in door opening solutions
![Page 15: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/15.jpg)
Use cases – Geo-fencing/ positioning
The global leader in door opening solutions
![Page 16: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/16.jpg)
Use cases - Fun
The global leader in door opening solutions
![Page 17: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/17.jpg)
Development Kits/Boards
The global leader in door opening solutions
![Page 18: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/18.jpg)
Operating System Support
• iOS 8
• OSX 10.10
• Android 4.3, 4.4, 5.0
• Linux 3.4, BlueZ 5.0
• Windows Phone 8.1 (only central)
• Windows 8.1 (app mode)
The global leader in door opening solutions
![Page 19: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/19.jpg)
Interesting development tools
The global leader in door opening solutions
![Page 20: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/20.jpg)
Resources
• A compilation of resources at my Blog.
• Bluetooth SIG (Bluetooth Europe conference).
• IoT Stockholm meetup (we are meeting tonight).
• Books
The global leader in door opening solutions
![Page 21: Introduction to Bluetooth Low Energy - Jfokus to BLE.pdf · Bluetooth Low Energy –In short •Wireless technology standard, designed from ground up. •Simple and easy to use model.](https://reader031.fdocuments.us/reader031/viewer/2022031911/5b5dc5987f8b9aa1428edc93/html5/thumbnails/21.jpg)
Tack Questions and comments welcome after this talk or on twitter/email.
We are hiring http://www.assaabloy.com/en/com/Career/
Slides will be posted on Jfokus website
The global leader in door opening solutions