35
Akın İDİL Valensas Technology, Co-Founder valensas.com | veacon.com

What is Bluetooth Smart? - Technical Version

Embed Size (px)

Citation preview

Page 1: What is Bluetooth Smart? - Technical Version

Akın İDİL Valensas Technology, Co-Founder

valensas.com | veacon.com

Page 2: What is Bluetooth Smart? - Technical Version

This presentation was originally made for the Bluetooth Smart and iBeacon Istanbul Meetup.

You are free to download, distribute and reuse this presentation for non-commercial purposes.

Please make sure to check out the second part of this presentation, 3 Smart Bluetooth Projects, also

available for download.

Page 3: What is Bluetooth Smart? - Technical Version

3 BILLION devices in

2014

Source: ABI Research 2014, Texas Ins.Number of Bluetooth Devices

Page 4: What is Bluetooth Smart? - Technical Version

Source: ABI Research 2014, Texas Ins.

50 BILLION connected devices by

2020

Number of Connected Bluetooth Devices

Page 5: What is Bluetooth Smart? - Technical Version

Bluetooth Smart Bluetooth Low Energy | v4.0 | BLE

Page 6: What is Bluetooth Smart? - Technical Version

What is Bluetooth Smart?

BLE, v4.0, Bluetooth Low Energy

Page 7: What is Bluetooth Smart? - Technical Version

October 2012

iPhone 4s is the first smartphone to support Bluetooth Smart

January 2013

BlackBerry 10 launched and brings Bluetooth Smart to BlackBerry devices for the first time

July 2013

Android 4.3 adds official support for Bluetooth Smart at Android API level 18

April 2014

Windows Phone 8.1 officially launched with Bluetooth Smart support

TIMELINE

Page 8: What is Bluetooth Smart? - Technical Version

FREE IP LICENSE

INDUSTRIAL SCIENTIFIC MEDICAL BAND LOW POWER

ADVANTAGES

Page 9: What is Bluetooth Smart? - Technical Version

Modems

v.21 0.3 kbps

v.22 1.2 kbps

v.23 9.6 kbps

v.34 28.8 kbps

Ethernet

802.3i 10 Mbps

802.3u 100 Mbps

802.3ab 1000 Mbps

802.3an 10000 Mbps

Wi-Fi

802.11 2 Mbps

802.11b 11 Mbps

802.11g 54 Mbps

802.11n 135 Mbps

Bluetooth

v1.1 1 Mbps

v2.0 3 Mbps

v3.0 54 Mbps

v4.0 0.3 Mbps

Speeds

Source: Bluetooth Low Energy - The Developer’s Handbook (Robin Heydan)

Page 10: What is Bluetooth Smart? - Technical Version

ARCHITECTURE

Source: Bluetooth Low Energy - The Developer’s Handbook (Robin Heydan)

Page 11: What is Bluetooth Smart? - Technical Version

EXAMPLE FREQUENCY CHANNEL REMAPPING

Source: Bluetooth Low Energy - The Developer’s Handbook (Robin Heydan)

Page 12: What is Bluetooth Smart? - Technical Version

EXAMPLE FREQUENCY CHANNEL REMAPPING

Source: Bluetooth Low Energy - The Developer’s Handbook (Robin Heydan)

Page 13: What is Bluetooth Smart? - Technical Version

EXAMPLE FREQUENCY CHANNEL REMAPPING

Source: Bluetooth Low Energy - The Developer’s Handbook (Robin Heydan)

Page 14: What is Bluetooth Smart? - Technical Version

STATE MACHINE

SCANNING

STANDBY INITIATING

CONNECTED

ADVERTISING

Slave Master

Source: Bluetooth Low Energy - The Developer’s Handbook (Robin Heydan)

Page 15: What is Bluetooth Smart? - Technical Version

Slave | Master

Source: Bluetooth Low Energy - The Developer’s Handbook (Robin Heydan)

Page 16: What is Bluetooth Smart? - Technical Version

Apple Watch connects to the iPhone with BLE providing low energy consumption. Users will receive all iPhone notifications on Apple Watch.

EXAMPLE

Page 17: What is Bluetooth Smart? - Technical Version

Apple TV gets automatic "touch to configure" setup via Bluetooth 4.0

EXAMPLE

Page 18: What is Bluetooth Smart? - Technical Version

What is iBeacon?

Page 19: What is Bluetooth Smart? - Technical Version

From welcoming people as they arrive at a sporting event to providing information about a nearby museum exhibit, iBeacon opens a new world of

possibilities for location awareness, and countless opportunities for interactivity between iOS devices

and iBeacon hardware.

- Apple -

Page 20: What is Bluetooth Smart? - Technical Version

Technically Speaking

Passive Technology - no connection need

BLE based custom advertising

Can turn iOS into a beacon

Page 21: What is Bluetooth Smart? - Technical Version

BLE Data

Header (2 bytes)

MAC Address(6 bytes)

Data(up to 31 bytes)

Preamble (1 byte)

Access Address (4 bytes)

PDU(2-39 bytes)

CRC(3 bytes)

Page 22: What is Bluetooth Smart? - Technical Version

Data (up to 31 bytes)

Proximity UUID

(16 bytes)

Major

(2 bytes)

Minor

(2 bytes)

TX Power

(2 bytes)

iBeacon prefix

(9 bytes)

iBeacon Preamble 06 # Flags value 4C 00 # Company identifier code (0x004C == Apple)

02 # Number of bytes that follow in first AD structure

1A # Number of bytes that follow in second (and last) AD structure

02 # Byte 0 of iBeacon advertisement indicator

01 # Flags AD type FF # Manufacturer specific data AD type

15 # Byte 1 of iBeacon advertisement indicator

ADVERTISING

Page 23: What is Bluetooth Smart? - Technical Version

Proximity

Immediate <1 meter

Near 1 meter - 3 meter

Far 3 - 50 meter

Unknown >50 meter

Page 24: What is Bluetooth Smart? - Technical Version

Hardware Rules

Device should not be connectable

TX power calibration required (RSSI)

100 ms advertisement

Apple trademark

Page 25: What is Bluetooth Smart? - Technical Version

Akbank Direkt is world’s first iBeacon enabled ATM allowing money withdrawals using only a smartphone and no plastic.

EXAMPLES

Page 26: What is Bluetooth Smart? - Technical Version

The Turkish Airlines CIP Lounge is a global hub for air travel. The brand uses iBeacon to welcome

and inform guests and provide useful

services such as WiFi passwords and free book

downloads.

Turkish Airlines CIP Lounge

Page 27: What is Bluetooth Smart? - Technical Version

Starwood Hotels pilot program lets guests use

Apple's iPhone as room key. Part of

Starwood the hotel allows guests to bypass

the check-in counter and unlock their room

by using digital keys sent to an iOS App

Starwood Hotels

Page 28: What is Bluetooth Smart? - Technical Version

NFL, MLB roll out iBeacon tech for

Super Bowl

NLB, NFL STADIUM

Page 29: What is Bluetooth Smart? - Technical Version

Bluetooth 4.2and the internet of things (IoT)

Page 30: What is Bluetooth Smart? - Technical Version

4.2 ENABLES IoT

Advantages Features End User Examples

Flexible Internet Connectivity Options

Extend the reach of power-efficient devices to the

internet

Low-power (IPv6/6LoWPAN)

Available through the Internet Protocol Support Profile (IPSP)

A Bluetooth Smart sensor can access the Internet (send and receive messages through a

gateway device)Bluetooth Smart Internet gateways (GATT)

Available early 2015 through the HTTP Proxy Service (HPS) &RESTful API

white papers

Page 31: What is Bluetooth Smart? - Technical Version

Advantages Features End User Examples

Industry-leading Privacy

Keeps Bluetooth Smart devices from being tracked

LE Privacy 1.2 LE Secure Connections

A Bluetooth Smart location tracker can only be followed

by the owner or trusted group all while consuming less power.More Power Efficient

Introduces refinements that help Bluetooth Smart devices save even

more energy

Highly Secure

Features FIPS-compliant encryption ensuring confidential data stays

that way

LE Secure Connections

A Bluetooth Smart lock or other smart home device

provides industry standard security for added user

confidence during device pairing

Makes Bluetooth Smart, Smarter

Page 32: What is Bluetooth Smart? - Technical Version

Makes Bluetooth Smart, Faster

Advantages Features End User Examples

Data Throughput Increase

Up to 2.5x faster with a packet capacity increase of 10x vs.

previous versions

LE Data Length ExtensionOver-the-air firmware updates for a Bluetooth Smart device

are up to 250% faster and more reliable

Page 33: What is Bluetooth Smart? - Technical Version

114

MILLION devices

2018

Smart Home

Page 34: What is Bluetooth Smart? - Technical Version

Smart meters can send real-time information about energy consumption directly to homeowners, helping them conserve energy and save on their utility bills

Smart home devices can help homeowners save money and use less energy. Rising natural gas, heating oil, and electricity costs have people more concerned with consumption.