bluetooth low energy - meetupfiles.meetup.com/8919372/bluetooth low energy - ibeacon.pdf ·...
TRANSCRIPT
![Page 1: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/1.jpg)
SMART Technologies Introducing bluetooth low energy and iBeacon
![Page 2: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/2.jpg)
• In real life you may call me
• Frederick Bousson
• Competence Leader Mobile @ Ordina
• Smartphone as life’s remote control
• Focus on Software Development
@fbousson [email protected]
![Page 3: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/3.jpg)
![Page 4: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/4.jpg)
Bluetooth Low Energy
![Page 5: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/5.jpg)
Smart!
• Bluetooth Classic
• Bluetooth Smart
• Bluetooth Smart Ready
![Page 6: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/6.jpg)
https://www.youtube.com/watch?v=Z08y-4S5O7s
![Page 7: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/7.jpg)
Compatibility
• BLE not backward-compatible with Classic Bluetooth.
• Bluetooth 4.0 permits devices to implement either or both
LE and Classic.
• BLE uses the same 2.4 Ghz radio frequencies as Classic
• Dual mode devices can share single radio antenna
• BLE uses a simpler modulation system
![Page 8: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/8.jpg)
Branding
• Bluetooth Smart Ready indicates
• a dual-mode device
• whose hardware is compatible with both Classic and LE Bluetooth
peripherals.
• Bluetooth Smart indicates
• an LE-only device, typically a battery-operated sensor,
• which requires either a SMART Ready or another SMART device in
order to function.
![Page 9: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/9.jpg)
![Page 10: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/10.jpg)
Advantages
• Low power requirements, operating for "months or
years" on a button cell.
• Small size and low cost.
• Compatibility with a large installed base of mobile
phones, tablets and computers.
![Page 11: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/11.jpg)
Applicable in Multiple areas
• Smart home solutions
• Healthcare & Fitness
• Security
• Home entertainment
• Toys and Remote controls
• …
![Page 12: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/12.jpg)
Smart
home
solutions
![Page 13: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/13.jpg)
Home
entertain-
ment
http://www.youtube.com/watch?v=oWu9TFJjHaM
![Page 14: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/14.jpg)
Healthcare
& fitness
![Page 15: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/15.jpg)
Smart
assistence
for men
![Page 16: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/16.jpg)
And of
course
If it flies …
http://www.youtube.com/watch?v=q9bpp7zmM_A
![Page 17: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/17.jpg)
Devices
• Windows Phone 8: • Nokia Lumia (520, 525, 620, 625, 820, 920,925, 928, 1020, 1320,
1520)
• Android 4.3 and later • (HTC, LG, Motorola, Sony, Samsung, ...)
• Apple iOS 5+ • ( iPhone 4S +, iPad 3rd gen, iPod Touch 5th gen)
![Page 18: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/18.jpg)
Technical Specification Classic BLE
Distance / Range 100m 50m
Latency 100ms 6ms
Power consumption 1 as the reference 0,01 to 0,5 (depending
on use case)
Some figures
![Page 19: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/19.jpg)
Software model
• All Bluetooth low energy devices use the Generic
Attribute Profile (GATT).
• The Application programming interface offered by a
Bluetooth LE-aware operating system will typically be
based around GATT concepts.
• GATT has the following terminology:
![Page 20: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/20.jpg)
Client
A device that initiates GATT commands and requests,
and accepts responses, for example a computer or
smartphone.
![Page 21: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/21.jpg)
Server
A device that receives GATT commands and requests,
and returns responses, for example a temperature
sensor.
![Page 22: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/22.jpg)
Peripheral (Slave)
A peripheral can advertise, to let other devices know that
It’s there.
![Page 23: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/23.jpg)
Central (Master)
Only a central can send a connection request to establish
connection.
![Page 24: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/24.jpg)
Roles
• Client <-> Server
• Peripheral <-> Central
![Page 25: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/25.jpg)
Characteristic
A data value transferred between client and
server.
for example the current battery voltage.
![Page 26: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/26.jpg)
Service
A collection of related characteristics, which operate
together to perform a particular function.
For instance, the Health Thermometer services includes
characteristics for a temperature measurement value,
and a time interval between measurements
![Page 27: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/27.jpg)
Descriptor
A descriptor provides additional information about a
characteristic.
For instance, a temperature value characteristic may have
an indication of its units (e.g. Celsius), and the maximum
and minimum values which the sensor can measure.
Descriptors are optional - each characteristic can have
any number of descriptors.
![Page 28: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/28.jpg)
Identifiers
• Any implementer may pick a random or pseudorandom
UUID for proprietary uses, but the Bluetooth SIG have
reserved a range of UUIDs (of the form xxxxxxxx-0000-
1000-8000-00805F9B34FB ) for standard attributes.
Services, characteristics, and descriptors
are collectively referred to as attributes,
and identified by UUIDs
![Page 29: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/29.jpg)
GATT Operations
• 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
![Page 30: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/30.jpg)
GATT Operations
Commands are also provided to read (data transfer from
server to client) and write (from client to server) the
values of characteristics
![Page 31: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/31.jpg)
GATT
Notifications: The client may request a notification for a particular
characteristic from the server. The server can then send the value to
the client whenever it becomes available. For instance, a temperature
sensor server may notify its client every time it takes a measurement.
This avoids the need for the client to poll the server, which would
require the server's radio circuitry to be constantly operational.
Indication: similar to a notification, except that it requires a response
from the client, as confirmation that it has received the message.
![Page 32: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/32.jpg)
Profiles
• specifications for how a device works in a particular
application
• Manufacturers are expected to implement the appropriate
specifications for their device in order to ensure
compatibility.
• A device may contain implementations of multiple profiles.
• Health Care: Blood Glucose, Blood Pressure, …
• Sports and fitness: Heart Rate, Running speed and cadence, …
![Page 34: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/34.jpg)
Is it secure?
Short answer: No!
Passive eavesdropping possible
![Page 35: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/35.jpg)
Ubertooth
![Page 36: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/36.jpg)
Secure?
Long answer: Use Ubertooth + Wireshark for
network sniffing
http://www.youtube.com/watch?v=4POOiVrdn
X8
![Page 37: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/37.jpg)
![Page 38: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/38.jpg)
Bluetooth 4.1
• IPV6
• Platform for Internet of things
• Wireless charging?
![Page 39: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/39.jpg)
![Page 40: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/40.jpg)
Sensortag
![Page 41: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/41.jpg)
Sensortag
• No embedded software knowledge required.
• No embedded compiler required.
• Android and iOS sample apps to
demonstrate sensor use.
• www.ti.com/sensortag
• Cheap! 25$
![Page 42: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/42.jpg)
Sensors
1. Temperature (Infrared + ambient)
2. Humidity
3. Pressure
4. Accelerometer
5. Gyroscope
6. Magnetometer
7. Buttons
![Page 43: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/43.jpg)
![Page 44: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/44.jpg)
![Page 45: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/45.jpg)
![Page 46: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/46.jpg)
![Page 47: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/47.jpg)
![Page 48: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/48.jpg)
![Page 49: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/49.jpg)
![Page 50: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/50.jpg)
![Page 51: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/51.jpg)
![Page 52: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/52.jpg)
![Page 53: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/53.jpg)
![Page 54: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/54.jpg)
![Page 55: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/55.jpg)
![Page 56: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/56.jpg)
![Page 57: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/57.jpg)
https://www.youtube.com/watch?v=BCQsWGKu_Vw
![Page 58: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/58.jpg)
10 min break ??
After the break:
The world of iBeacons
![Page 59: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/59.jpg)
THE WORLD IS CHANGING! Objects are getting smarter, from detection, analyzing and interaction towards taking
decisions. The innovative applications created by this, change the world at a rapid
pace.
ARE YOU CHANGING ALONG? Ordina SMART Technologies makes future life and work easier by creating
sustainable solutions together. We make innovation applicable by cleverly combining:
Sensoring (artificial senses)
Wearables (portable technology)
Robotica (programmable machines)
Augmented reality (reality with digital additions)
Virtual reality (world other than where you are physically)
Machine 2 machine (communication between objects)
START SMALL, GROW SMART Take the first step! Contact:
+ 32 (0) 495 26 88 28
+32 (0) 485 07 11 93
+32 (0) 486 89 53 38
![Page 60: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/60.jpg)
iBeacon
![Page 61: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/61.jpg)
![Page 62: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/62.jpg)
iBeacon overview
• Introduced in iOS7
• Indoor positioning system.
• Contextual information
• Uses Bluetooth low energy Proximity sensing to
transmit a Universally unique Identifier (UUID)
![Page 63: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/63.jpg)
Android port
• https://github.com/RadiusNetworks
• Apache Licence 2.0, you can use it in your own
application
• Active community
![Page 64: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/64.jpg)
Mode of operation: Ranging
Calculate estimated
distance to iBeacon
using signal strength
(Received Signal
Strength Indicator, RSSI).
Distance or Bucket
(Immediate, Near, Far,
Unknown) High power.
![Page 65: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/65.jpg)
Mode of operation: Regioning
• Regioning: • Enter / leave a region.
• Background
• Low power
![Page 66: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/66.jpg)
https://www.youtube.com/watch?v=7M_Dgs8gBTY
![Page 67: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/67.jpg)
Configuration
• 128-bit UUID (uint8_t[16]) - The 128-bit ID indentifying
your company/store/etc
• TX Power (uint8_t) - This value is used to try to estimate
distance based on the RSSI value
![Page 68: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/68.jpg)
Configuration
• Major (uint16_t: 0-65535) - The major value (to
differentiate individual stores, etc.)
• Minor (uint16_t: 0-65535) - The minor value (to
differentiate nodes withing one location, etc.)
![Page 69: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/69.jpg)
Example: Starbucks
• UUID: • Same on all Starbucks iBeacons.
• Major: • designates store.
• Minor: • Designates tablets / seats.
• Could use fixed minor for cash register, food area, exit, …
![Page 70: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/70.jpg)
Use cases
• Indoor mapping
• Shoping experience
• Tracking behaviour
• Healthcare
• ...
![Page 71: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/71.jpg)
![Page 72: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/72.jpg)
https://www.youtube.com/watch?v=sUIqfjpInxY
![Page 73: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/73.jpg)
Some misconceptions
1. iBeacons deliver content
2. iBeacons know when they are detected
3. iBeacons are detected immediately
4. iBeacons distance is accurate
![Page 74: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/74.jpg)
The actual iBeacon hardware
• www.estimote.com
• www.radiusnetworks.com/
• Build your own.
• Local vendor?
• ...
![Page 75: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/75.jpg)
![Page 76: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/76.jpg)
![Page 77: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/77.jpg)
Mac OS X 10.9 Mavericks +
Bluetooth 4.0 Dongle @ €10,85
![Page 78: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/78.jpg)
![Page 79: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/79.jpg)
https://github.com/mttrb/BeaconOSX
![Page 80: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/80.jpg)
Virtual Beacon
• VMWare / Virtualbox + cheap bluetooth 4.0 dongle
• http://developer.radiusnetworks.com/ibeacon/virtual.html
![Page 81: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/81.jpg)
Pi Beacon
• http://learn.adafruit.com/pibeacon-ibeacon-
with-a-raspberry-pi/overview
• $50~
![Page 83: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/83.jpg)
https://www.youtube.com/watch?v=-cgvEY4ywM8
![Page 84: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/84.jpg)
Triangulation
![Page 85: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/85.jpg)
https://www.youtube.com/watch?v=dMWEl6GBGqk
![Page 86: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/86.jpg)
![Page 87: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/87.jpg)
![Page 88: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/88.jpg)
![Page 89: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/89.jpg)
![Page 90: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/90.jpg)
![Page 91: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/91.jpg)
![Page 92: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/92.jpg)
![Page 93: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/93.jpg)
![Page 94: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/94.jpg)
![Page 95: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/95.jpg)
iBeacon Locate
• https://itunes.apple.com/us/app/locate-for-
ibeacon/id738709014
• https://play.google.com/store/apps/details?id
=com.radiusnetworks.ibeaconlocate
![Page 96: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/96.jpg)
Q? A!
![Page 97: Bluetooth Low Energy - Meetupfiles.meetup.com/8919372/Bluetooth low energy - iBeacon.pdf · 2014-02-21 · Bluetooth LE-aware operating system will typically be based around GATT](https://reader033.vdocuments.mx/reader033/viewer/2022060306/5f0996fc7e708231d4278eca/html5/thumbnails/97.jpg)
THE WORLD IS CHANGING! Objects are getting smarter, from detection, analyzing and interaction towards taking
decisions. The innovative applications created by this, change the world at a rapid
pace.
ARE YOU CHANGING ALONG? Ordina SMART Technologies makes future life and work easier by creating
sustainable solutions together. We make innovation applicable by cleverly combining:
Sensoring (artificial senses)
Wearables (portable technology)
Robotica (programmable machines)
Augmented reality (reality with digital additions)
Virtual reality (world other than where you are physically)
Machine 2 machine (communication between objects)
START SMALL, GROW SMART Take the first step! Contact:
+ 32 (0) 495 26 88 28
+32 (0) 485 07 11 93
+32 (0) 486 89 53 38