Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iBeacons: Interacting with the physical world u...
Search
Kod.io
October 26, 2013
Programming
1
90
iBeacons: Interacting with the physical world using Bluetooth LE
By Taylan Pinçe
http://kod.io
Kod.io
October 26, 2013
Tweet
Share
More Decks by Kod.io
See All by Kod.io
Our future is in our past or whatever
kodio
0
63
You should learn Go!
kodio
1
130
Daha iyi Geliştirme Ortamı için: Vagrant
kodio
0
64
Building Next-Generation iOS Apps with AFNetworking 2.0
kodio
2
280
Reactive Principles
kodio
1
140
AngularJS vs. Ember.js vs. Backbone.js
kodio
1
500
Go: a simple programming environment
kodio
2
160
Why I had to write a client side framework for Koding.
kodio
1
91
Sure, I could learn Objective-C but...
kodio
1
84
Other Decks in Programming
See All in Programming
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
1.1k
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
1
120
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
250
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
650
Remix on Hono on Cloudflare Workers
yusukebe
1
310
Jakarta EE meets AI
ivargrimstad
0
770
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
3
1.2k
Jakarta EE meets AI
ivargrimstad
0
240
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
KATA
mclloyd
29
14k
Rails Girls Zürich Keynote
gr2m
94
13k
It's Worth the Effort
3n
183
27k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Why Our Code Smells
bkeepers
PRO
334
57k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Making Projects Easy
brettharned
115
5.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Embracing the Ebb and Flow
colly
84
4.5k
Transcript
iBeacons & Bluetooth LE Interacting with the physical world
Taylan Pinçe @taylanpince
None
None
None
GPS
Bluetooth
NFC
NFC Did this ever happen?
Solution:
Solution: Wait, what?!
None
Device Adoption 1 2 3 iPhone 4S+ iPad 3+ Samsung
Galaxy S3+ 4 LG, Nokia Lumia, others
OS Adoption 1 2 3 iOS6+ Android 4.3+ Windows Phone
8
None
None
None
Cool stuff, but I don’t do hardware!
None
None
None
None
None
DEMO
Device Discovery
Device Discovery Hello, I’m w710eeb8- a2c63-lf01-l99e- e1b4ak0
Device Discovery Hello, I’m w710eeb8- a2c63-lf01-l99e- e1b4ak0 I was looking
for you!
Bluetooth LE on iOS CBCentralManager write CBPeripheral read
iOS Send some data to Arduino CBPeripheral *peripheral; UInt8 buffer[2]
= {0x01, 0x00}; buffer[1] = 150; [peripheral writeValue:data ...];
Arduino while (ble_available()) { byte data0 = ble_read(); byte data1
= ble_read(); if (data0 == 0x01) { analogWrite(MOTOR_FWD, data1); } } Read incoming data
Apple & Bluetooth LE 1 2 3 Macs since 2011
iPhones since 2011 iOS & OSX integration 4 Location services in iOS7
iBeacons 1 2 3 Built on Bluetooth LE Reliable proximity
info Background mode 4 iOS7 & Mavericks
iBeacon Discovery
iBeacon Discovery I’m f710eeb8- 2c63-4f01-999e- a1b4ak0-aike5 with Major 50 and
Minor 20
iBeacon Discovery I’m f710eeb8- 2c63-4f01-999e- a1b4ak0-aike5 with Major 50 and
Minor 20 You are close by!
Hardware
Hardware
Office Tracker
Caveats 1 2 3 Bluetooth should be on Background apps
allowed Location privacy allowed 4 Needs an app or Passbook
Thank you! @taylanpince
[email protected]
@hipolabs We are hiring!
Q&A