SlideShare a Scribd company logo
1 of 43
Download to read offline
AndroidとiOSのBLEな事情 3
2014/01/28 created
2014/03/23 2014/12/23 updated
@youten_redo
Bluetooth Low Energy
http://www.bluetooth.com/Pages/Bluetooth-
Brand.aspx
Central and Peripheral
PP P
C
Scan
P
CC
Advertise
P
Ad
Ad
P
discovered!
CC
Ad
Ad
Ad
Connect
P
C
connected!
P
C
Service discover
P
C
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Profile
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Profile
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Profile
Find Me Profile (FMP)
Profile
Immediate Alert Service
Alert Level Char. - Write without Response
Proximity Profile (PXP)
Immediate Alert Service
Alert Level Char. - Write without Response
Link Loss Service
Alert Level Char. - Read/Write
Tx Power Service	
Tx Power Level Char. - Read
M M
O
O
M M
M
M
UUID
Profile
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Profile
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
Service
Characte
ristic
Characte
ristic
Characte
ristic
Characte
ristic
UUID UUID UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID UUID UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
UUID
Characteristic - Broadcast, Read, Write without
Response, Write, Notify, Indicate, Signed Write,
Reliable Write, Writable Auxiliaries
P
C
Characte
ristic
Value Value
Read, Write, Notify
P
C
P
C
Characte
ristic
P
C
Characte
ristic
Value Value Value
Characte
ristic
Write without Response,
Indicate
P
C
Characte
ristic
P
C
Value Value
Characte
ristic
Example
Try
iOS 5 can be Central.
iPhone - StickNFind
P
C
StickNFind
P
LightBlue
Device Information Service
P
C
Device Information Service
Manufacturer Name Char. - Read
Model Number Char. - Read
Serial Number Char. - Read
Hardware Revision Char. - Read
Software Revision Char. - Read
Read - Manufacturer Name
P
C
Device Information Service
Manufacturer Name Char. - Read
“StickNfind”
Immediate Alert Service
P
C
Immediate Alert Service
Alert Level Char. - Write without Response
※StickNFindは2014.04ごろのアップデー
トによりIAS等を標準UUIDで公開せず、独
自UUIDでの動作となってしまいましたた
め、現状は試行できません。
Write - Alert Level
P
C
Immediate Alert Service
Alert Level Char. - Write without Response
0x03
LED Flash and Beep!
Android 4.3 can be Central.
Android - StickNFind
P
C
Read - Manufacturer Name
P
C
Device Information Service
Manufacturer Name Char. - Read
“StickNfind”
Write - Alert Level
P
C
Immediate Alert Service
Alert Level Char. - Write without Response
0x03
LED Flash and Beep!
※StickNFindは2014.04ごろのアップデー
トによりIAS等を標準UUIDで公開せず、独
自UUIDでの動作となってしまいましたた
め、現状は試行できません。
BLERW
Characteristic Read/Write
Example for Android
https://github.com/
youten/BLERW
for Android 4.3 or Later
Recommend Nexus 5
with Android 4.4 KitKat
iOS 6 can be Peripheral.
Android - iPhone
P
C
ImmPeri
Peripheral (as Immediate
Alert Service Device)
Example for iOS
https://github.com/
youten/ImmPeri
for iOS 7
iBeacon
A particular format Advertisement.
P
iBeacon Ad
iBeacon Ad
Include UUID and 2 number.
P
iBeacon Ad
iBeacon Ad
fixed proximity UUID major minor
Tx
Power
Unique 128-bit value like
“6E15D0C4-01F3-4507-84F4-D4BC26C363E0”
16-bit unsigned int
Can detect on both iOS and Android.
P
iBeacon Ad
CC CC
iBeacon! iBeacon!
iBeacon Ad
iBeacon Detector
scan BLE device and
detect iBeacon App.
https://github.com/
youten/iBeaconDetector
for Android 4.3 or later
Mavericks can be Central
and Peripheral.
Mavericks is Strong!
P
iBeacon Ad
CC CC
iBeacon! iBeacon!
iBeacon Ad
XBeacon
OS X iBeacon App.
running on Status Bar.
https://github.com/
youten/XBeacon
for Mavericks Mac being
available BLE.
But Yosemite can’t adv as iBeacon.
Android 5.0 Lollipop can be
Peripheral.
Android - Android
P
C
But, Available only Nexus 6 and 9.
https://code.google.com/p/android-developer-preview/
issues/detail?id=1570#c52
Status:WontFix
"Due to hardware chipset dependency, older Nexus
devices (4/5/7) will not have access to the feature on
Lollipop.”
aBeacon
(1) Peripheral that Advertise iBeacon compatible.
(2) Find Me Profile Peripheral, include Device Information
Service and Immediate Alert Service.
https://github.com/youten/aBeacon
For Android 5.0 Lollipop, I’ve tried with Nexus 9.

More Related Content

Viewers also liked

第4回目大垣iBeaconハッカソン
第4回目大垣iBeaconハッカソン第4回目大垣iBeaconハッカソン
第4回目大垣iBeaconハッカソン
akihiro uehara
 
[CB16] スマートフォン制御のIoTデバイスにおけるBLE認証設計の課題:Gogoroスマートスクターの分析を通じて by Chen-yu Dai [...
[CB16] スマートフォン制御のIoTデバイスにおけるBLE認証設計の課題:Gogoroスマートスクターの分析を通じて by Chen-yu Dai [...[CB16] スマートフォン制御のIoTデバイスにおけるBLE認証設計の課題:Gogoroスマートスクターの分析を通じて by Chen-yu Dai [...
[CB16] スマートフォン制御のIoTデバイスにおけるBLE認証設計の課題:Gogoroスマートスクターの分析を通じて by Chen-yu Dai [...
CODE BLUE
 
[CB16] 機械学習でWebアプリケーションの脆弱性を見つける方法 by 高江須 勲
[CB16] 機械学習でWebアプリケーションの脆弱性を見つける方法 by 高江須 勲[CB16] 機械学習でWebアプリケーションの脆弱性を見つける方法 by 高江須 勲
[CB16] 機械学習でWebアプリケーションの脆弱性を見つける方法 by 高江須 勲
CODE BLUE
 

Viewers also liked (18)

20140806 i beacon講演_愛知工業大学
20140806 i beacon講演_愛知工業大学20140806 i beacon講演_愛知工業大学
20140806 i beacon講演_愛知工業大学
 
第4回目大垣iBeaconハッカソン
第4回目大垣iBeaconハッカソン第4回目大垣iBeaconハッカソン
第4回目大垣iBeaconハッカソン
 
20160608 iotセミナー
20160608 iotセミナー20160608 iotセミナー
20160608 iotセミナー
 
FakeRiftとtaovisorをやってみてわかったこと ABC2014w版
FakeRiftとtaovisorをやってみてわかったこと   ABC2014w版FakeRiftとtaovisorをやってみてわかったこと   ABC2014w版
FakeRiftとtaovisorをやってみてわかったこと ABC2014w版
 
openFrameworks-jp Tokyo Meetup 2015 autumn
openFrameworks-jp Tokyo Meetup 2015 autumnopenFrameworks-jp Tokyo Meetup 2015 autumn
openFrameworks-jp Tokyo Meetup 2015 autumn
 
InfoTalk#17 1st
InfoTalk#17 1stInfoTalk#17 1st
InfoTalk#17 1st
 
Unity実装事例紹介 〜 Tokyo Virtual Waking 23 〜 (第32回プロ生勉強会)
Unity実装事例紹介 〜 Tokyo Virtual Waking 23 〜 (第32回プロ生勉強会)Unity実装事例紹介 〜 Tokyo Virtual Waking 23 〜 (第32回プロ生勉強会)
Unity実装事例紹介 〜 Tokyo Virtual Waking 23 〜 (第32回プロ生勉強会)
 
Beaconのお話
Beaconのお話Beaconのお話
Beaconのお話
 
Eddystone概要と事例
Eddystone概要と事例Eddystone概要と事例
Eddystone概要と事例
 
エリック・エヴァンスのドメイン駆動設計 第3部〜8章まで
エリック・エヴァンスのドメイン駆動設計 第3部〜8章までエリック・エヴァンスのドメイン駆動設計 第3部〜8章まで
エリック・エヴァンスのドメイン駆動設計 第3部〜8章まで
 
20141114 ddd13章 より深い洞察へと向かうリファクタリング
20141114 ddd13章 より深い洞察へと向かうリファクタリング20141114 ddd13章 より深い洞察へと向かうリファクタリング
20141114 ddd13章 より深い洞察へと向かうリファクタリング
 
20140922 ble bootcamp
20140922 ble bootcamp20140922 ble bootcamp
20140922 ble bootcamp
 
20170304 fmcn playbulb
20170304 fmcn playbulb20170304 fmcn playbulb
20170304 fmcn playbulb
 
20150909 日本androidの会9月定例講演資料
20150909 日本androidの会9月定例講演資料20150909 日本androidの会9月定例講演資料
20150909 日本androidの会9月定例講演資料
 
[CB16] スマートフォン制御のIoTデバイスにおけるBLE認証設計の課題:Gogoroスマートスクターの分析を通じて by Chen-yu Dai [...
[CB16] スマートフォン制御のIoTデバイスにおけるBLE認証設計の課題:Gogoroスマートスクターの分析を通じて by Chen-yu Dai [...[CB16] スマートフォン制御のIoTデバイスにおけるBLE認証設計の課題:Gogoroスマートスクターの分析を通じて by Chen-yu Dai [...
[CB16] スマートフォン制御のIoTデバイスにおけるBLE認証設計の課題:Gogoroスマートスクターの分析を通じて by Chen-yu Dai [...
 
20160320 BLE4.2勉強会 MakerLab Nagoya
20160320 BLE4.2勉強会 MakerLab Nagoya20160320 BLE4.2勉強会 MakerLab Nagoya
20160320 BLE4.2勉強会 MakerLab Nagoya
 
職業プログラマに必要な意識について
職業プログラマに必要な意識について職業プログラマに必要な意識について
職業プログラマに必要な意識について
 
[CB16] 機械学習でWebアプリケーションの脆弱性を見つける方法 by 高江須 勲
[CB16] 機械学習でWebアプリケーションの脆弱性を見つける方法 by 高江須 勲[CB16] 機械学習でWebアプリケーションの脆弱性を見つける方法 by 高江須 勲
[CB16] 機械学習でWebアプリケーションの脆弱性を見つける方法 by 高江須 勲
 

Similar to AndroidとiOSのBLEな事情 3

IoT Assisted Fingerprint Based Door Security System using Raspberry PI 4
IoT Assisted Fingerprint Based Door Security System using Raspberry PI 4IoT Assisted Fingerprint Based Door Security System using Raspberry PI 4
IoT Assisted Fingerprint Based Door Security System using Raspberry PI 4
ijtsrd
 

Similar to AndroidとiOSのBLEな事情 3 (20)

IoT Assisted Fingerprint Based Door Security System using Raspberry PI 4
IoT Assisted Fingerprint Based Door Security System using Raspberry PI 4IoT Assisted Fingerprint Based Door Security System using Raspberry PI 4
IoT Assisted Fingerprint Based Door Security System using Raspberry PI 4
 
Benvenuti nella “API Economy”
Benvenuti nella “API Economy”Benvenuti nella “API Economy”
Benvenuti nella “API Economy”
 
iPhone App Development
iPhone App Development iPhone App Development
iPhone App Development
 
Webinar thethings.iO + Sigfox
Webinar thethings.iO + SigfoxWebinar thethings.iO + Sigfox
Webinar thethings.iO + Sigfox
 
Mobile app development
Mobile app developmentMobile app development
Mobile app development
 
Swift Development
Swift DevelopmentSwift Development
Swift Development
 
What's New in IoT?
What's New in IoT?What's New in IoT?
What's New in IoT?
 
Smart Surveillance Monitoring System using Raspberry pi and pir sensor
Smart Surveillance Monitoring System using Raspberry  pi and pir sensorSmart Surveillance Monitoring System using Raspberry  pi and pir sensor
Smart Surveillance Monitoring System using Raspberry pi and pir sensor
 
IRJET - IoT based Anti Theft Detection and Alerting System using Raspberry Pi
IRJET - IoT based Anti Theft Detection and Alerting System using Raspberry PiIRJET - IoT based Anti Theft Detection and Alerting System using Raspberry Pi
IRJET - IoT based Anti Theft Detection and Alerting System using Raspberry Pi
 
IRJET - Bus Indication for Blind People using RFID & Raspberry Pi
IRJET - Bus Indication for Blind People using RFID & Raspberry PiIRJET - Bus Indication for Blind People using RFID & Raspberry Pi
IRJET - Bus Indication for Blind People using RFID & Raspberry Pi
 
Preparing for Release to the App Store
Preparing for Release to the App StorePreparing for Release to the App Store
Preparing for Release to the App Store
 
Portfolio 2015
Portfolio 2015Portfolio 2015
Portfolio 2015
 
IoT at Scale
IoT at ScaleIoT at Scale
IoT at Scale
 
Insights at Your Fingertips: Maximizing API Observability with Gateway Plugins
Insights at Your Fingertips: Maximizing API Observability with Gateway PluginsInsights at Your Fingertips: Maximizing API Observability with Gateway Plugins
Insights at Your Fingertips: Maximizing API Observability with Gateway Plugins
 
IoT Commerce using Ruby, PHP and Arduino
IoT Commerce using Ruby, PHP and Arduino IoT Commerce using Ruby, PHP and Arduino
IoT Commerce using Ruby, PHP and Arduino
 
Cloud Foundry for Data Science
Cloud Foundry for Data ScienceCloud Foundry for Data Science
Cloud Foundry for Data Science
 
Secure Your Edge-to-Cloud IoT Solution with Intel and AWS - IOT337 - re:Inven...
Secure Your Edge-to-Cloud IoT Solution with Intel and AWS - IOT337 - re:Inven...Secure Your Edge-to-Cloud IoT Solution with Intel and AWS - IOT337 - re:Inven...
Secure Your Edge-to-Cloud IoT Solution with Intel and AWS - IOT337 - re:Inven...
 
IoT Platform Provider Market Watch v2 - July 2017
IoT Platform Provider Market Watch v2 - July 2017IoT Platform Provider Market Watch v2 - July 2017
IoT Platform Provider Market Watch v2 - July 2017
 
APIs and Restful APIs
APIs and Restful APIsAPIs and Restful APIs
APIs and Restful APIs
 
Using WordPress as a Headless CMS with WPGraphQL
Using WordPress as a Headless CMS with WPGraphQLUsing WordPress as a Headless CMS with WPGraphQL
Using WordPress as a Headless CMS with WPGraphQL
 

More from youten (ようてん)

More from youten (ようてん) (20)

Why VTuber?
Why VTuber?Why VTuber?
Why VTuber?
 
ネトゲで人生を脅かされた人は今VRで何を思うのか
ネトゲで人生を脅かされた人は今VRで何を思うのかネトゲで人生を脅かされた人は今VRで何を思うのか
ネトゲで人生を脅かされた人は今VRで何を思うのか
 
Google VRとDaydreamの最近の話
Google VRとDaydreamの最近の話Google VRとDaydreamの最近の話
Google VRとDaydreamの最近の話
 
CardboardとDaydreamの覚えてなくても困らない話 #ABC2017s
CardboardとDaydreamの覚えてなくても困らない話 #ABC2017sCardboardとDaydreamの覚えてなくても困らない話 #ABC2017s
CardboardとDaydreamの覚えてなくても困らない話 #ABC2017s
 
本を書こう(雑に)
本を書こう(雑に)本を書こう(雑に)
本を書こう(雑に)
 
Android History 2016
Android History 2016Android History 2016
Android History 2016
 
「0.5VRぐらい」の話 #VRごっちゃにLT #cluster
「0.5VRぐらい」の話 #VRごっちゃにLT #cluster「0.5VRぐらい」の話 #VRごっちゃにLT #cluster
「0.5VRぐらい」の話 #VRごっちゃにLT #cluster
 
Android History 2015
Android History 2015Android History 2015
Android History 2015
 
IoTゲームの難易度雑感
IoTゲームの難易度雑感IoTゲームの難易度雑感
IoTゲームの難易度雑感
 
錬金術師ごっこ #OcuJam #Ocunif
錬金術師ごっこ #OcuJam #Ocunif錬金術師ごっこ #OcuJam #Ocunif
錬金術師ごっこ #OcuJam #Ocunif
 
Android History 2014
Android History 2014Android History 2014
Android History 2014
 
Oculus Rift+Unity+MMD #andeb
Oculus Rift+Unity+MMD #andebOculus Rift+Unity+MMD #andeb
Oculus Rift+Unity+MMD #andeb
 
SeikenWear その1
SeikenWear その1SeikenWear その1
SeikenWear その1
 
Google I/O 2014
Google I/O 2014Google I/O 2014
Google I/O 2014
 
JSON吸って吐く機械
JSON吸って吐く機械JSON吸って吐く機械
JSON吸って吐く機械
 
20131126 Android昔話 2013
20131126 Android昔話 201320131126 Android昔話 2013
20131126 Android昔話 2013
 
FourBeat apk, enchant.js memo #FourBeat
FourBeat apk, enchant.js memo #FourBeatFourBeat apk, enchant.js memo #FourBeat
FourBeat apk, enchant.js memo #FourBeat
 
20121113 Android昔話2012
20121113 Android昔話201220121113 Android昔話2012
20121113 Android昔話2012
 
20120906 Javaはオワコンなのか自問してみた
20120906 Javaはオワコンなのか自問してみた20120906 Javaはオワコンなのか自問してみた
20120906 Javaはオワコンなのか自問してみた
 
20120324 ABC2012S LT 猿によるなめこ収穫(仮)
20120324 ABC2012S LT 猿によるなめこ収穫(仮)20120324 ABC2012S LT 猿によるなめこ収穫(仮)
20120324 ABC2012S LT 猿によるなめこ収穫(仮)
 

Recently uploaded

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

AndroidとiOSのBLEな事情 3