Measuring gravity with BTLE

Post on 07-Jul-2015

98 views 7 download

Tags:

description

In my second LBTHD talk I show how to build a bluetooth accelerometer and App to graph the data

transcript

London Bluetooth Hardware Developers

Sponsored by

Venue

#LBTHD

.IDEAL

🍕🍻💬 🍕🍻💬 🍕🍻💬

“Measuring gravity with BTLE, BTLE News”Nick Brook @nrbrook

#LBTHD

“Creating the Internet of My Things with Bluetooth Smart” Martin Woolley @bluetooth_mdw

.IDEAL

#LBTHD .IDEAL

“Creating the Internet of My Things with Bluetooth Smart” Martin Woolley @bluetooth_mdw

#LBTHD .IDEAL

Measuring gravity with BTLE

#LBTHD .IDEAL

Demo!

#LBTHD .IDEAL

• https://github.com/nrbrook/AccelerometerDemo

• Requirements:

• DKBLE (£135 ex VAT)

• Mac with Xcode

• iOS developer membership (£60)

• iPad or iPhone

#LBTHD .IDEAL

BTLE News

• Bluetooth 4.1

• iOS 8

• WatchKit

#LBTHD .IDEAL

Bluetooth 4.1• Extension of Bluetooth 4.0

• New features + errata

• No hardware changes

• No mandatory features

• All Bluetooth 4.0 devices can support 4.1 via software update

#LBTHD .IDEAL

Bluetooth 4.1

• Coexistence with LTE

• Dual mode — Central and Peripheral

• L2CAP Dedicated Channels, paving the way for IPv6

• L2CAP Connection oriented channels, enabling bulk data transfer

#LBTHD .IDEAL

Bluetooth 4.1• Quick Reference Guide

https://www.bluetooth.org/en-us/Documents/Bluetooth%204.1%20Quick%20Reference%20Guide.pdf

• Bluetooth technical descriptionhttps://www.bluetooth.org/en-us/Documents/Bluetooth%204.1%20Technical%20Description.pdf

• FAQhttps://www.bluetooth.org/en-us/Documents/Bluetooth%204.1%20FAQ.pdf

#LBTHD .IDEAL

iOS 8• Suggested Apps

• Geofence when not installed

• iBeacon when installed

#LBTHD .IDEAL

HomeKit• Apple’s framework for “communicating with and

controlling connected accessories in the user’s home”

• Communication over Bluetooth or WiFi

• Requires additional device implementation to MFi Spec

• Alternatively can use ‘hub’ as a proxy

#LBTHD .IDEAL

WatchKit

• Apple’s watch App framework

• Runs most of the code on the iPhone, presumably communicating via Bluetooth

#LBTHD .IDEAL

WatchKit

#LBTHD .IDEAL

Thanks for coming!

Martin Woolley @bluetooth_mdw Nick Brook @nrbrook 🍻Blueberry Bar, across the road