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
38
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
310
Structuring Your Code With MVP
samjarman
0
220
Start Your Career Right - ITx 2018
samjarman
1
180
Start Your Career Right
samjarman
0
210
What's New in Push Notifications?
samjarman
0
320
The Future
samjarman
0
280
Other Decks in Technology
See All in Technology
よくわからんサービスについての問い合わせが来たときの強い味方 Amazon Q について
kazzpapa3
0
220
わたしとトラックポイント / TrackPoint tips
masahirokawahara
1
240
コンテンツを支える 若手ゲームクリエイターの アートディレクションの事例紹介 / cagamefi-game
cyberagentdevelopers
PRO
1
130
ネット広告に未来はあるか?「3rd Party Cookie廃止とPrivacy Sandboxの効果検証の裏側」 / third-party-cookie-privacy
cyberagentdevelopers
PRO
1
130
ABEMA のコンテンツ制作を最適化!生成 AI x クラウド映像編集システム / abema-ai-editor
cyberagentdevelopers
PRO
1
180
【若手エンジニア応援LT会】AWS Security Hubの活用に苦労した話
kazushi_ohata
0
160
初心者に Vue.js を 教えるには
tsukuha
5
390
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
4
4.6k
Apple/Google/Amazonの決済システムの違いを踏まえた定期購読課金システムの構築 / abema-billing-system
cyberagentdevelopers
PRO
1
220
APIテスト自動化の勘所
yokawasa
7
4.1k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
49k
AWS CDKでデータリストアの運用、どのように設計する?~Aurora・EFSの実践事例を紹介~/aws-cdk-data-restore-aurora-efs
mhrtech
4
650
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
Speed Design
sergeychernyshev
24
570
A Philosophy of Restraint
colly
203
16k
Scaling GitHub
holman
458
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
What's in a price? How to price your products and services
michaelherold
243
12k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Fireside Chat
paigeccino
32
3k
Ruby is Unlike a Banana
tanoku
96
11k
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