$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iBeacon.pdf
Search
ren
November 14, 2018
0
79
iBeacon.pdf
ren
November 14, 2018
Tweet
Share
More Decks by ren
See All by ren
2025年の振り返り
renchild8
0
24
RxSwift
renchild8
1
140
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Optimizing for Happiness
mojombo
379
70k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
The Cult of Friendly URLs
andyhume
79
6.7k
Six Lessons from altMBA
skipperchong
29
4.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
How to train your dragon (web standard)
notwaldorf
97
6.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
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 デバイスが受け取った電波の強度 距離を算出するために使う
課題も多い 価格が高い 初期設定がダルい 電波を扱うのでめっちゃブレる