However, I'm thinking about if this can be done over the web with a simple html file and the Google Bluetooth API. My question is, what are people's experiences with building bluetooth-enabled apps on the web? Did you have any security concerns if any? Did you build a web app and decided it was too much effort, and default to building a native/cross-platform app?
I recently built an application involving BLE (although not in a browser), and was quite surprised by how straightforward it can be. I’d recommend O’Riley’s Getting Started with Bluetooth Low Energy[1] as a quick skim to understand the core BLE concepts.
If you’re unsure how your device’s services and characteristics are set up, then using a decent inspector app is good if you’re trying to reverse engineer the values, I recommend BT Inspector[2] but unfortunately it’s iOS/MacOS only.
[0] https://developer.chrome.com/articles/bluetooth/#https-only
[1] https://www.oreilly.com/library/view/getting-started-with/97...
[2] https://apps.apple.com/gb/app/bluetooth-inspector/id15090850...