bluetooth smart (low energy) for android

22
Bluetooth Smart Android Australia Meetup - March 2014 © 2014 Localz Pty. Ltd.

Upload: localz

Post on 28-Jan-2015

118 views

Category:

Technology


7 download

DESCRIPTION

An overview of Bluetooth Smart (Low Energy) for Android. This was presented to the Android Australia User Group in March 2014 in Melbourne, Australia. We explore Bluetooth Smart advantages, support on Android devices, look at Apple's iBeacon technology and emerging Bluetooth smart services.

TRANSCRIPT

Page 1: Bluetooth Smart (Low Energy) for Android

Bluetooth SmartAndroid Australia Meetup - March 2014

© 2014 Localz Pty. Ltd.

Page 2: Bluetooth Smart (Low Energy) for Android

You may know it as

Bluetooth Low Energy

Bluetooth 4.0 - LE spec

BLE

Page 3: Bluetooth Smart (Low Energy) for Android

Bluetooth Smart is:

ultra low power ⌁

inexpensive "

standard ✓

Page 4: Bluetooth Smart (Low Energy) for Android

90% of smartphones will be Bluetooth Smart ready by 2018

75

150

225

300

2013 2014 2015 2016 2017 2018

Source: http://eecatalog.com/consumerelectronics/2013/10/31/bluetooth-smart-chip-growth-to-exceed-55-percent-driven-by-adoption-in-consumer-electronics/

Bluetooth Smart IC shipment forecasts

milli

on o

f uni

ts

source:

Page 5: Bluetooth Smart (Low Energy) for Android

It’s already supported by 000’s of devices

smartphones

$watches

⌚healthcare devices

&automobiles

🚘

fitness equipment

(GPS

)cameras

📷laptops

+

IoT devices

,phone accessory

-game systems

♞A/V systems

Page 6: Bluetooth Smart (Low Energy) for Android

Bluetooth smart devices constantly advertise their presence

Classic Bluetooth devices wait for requests from active scanning devices

0 0 0

1 00

Page 7: Bluetooth Smart (Low Energy) for Android

The proximity interaction sweet spot

source: localz research

Bluetooth Smart!

Proximity accuracy range!5cm! .5m! 1m! 5m! 10m! 50m! 500m! 1km+!

Wi-Fi!

QR!

NFC!

GPS!

Mobile Network!

! !

" !

# !

Micro-location interactions!

Page 8: Bluetooth Smart (Low Energy) for Android

Apple released iBeacon in 2013!

it’s got an “i” so it must be big

Page 9: Bluetooth Smart (Low Energy) for Android

“a new class of low-powered, low-cost transmitters that can notify nearby iOS 7 devices of

their presence”

Source: https://developer.apple.com/ios7/

Page 10: Bluetooth Smart (Low Energy) for Android

iBeacon can be used as …

2 A relative positioning system

3 A trigger for app events

4 A cookie for the real world

Page 11: Bluetooth Smart (Low Energy) for Android

It is not a replacement for two-way Bluetooth services

more on that later

Page 12: Bluetooth Smart (Low Energy) for Android
Page 13: Bluetooth Smart (Low Energy) for Android

Enter retail proximity interactions

Checkout

Ais

le 1

Ais

le 2

Ais

le 3

Ais

le 4

En

tran

ce

BLE Beacon

© 2014 Localz Pty. Ltd.

Page 14: Bluetooth Smart (Low Energy) for Android

Now supported - Hooray!

Android 4.3+

Page 15: Bluetooth Smart (Low Energy) for Android

Currently working on…

Nexus 4, 5, 7, 10

Droid RAZR, MotoG/X, Ultra, Maxx, Mini

Galaxy S3*, S4, S5, Note2/3

One, One Max, One X+, Droid DNA

Xperia Series

source: www.bluetooth.com/Pages/Bluetooth-Smart-Devices-List.aspx

Page 16: Bluetooth Smart (Low Energy) for Android

Not all roles are supported

Peripheral

Central

Broadcaster

Observer

0

5

6

Supported?*

client that connects to peripheral

server that connects to clients

server that only broadcasts

client that scans/listens but does not connect$

7

*As of Android 4.4Props to: http://www.doubleencore.com/2013/12/bluetooth-smart-for-android/

Page 17: Bluetooth Smart (Low Energy) for Android

iBeacon protocol

Built on the Bluetooth Smart specification

Note: Apple has only released the iBeacon specification to select Made for iPhone program participants. However, this is under NDA. iBeacon is a trademark of Apple Inc.

Fixed iBeacon Prefix (9 Bytes)

UUID (16 Bytes)

Major ID (2 Bytes)

Minor ID (2 Bytes)

Tx power (1 Byte)

preamble, addresses and headers (12 bytes)

checksum (5 bytes)

BLE advertisement packet (~47 Bytes)

Page 18: Bluetooth Smart (Low Energy) for Android

Comparison

iBeacon client ✓✓

iBeacon server✓

Scan unregistered iBeacons ✓␡

Background app notifications

Hard closed app notifications

-*iBeacon support requires

3rd party libraries

*

*

*

*

iOS 7

Page 19: Bluetooth Smart (Low Energy) for Android

But there is much more to Bluetooth Smart

The GATT Stack

Page 20: Bluetooth Smart (Low Energy) for Android

A range of pre-defined Bluetooth Smart services

Alert Notification Service⚠

Battery Service🔋

Time Services⏲

Cycling Power🚲

Cycling Speed & Cadence🚲

Device Information$

Generic Access🔗

Blood Pressure>

Glucose Service💉

Health Thermometer@

Heart Rate♥

Human Interface Device💻

Location & Navigation )

Phone Alert Service📞

Running Speed & CadenceD

Tx PowerE

Find Me Profile🔎

Complete list of services at: www.bluetooth.org/en-us/specification/adopted-specifications

Page 21: Bluetooth Smart (Low Energy) for Android

Further reading

www.bluetooth.com/Pages/Bluetooth-Smart-Devices.aspx

http://developer.android.com/guide/topics/connectivity/bluetooth-le.html

www.doubleencore.com/2013/12/bluetooth-smart-for-android/

www.nordicsemi.com/eng/Products/Bluetooth-R-low-energy

bit.ly/1hur3sT

Page 22: Bluetooth Smart (Low Energy) for Android

Questions? [email protected]

!www.localz.co

!@localzco

© 2014 Localz Pty. Ltd. Localz is a registered Bluetooth SIG member.