Joy-Con 2/Joy-Con の Bluetooth の仕様に関する情報を少しメモする(+ 特殊なコントローラーなどの余談)
https://qiita.com/youtoy/items/79001c24a8bcb22fc096?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
Joy-Con 2/Joy-Con の Bluetooth の仕様に関する情報を少しメモする(+ 特殊なコントローラーなどの余談)
https://qiita.com/youtoy/items/79001c24a8bcb22fc096?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
has anyone tried to automatically reconnect to a ble device using web Bluetooth API from Chromium browsers? Any hints / examples would be nice #webbluetooth #ble #bluetooth
my usecase is to connect to a ble device tell it to reboot and automatically reconnect to it
Almost a year ago, I wanted to be able to get data from my Polar heart rate monitor, so I wrote some #TypeScript which translated a bunch of Bluetooth device protocol specs into more TypeScript which could parse them.
https://www.npmjs.com/package/@rickosborne/bluetools
Worked great. I was able to use #WebBluetooth in an (unrelated) Electron app to get heart rate data notifications as JS events. Yay to Polar for building a device which Just Works.
I've been using Dexcom Stelo glucose monitors for a few months, and thought it might be interesting to pull that data, too.
Nope. That device doesn't seem to adhere to the CGM or even basic Glucose GATT specs. In fact, it refuses to tell the Bluetooth API anything beyond that it was built by Dexcom.
Booooooo.
(I've worked in the medical device field for the last 10 years. I am well and truly aware of all of the implications of a medical device's data being easy to access. Yes, all of them. It's still my biodata and it should be my decision on how to use it.)
In this short read we’ll explore the Web Bluetooth API. We’ll connect with my Bluetooth BBQ thermometer. Then we’ll try to read out its data and listen to its temperature updates. At the end of the article you’ll have a good idea about what you can do with the Web Bluetooth API.
So sad that #Mozilla declined implementation of #WebBluetooth, #WebSerial and etc. (https://mozilla.github.io/standards-positions/#web-bluetooth)
I mean, the idea of manipulating serial or BT via webpage is dumb, I agree. But it's already here and in the world of growing variety of embedded platforms the demand will only grow. Ideas of HTTP and Web are abused, that's not good but common in technical evolution.
If I have to use web-flasher and web-BLE-data collectors I'd rather do it the Firefox, than Chromium.
But here we are
She loved this LED strip - it was part of the prop from my #WebDirections talk about #WebBluetooth. 😅