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
190
Experiences with iBeacon
Presented at Cocoaheads Wellington.
Sam Jarman
May 14, 2015
Tweet
Share
More Decks by Sam Jarman
See All by Sam Jarman
DRY, WET, SPOT…What?
samjarman
0
42
The Code was the Easy Part: Introducing an iOS Library at a Corporate
samjarman
0
220
A Guide to The Internet for Junior Developers
samjarman
0
260
Android vs iOS: A 100% fully serious comparison by Jie Li and Sam Jarman
samjarman
0
320
Structuring Your Code With MVP
samjarman
0
220
Start Your Career Right - ITx 2018
samjarman
1
190
Start Your Career Right
samjarman
0
210
What's New in Push Notifications?
samjarman
0
330
The Future
samjarman
0
280
Other Decks in Technology
See All in Technology
信頼性に挑む中で拡張できる・得られる1人のスキルセットとは?
ken5scal
2
530
DMARC 対応の話 - MIXI CTO オフィスアワー #04
bbqallstars
1
160
TypeScript、上達の瞬間
sadnessojisan
46
13k
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
ハイパーパラメータチューニングって何をしているの
toridori_dev
0
140
社内で最大の技術的負債のリファクタリングに取り組んだお話し
kidooonn
1
550
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
250
ドメイン名の終活について - JPAAWG 7th -
mikit
33
20k
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
1
150
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
370
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Six Lessons from altMBA
skipperchong
27
3.5k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
How STYLIGHT went responsive
nonsquared
95
5.2k
Documentation Writing (for coders)
carmenintech
65
4.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
BBQ
matthewcrist
85
9.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
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