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
69
iBeacon.pdf
ren
November 14, 2018
Tweet
Share
More Decks by ren
See All by ren
RxSwift
renchild8
1
130
Featured
See All Featured
Being A Developer After 40
akosma
89
590k
A designer walks into a library…
pauljervisheath
205
24k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
52k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
640
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
980
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Speed Design
sergeychernyshev
27
800
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.3k
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 デバイスが受け取った電波の強度 距離を算出するために使う
課題も多い 価格が高い 初期設定がダルい 電波を扱うのでめっちゃブレる