Web Bluetoothでパンチの効いたLT
22
Web Bluetooth でパンチの効いたLT 2017.10.19 Hiroshi Ueda
-
Upload
hiroshi-ueda -
Category
Engineering
-
view
340 -
download
1
Transcript of Web Bluetoothでパンチの効いたLT
![Page 1: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/1.jpg)
Web Bluetooth でパンチの効いたLT
2017.10.19
Hiroshi Ueda
![Page 2: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/2.jpg)
打つべし
![Page 3: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/3.jpg)
打つべし
![Page 4: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/4.jpg)
打つべし
![Page 5: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/5.jpg)
打つべし!
![Page 6: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/6.jpg)
!
![Page 7: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/7.jpg)
疲れたので、デモ内容を説明します
![Page 8: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/8.jpg)
ハード(機構)
![Page 9: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/9.jpg)
ハード(電気)
![Page 10: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/10.jpg)
ファーム
![Page 11: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/11.jpg)
アプリ
![Page 12: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/12.jpg)
Web Bluetooth API
![Page 13: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/13.jpg)
Web Bluetooth APIとはWeb Bluetooth
BLE通信できるWebブラウザのAPI
BLEのみ
現状Chromeのみ
![Page 14: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/14.jpg)
メリットWeb Bluetooth
WiFiと比べて低消費電力
ユーザー側はインストール不要
従来のBLEアプリ開発に比べ低学習コスト
![Page 15: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/15.jpg)
デメリットWeb Bluetooth
機能未実装や未対応OSがある
従来のBLEアプリには性能は劣る
そのうち対応になるかも
![Page 16: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/16.jpg)
Web Bluetooth APIのサンプルWeb Bluetooth
JS中級者向け
![Page 17: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/17.jpg)
BlueJellyの登場!Web Bluetooth
簡単に使えるラッパーライブラリ
var ble = new BlueJelly( );
ble.read("UUID1");
ble.setUUID("UUID1", service, char);
![Page 19: Web Bluetoothでパンチの効いたLT](https://reader034.fdocument.pub/reader034/viewer/2022051007/5a6477af7f8b9afc4d8b482f/html5/thumbnails/19.jpg)
BlueJellyの応用
「ハードウェアのプロ」で検索