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
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iBeacon.pdf
ren
November 14, 2018
More Decks by ren
See All by ren
2025年の振り返り
renchild8
0
72
RxSwift
renchild8
1
170
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
ラッコキーワード サービス紹介資料
rakko
1
4.1M
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
980
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
200
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
380
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
330
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
420
Navigating Team Friction
lara
192
16k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
330
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
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 デバイスが受け取った電波の強度 距離を算出するために使う
課題も多い 価格が高い 初期設定がダルい 電波を扱うのでめっちゃブレる