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
150
Observability-Driven Development: What DevOps is Really About
gshackles
1
270
Monitoring Your Mobile Apps in the Wild
gshackles
1
78
Building Scalable Applications with the Actor Model
gshackles
0
550
Creating a Voice-Driven TV Remote with Azure and Alexa
gshackles
0
88
Build 2017 Recap for Xamarin Developers
gshackles
0
84
Going Serverless: Event-Driven Architecture Without The Infrastructure
gshackles
0
160
Evolve 2016 Redux
gshackles
0
120
Instrumenting Your Mobile Monitoring Strategy
gshackles
0
4.6k
Other Decks in Technology
See All in Technology
スクラム成熟度セルフチェックツールを作って得た学びとその活用法
coincheck_recruit
1
140
[FOSS4G 2024 Japan LT] LLMを使ってGISデータ解析を自動化したい!
nssv
1
210
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
190
スクラムチームを立ち上げる〜チーム開発で得られたもの・得られなかったもの〜
ohnoeight
2
350
いざ、BSC討伐の旅
nikinusu
2
770
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
200
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
860
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
350
Terraform Stacks入門 #HashiTalks
msato
0
350
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
110
Taming you application's environments
salaboy
0
180
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
A Tale of Four Properties
chriscoyier
156
23k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
730
Code Reviewing Like a Champion
maltzj
520
39k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
The Invisible Side of Design
smashingmag
298
50k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Adopting Sorbet at Scale
ufuk
73
9.1k
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!