#tinygo Bluetooth bonding POC on #nicenano :)

Battery state is just static to be fair, but next step is to understand how I implement HID input so I can add it to tinygo-keyboard by @sago35 🫣

@0xZogG great job!

@sago35
Welp, seems I need to make a PR to #tinygo Bluetooth implementation and we can move on on adjusting tinygo-keyboard for BLE support.

Though Bluetooth is still lack support to store keys (for autopairing and maybe lesc) and support for 2 connections (we still need other half being able to connect).
But it is nice step forward, I am really proud of myself here to be fair ;) BLE hid was nightmare, still need to poke few characteristics and values there :)

@0xZogG @sago35
🔥
Yes please! I was just reading the spec to try to do this as well, so I know it was not easy 😀 This would be a very welcome addition.

https://github.com/tinygo-org/bluetooth/issues/200

Want to make a BLE HID Keyboard · Issue #200 · tinygo-org/bluetooth

Perhaps Bonding is what is needed, but there may be other things needed. https://github.com/tinygo-org/bluetooth#api-stability Bonding and private addresses. Is anyone working on creating a BLE HID...

GitHub

@0xZogG @sago35

I am also happy to rest this and get it integrated into my own firmware library as well: https://github.com/bgould/keyboard-firmware

GitHub - bgould/keyboard-firmware

Contribute to bgould/keyboard-firmware development by creating an account on GitHub.

GitHub