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
Experiences with iBeacon
Search
Sam Jarman
May 14, 2015
Technology
0
230
Experiences with iBeacon
Presented at Cocoaheads Wellington.
Sam Jarman
May 14, 2015
Tweet
Share
More Decks by Sam Jarman
See All by Sam Jarman
The Habits of Fast Developers
samjarman
0
8
Working Faster as a Developer
samjarman
0
13
DRY, WET, SPOT…What?
samjarman
0
130
The Code was the Easy Part: Introducing an iOS Library at a Corporate
samjarman
0
300
A Guide to The Internet for Junior Developers
samjarman
0
340
Android vs iOS: A 100% fully serious comparison by Jie Li and Sam Jarman
samjarman
0
380
Structuring Your Code With MVP
samjarman
0
280
Start Your Career Right - ITx 2018
samjarman
1
260
Start Your Career Right
samjarman
0
270
Other Decks in Technology
See All in Technology
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
340
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
430
Digitization部 紹介資料
sansan33
PRO
1
6.8k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
190
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
140
プロポーザルに込める段取り八分
shoheimitani
1
230
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.3k
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
150
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.7k
Featured
See All Featured
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Balancing Empowerment & Direction
lara
5
890
The Cult of Friendly URLs
andyhume
79
6.8k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
66
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
94
A better future with KSS
kneath
240
18k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
120
Transcript
Experiences with iBeacon Sam Jarman - iOS Developer - Carnival
Mobile
What is an iBeacon? • Low Powered, Low Cost transmitter
• Small, BTLE Enable Chip • Battery powered
What are they good for? • “Microlocation” • Relative locations
• Check-Ins • Push Notifications • Spatially aware content
iBeacon API Overview • You define regions (UUID, Major, Minor)
• You monitor regions (iOS does this in the background) • Once region has been detected, you can start ranging beacons • Beacon updates occur every second
iBeacon with Carnival • A few steps: • Detect Beacon
• Set Up Tags or Custom Attributes • Set up audiences based on those tags • Trigger messages based on entering/exiting audience
Demo
Problems
UUIDs • Beacon has a UUID • Also has a
Major Number • and a Minor Number • The combination is actually what makes them unique
Attenuation • People • Walls • Desks • Plants •
Seems to be mitigated with more powerful beacons
Background Processes • Have to be synchronous • Have to
be on the one thread provided to you by OS
Conclusion • Good fun • Nice API provided by CLLocation
• SKDs are out there for commercial stuff • Easy tie in with systems like Carnival or your own • Very cool possibilities
Thanks! Questions? Sam Jarman | iOS Developer | Carnival Mobile
@samjarman