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

🍗🌡️ Using Web Bluetooth To Read BBQ Temperature Sensor Data: https://pqina.nl/blog/web-bluetooth-api-read-bbq-temperature-sensor-data/. Fun write-up by @rikschennink of his journey of getting useful data out of a BBQ thermometer with the #ProjectFugu 🐡 #WebBluetooth API.
Using Web Bluetooth To Read BBQ Temperature Sensor Data

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.

PQINA
One of the things that really pisses me off about the state of #Mozilla and #Firefox is how badly they're neglecting maker/educator movements. Prior to COVID my partner (a non-programmer) was regularly teaching kids intro to programming using the #microbit. Look at all the amazing things #adafruit is doing with web based programming education, using WebSerial and WebBluetooth to flash hardware. All of this required using Chrome though, because #Firefox wouldn't implement #WebBluetooth.
Here is a small introduction to Zephyr RTOS and #WebBluetooth, where you'll learn how to create a
Bluetooth GATT service in an app, flash it on a Nordic Semiconductor #nRF52840 Dongle and connect to it with your browser. Enjoy :) /cc @reillyeon @kennethrohde @tomayac https://dev.to/denladeside/getting-started-with-zephyr-and-web-bluetooth-355d
Getting started with Zephyr and Web Bluetooth

For this post, I wrote the embedded firmware and accompanying test web page in an afternoon - and I...

DEV Community

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

Mozilla Specification Positions

#WebBluetooth and #WebComponents are simple to use, here is how you combine the #NordicSemiconductor #Thingy52 with WebComponents to make a Web Thermometer (with some web enabling help from Spiderman): https://dev.to/denladeside/creating-a-web-thermometer-2137
Creating a Web Thermometer

Learn how to build a web thermometer with Web Bluetooth and Web Components

DEV Community

@sjpiper145

She loved this LED strip - it was part of the prop from my #WebDirections talk about #WebBluetooth. 😅

Want a sneak peak of my talk at Cluecon next week?

It’s titled “The power of web” (think the power of love song)

The Web is hugely powerful. Definitely come check out my talk next week if you’re in Chicago!

#webbluetooth #webapis #webrtc

Generic Sensors and Thingy:52: https://dev.to/denladeside/generic-sensors-and-thingy52-9oa. Cool post by Lars Knudsen, including a Thingy:52 driver for high-level access to the sensors on the device.

(#ProjectFugu 🐡 #GenericSensor #Thingy52 #WebBluetooth)

Generic Sensors and Thingy:52

Using an external sensor device when developing for Generic Sensors

DEV Community