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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sam Jarman
May 14, 2015
Technology
240
0
Share
Experiences with iBeacon
Presented at Cocoaheads Wellington.
Sam Jarman
May 14, 2015
More Decks by Sam Jarman
See All by Sam Jarman
The Habits of Fast Developers
samjarman
0
14
The Habits of Fast Developers
samjarman
0
18
Working Faster as a Developer
samjarman
0
20
DRY, WET, SPOT…What?
samjarman
0
140
The Code was the Easy Part: Introducing an iOS Library at a Corporate
samjarman
0
310
A Guide to The Internet for Junior Developers
samjarman
0
350
Android vs iOS: A 100% fully serious comparison by Jie Li and Sam Jarman
samjarman
0
390
Structuring Your Code With MVP
samjarman
0
290
Start Your Career Right - ITx 2018
samjarman
1
270
Other Decks in Technology
See All in Technology
色を視る
yuzneri
0
270
CloudTrail を見つめ直してみる
kazzpapa3
1
130
AIはハッカーを減らすのか、増やすのか?──現役ホワイトハッカーから見るAI時代のリアル【MEGU-Meet】
cscengineer
PRO
0
230
Microsoft 365 / Microsoft 365 Copilot : 自分の状態を確認する「ラベル」について
taichinakamura
0
410
Scovilleモバイルエンジニア募集中.pdf
julienrudin
0
130
20260428_Product Management Summit_tadokoroyoshiro
tadokoro_yoshiro
15
16k
Rapid Start: Faster Internet Connections, with Ruby's Help
kazuho
2
920
生成AI時代のドキュメントに対する期待の整理と実践から得た学び / Rethinking Documentation for LLM: Lessons from Practice
bitkey
PRO
1
120
生成AIが変える SaaS の競争原理と弁護士ドットコムのプロダクト戦略
bengo4com
1
2.9k
Practical TypeProf: Lessons from Analyzing Optcarrot
mame
1
1.4k
AgentCore Managed Harness を使ってみよう
yakumo
2
270
AzureのIaC管理からログ調査まで、随所に役立つSkillsとCustom-Instructions / Boosting IaC and Log Analysis with Skills
aeonpeople
0
330
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
54k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Between Models and Reality
mayunak
3
270
Believing is Seeing
oripsolob
1
120
Skip the Path - Find Your Career Trail
mkilby
1
110
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
750
Building the Perfect Custom Keyboard
takai
2
740
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Un-Boring Meetings
codingconduct
0
280
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
200
The Limits of Empathy - UXLibs8
cassininazir
1
310
Mind Mapping
helmedeiros
PRO
1
170
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