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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kod.io
October 26, 2013
Programming
1
110
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
70
You should learn Go!
kodio
1
140
Daha iyi Geliştirme Ortamı için: Vagrant
kodio
0
77
Building Next-Generation iOS Apps with AFNetworking 2.0
kodio
2
390
Reactive Principles
kodio
1
150
AngularJS vs. Ember.js vs. Backbone.js
kodio
1
520
Go: a simple programming environment
kodio
2
180
Why I had to write a client side framework for Koding.
kodio
1
99
Sure, I could learn Objective-C but...
kodio
1
94
Other Decks in Programming
See All in Programming
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.7k
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
400
AI 開発合宿を通して得た学び
niftycorp
PRO
0
170
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
140
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
530
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
130
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
200
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
3
1.9k
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
190
Understanding Apache Lucene - More than just full-text search
spinscale
0
140
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
180
Featured
See All Featured
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
330
Navigating Weather and Climate Data
rabernat
0
150
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
Rails Girls Zürich Keynote
gr2m
96
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
320
Embracing the Ebb and Flow
colly
88
5k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
Everyday Curiosity
cassininazir
0
180
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
91
Code Reviewing Like a Champion
maltzj
528
40k
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