Bluetooth Installation Bluetooth-Installation Installation ...
Web Bluetooth - Controlling the Real World from your Browser
14
Peter O’Shaughnessy Web Bluetooth Controlling the real world from your browser
-
Upload
pebble-code -
Category
Software
-
view
348 -
download
1
Transcript of Web Bluetooth - Controlling the Real World from your Browser
![Page 1: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/1.jpg)
Peter O’Shaughnessy
Web BluetoothControlling the real world
from your browser
![Page 2: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/2.jpg)
www.bragi.com
![Page 3: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/3.jpg)
www.vinaya.com
![Page 5: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/5.jpg)
tangramfactory.com
![Page 6: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/6.jpg)
Connected Devices
viget.com
![Page 7: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/7.jpg)
![Page 8: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/8.jpg)
Web Bluetooth
bit.ly/web-bluetooth-spec
Chrome for Android Dev · Chrome OS · Firefox OS
![Page 9: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/9.jpg)
![Page 10: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/10.jpg)
![Page 11: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/11.jpg)
navigator.bluetooth.requestDevice({filters: [{ services: ['battery_service'] }] }).then(device => device.connectGATT()).then(server => { return
server.getPrimaryService('battery_service');}).then(service => { return
service.getCharacteristic('battery_level');}).then(characteristic => { // Reading Battery Level... return characteristic.readValue();})
bit.ly/chrome-bluetooth-guide
![Page 12: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/12.jpg)
Live Demo
![Page 14: Web Bluetooth - Controlling the Real World from your Browser](https://reader035.fdocuments.in/reader035/viewer/2022070601/588284d91a28ab24788b7421/html5/thumbnails/14.jpg)
@poshaughnessy
bit.ly/web-bluetooth-drone
pebblecode.com/careers/