Hacker News new | past | comments | ask | show | jobs | submit login

Bluetooth API won't give useful fingerprinting information unless the user allows it with a very obtrusive prompt.

It's not something that's useful to the majority of websites, but I find it extremely useful for hobby ESP32-based electronics projects. It gives an easy way to configure individual boards, with no weird captive WiFi portal required. It's cross-platform (Windows, Mac, Linux, Android, just not iOS), and no native app required, an an easy-to-use API. This means means a lot less development overhead for my hobby projects. And it means I can give devices to family & friends without them needing to fiddle with firmware to configure the device.




I’ve got an ESP32 board sitting in a box somewhere that I’ve been meaning to get out and fiddle with. This has certainly piqued my interest.

Are there any good resources you could link to that you found useful when connecting to those kind of boards from Web APIs please?


On the device side I've used a lot of code from the CanAirIO project: https://github.com/kike-canaries/CanAirIO. I do want to switch my code to the NimBLE stack instead of the default bluetooth stack at some point - apparently it uses a lot less memory.

On the web side I don't currently have any good public examples, but the generic Web Bluetooth samples here are a good starting point: https://googlechrome.github.io/samples/web-bluetooth/

Maybe I'll write a proper blog on this if I get some spare time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: