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
Thoughts on Productivity
jonyablonski
73
5k
Navigating Weather and Climate Data
rabernat
0
66
Facilitating Awesome Meetings
lara
57
6.7k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
96
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
690
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
97
The Language of Interfaces
destraynor
162
26k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
0
51
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 デバイスが受け取った電波の強度 距離を算出するために使う
課題も多い 価格が高い 初期設定がダルい 電波を扱うのでめっちゃブレる