Hi there
I'd like to mention that we have ported BTstack with the help of Emscripten to run in Chrome-based browsers using a Bluetooth Controller connected via a serial port, e.g. /dev/tty.
All examples from the develop branch are built and hosted at
https://bluekitchen-gmbh.com/btstack/develop/web-h4/EXAMPLE.html
E.g. GATT Counter is at
https://bluekitchen-gmbh.com/btstack/develop/web-h4/gatt_counter.html
The non-Bluetooth examples, e.g. audio_player, start automatically, while the regular examples require to set the UART baudrate and to press the "Connect" button to allow the web app to access the serial port.
The Debug Log and HCI Log checkmarks allow to route the HCI Log to the terminal, while the "Download HCI Packet Log" provides the binary packet log.
Requirements:
- A Chrome-based browser, e.g. Google Chrome or Microsoft Edge
- A Bluetooth Controler that does not require firmware download
We have tested with the Ezurio BL654 with the Bluetooth PTS firmware, or the other nRF5x Controllers using an HCI UART Bridge here:
https://github.com/bluekitchen/hci_uart_iso_timesync
For Classic, we have used Ezurio's Vela-IF820 Devkit running their 3 mbps HCI firmware.
Please let me know how you like it and what you're missing.
Cheers
Matthias