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
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
110
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
560
複雑なState管理からの脱却
sansantech
PRO
1
160
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
540
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
190
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
150
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
250
生成AIが変えるデータ分析の全体像
ishikawa_satoru
0
180
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
10
1.3k
静的解析で実現した効率的なi18n対応の仕組みづくり
minako__ph
1
110
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.7k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Code Reviewing Like a Champion
maltzj
520
39k
Ruby is Unlike a Banana
tanoku
97
11k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Scaling GitHub
holman
458
140k
Building Adaptive Systems
keathley
38
2.3k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
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!