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
Building Context-Aware Apps with Beacons
Search
Greg Shackles
February 25, 2015
Technology
0
77k
Building Context-Aware Apps with Beacons
Greg Shackles
February 25, 2015
Tweet
Share
More Decks by Greg Shackles
See All by Greg Shackles
Building Modern Services with .NET Core 3 and gRPC
gshackles
0
120
Observability-Driven Development: What DevOps is Really About
gshackles
1
260
Monitoring Your Mobile Apps in the Wild
gshackles
1
75
Building Scalable Applications with the Actor Model
gshackles
0
510
Creating a Voice-Driven TV Remote with Azure and Alexa
gshackles
0
77
Build 2017 Recap for Xamarin Developers
gshackles
0
78
Going Serverless: Event-Driven Architecture Without The Infrastructure
gshackles
0
150
Evolve 2016 Redux
gshackles
0
120
Instrumenting Your Mobile Monitoring Strategy
gshackles
0
4.6k
Other Decks in Technology
See All in Technology
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
490
web-application-security
matsuihidetoshi
1
200
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
840
個人のAWSアカウントをマルチ運用してみた
miura55
2
240
ゼロから始めるVue.jsコミュニティ貢献 / first-vuejs-community-contribution-link-and-motivation
lmi
1
150
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
20分で完全に理解するGrafanaダッシュボード
hamadakoji
5
970
Documentação de Produtos: Artefatos essenciais na prática
rigolon
1
190
Cloud Service Mesh に触れ合う
phaya72
1
270
いいたいことちゃんという
tkengo
0
260
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
1
710
コードファーストの考え方。 Amplify Gen2から学ぶAWS次世代のWeb開発体験
yoshiitaka
2
510
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
62
5k
Ruby is Unlike a Banana
tanoku
96
10k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
It's Worth the Effort
3n
180
27k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
For a Future-Friendly Web
brad_frost
172
9k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
22
1.4k
Why Our Code Smells
bkeepers
PRO
331
56k
Raft: Consensus for Rubyists
vanstee
133
6.3k
Transcript
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!