Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Building Context-Aware Apps with Beacons
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Greg Shackles
February 25, 2015
Technology
77k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Building Context-Aware Apps with Beacons
Greg Shackles
February 25, 2015
Transcript
23 slides
Building Context-Aware Apps with Beacons Greg Shackles Senior Software Engineer,
Olo
[email protected]
@gshackles
nycmobiledev.net @nycmobiledev nyalt.net @nyaltnet
If context is king… …apps are the keys to the
kingdom
Right Here and Now
Geofencing ✤ Uses GPS, WiFi, Mobile Network ✤ Accuracy varies
wildly based on methods used ✤ Can be within a few meters or few thousand meters ✤ Indoors? Good luck ✤ Battery intensive
Geofencing
Ditch the map, let’s talk proximity
It’s All About Context
Case Study: Retail estimote.com/retail
Case Study: MLB Stadiums
Bluetooth Low Energy (BLE) Specification Bluetooth Bluetooth LE Distance/Range 100m
(330ft) > 100m (> 300ft) Throughput 0.7-2.1 Mbps 0.27 Mbps Voice Capable Yes No Power Consumption 1W 0.01 - 0.5W Latency 100ms 6ms
Bluetooth LE is Already Everywhere
So What Are Beacons? ✤ No pairing necessary ✤ Advertisement
broadcast contains everything ✤ Key advertisement pieces: ✤ UUID: 128-bit, defines a group of beacons ✤ Major: 16-bit unsigned integer, create subset of UUID ✤ Minor: 16-bit unsigned integer, create subset of Major
Beacon Ranges 1m 10m 100m Immediate Near Far Approximated, never
rely on actual beacon distances NFC only works here
Software Beacons ✤ iOS 7 devices, starting with iPhone 4S,
iPad 3 ✤ Mac OS X, requires external adapter on Yosemite ✤ Android L devices
Hardware Beacons
What Can Talk to Beacons? ✤ iOS 7+ devices ✤
Android 4.3+ devices ✤ Windows Phone 8.1: not supported (womp womp) ✤ maybe in Windows Phone 10…
Interacting with Beacons ✤ Proximity ✤ Immediate ✤ Near ✤
Far ✤ Works in foreground ✤ Notified on entry/exit ✤ Works in background Region Monitoring Ranging
AltBeacon ✤ iBeacon specification is private (shocking, right?) ✤ Proposed
open proximity beacon specification ✤ Authored by Radius Networks altbeacon.org
Estimote Stickers (Nearables) ✤ Beacons for physical objects ✤ ~3mm
thin ✤ Rich broadcast data, including: ✤ Motion ✤ Temperature ✤ Orientation ✤ Temperature
The Physical Web ✤ Experiment from Google ✤ Aims to
remove dependency on beacon-specific apps ✤ Beacons embrace the web by advertising URIs ✤ urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6 ✤ https://www.ietf.org/rfc/rfc2141.txt google.github.io/physical-web
By the way… These technologies aren’t mutually exclusive
Let’s Code!
More Decks by Greg Shackles
See All by Greg Shackles
Building Modern Services with .NET Core 3 and gRPC
gshackles
0
230
Observability-Driven Development: What DevOps is Really About
gshackles
1
350
Monitoring Your Mobile Apps in the Wild
gshackles
1
130
Building Scalable Applications with the Actor Model
gshackles
0
700
Creating a Voice-Driven TV Remote with Azure and Alexa
gshackles
0
170
Build 2017 Recap for Xamarin Developers
gshackles
0
170
Going Serverless: Event-Driven Architecture Without The Infrastructure
gshackles
0
240
Evolve 2016 Redux
gshackles
0
180
Instrumenting Your Mobile Monitoring Strategy
gshackles
0
4.8k
Other Decks in Technology
See All in Technology
AIが学べる子供の夏休みの自由研究教材を作ったが空振りだった話
yoshimura_datam
0
110
OSSとミニPCと私
anatofuz
1
110
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
530
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
150
コーディングできない僕にBobが舞い降りた
shumpei3
0
230
正しくWeb サイトを守るためのコンテンツセキュリティーポリシー
hinalin
0
630
一口馬主の募集馬をAIで診断してみた
yoshimura_datam
0
110
Kiro Enterprise Management: 管理者が 1 か所で決め、全員の Kiro に届ける
inariku
PRO
1
160
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
140
Go でトランザクション、どう書いてますか?
knwoop
2
640
LLMごとの文章力を測ってみた話
yoshimura_datam
0
120
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
130
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
It's Worth the Effort
3n
188
30k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
590
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Skip the Path - Find Your Career Trail
mkilby
1
310
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
390
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
910
Well, that’s weird…
csswizardry
3
250
Become a Pro
speakerdeck
PRO
31
6.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
840