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
iBeacon.pdf
Search
ren
November 14, 2018
0
83
iBeacon.pdf
ren
November 14, 2018
Tweet
Share
More Decks by ren
See All by ren
2025年の振り返り
renchild8
0
39
RxSwift
renchild8
1
140
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
410
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
420
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
360
The untapped power of vector embeddings
frankvandijk
1
1.5k
Getting science done with accelerated Python computing platforms
jacobtomlinson
0
92
Evolving SEO for Evolving Search Engines
ryanjones
0
94
Believing is Seeing
oripsolob
0
20
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
37
Facilitating Awesome Meetings
lara
57
6.7k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
110
Transcript
iBeaconの話
自己紹介 Twitter:ren(@renchild8)
アプリを作った
どんなアプリ? スマートフォンを使ってスタンプラリーをするアプリ チェックポイントにBeaconを設置し Beaconが発信する情報をスマートフォンで受信 受信した情報に応じて画像を入手できる
Beaconって何? Bluetoothの信号の発信機 iOSの場合「iBeacon」という規格を使う
iBeacon BeaconをiOSで扱うための規格 「UUID」「Major」「Minor」「RSSI」などの情報を発信する。
128bitで表現される識別子 アプリ内で一意となる(事が多い) UUID
Major 同一 UUIDを持つiBeaconの識別子として使用(16bit) アプリでは「日付」の意味合いを持つ
Minor 同一UUIDとmajorを持つiBeaconの識別子として使用(16bit) アプリでは「番号」の意味合いを持つ
RSSI デバイスが受け取った電波の強度 距離を算出するために使う
課題も多い 価格が高い 初期設定がダルい 電波を扱うのでめっちゃブレる