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
12
Working Faster as a Developer
samjarman
0
16
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
350
Android vs iOS: A 100% fully serious comparison by Jie Li and Sam Jarman
samjarman
0
380
Structuring Your Code With MVP
samjarman
0
290
Start Your Career Right - ITx 2018
samjarman
1
260
Start Your Career Right
samjarman
0
280
Other Decks in Technology
See All in Technology
SaaSの操作主体は人間からAIへ - 経理AIエージェントが目指す深い自動化
nishihira
0
130
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
180
Datadog で実現するセキュリティ対策 ~オブザーバビリティとセキュリティを 一緒にやると何がいいのか~
a2ush
0
180
Zephyr(RTOS)でARMとRISC-Vのコア間通信をしてみた
iotengineer22
0
120
AIエージェント時代に必要な オペレーションマネージャーのロールとは
kentarofujii
0
270
TUNA Camp 2026 京都Stage ヒューリスティックアルゴリズム入門
terryu16
0
650
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
520
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
FlutterでPiP再生を実装した話
s9a17
0
240
スケーリングを封じられたEC2を救いたい
senseofunity129
0
130
昔話で振り返るAWSの歩み ~S3誕生から20年、クラウドはどう進化したのか~
nrinetcom
PRO
0
130
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
190
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2.3k
Google's AI Overviews - The New Search
badams
0
950
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Claude Code のすすめ
schroneko
67
220k
How to make the Groovebox
asonas
2
2.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
New Earth Scene 8
popppiees
2
2k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
250
Information Architects: The Missing Link in Design Systems
soysaucechin
0
850
Writing Fast Ruby
sferik
630
63k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
370
Side Projects
sachag
455
43k
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