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.)