~~[Dev build] Testing request: Bluetooth ble-hid-to-ble-hid switchovers~~

Here is a dev build that fixes a number of bluetooth glitches that got introduced in 13.x release. I would appreciate if you gave it a try uhk-firmware-13.0.1-bluetooth_glitches-v1.tar.gz (Edit: all changes are already part of 13.0.2 firmware, including a number of bug fixes: Releases · UltimateHackingKeyboard/firmware · GitHub)

The number of ble hid connections is still 1 at a time, but (I hope) switching between them should work when triggered via switchHost "connection name".

2 Likes

@ryanc @tunney, I think you may be interested ;-).

Also, @pcooke9, there are some new ble controls since 13.x that should solve (some of) your neighbour problems - bluetooth advertise and set bluetooth.alwaysAdvertiseHid 0 commands.

3 Likes

That does allow me to pair with multiple devices and to switch between the hosts using the switch function. As the docs say <1 second pause going from one HID to the next. Seems to work consistently!

Which is great as it appears I will have to go to an office more regularly now! Ability to switch BL devices will be great.

2 Likes

Yup, I started disabling BLE advertising while AFUHK a few days ago.
Thanks a ton for that BTW!:smiling_face:

My experience with “bluetooth_glitches-v1”:
Both halves USB & bridge cable
Dongle, BLE Android phone, & BLE to PC via USB-BT500 adapter
Win11 OS

The devices switching seems to work pretty well now, but there’s a few issues…

•When multiple BLE devices are being used; If I switch from the PC USB-BT500 BLE connection to my phone, the Windows bluetooth device label changes from “UHK 80”, to “UHK 80 Right NUS”, and goes into a connection loop. Switching back to it will reconnect and stabilize, but sometimes the keystroke output won’t work, while the mouse/touchpad output will work.

•When switching away from my phone BLE, and back again, it will reconnect, but no mouse/touchpad or keystroke output.

•A weird minor issue-
If a BLE device and the dongle are connected;
The first time I switch to the dongle, it’s light will change from blue, to green (as expected). Then if I switch away from the dongle, and back again, the light gets stuck on blue indefinitely. It continues to properly send keystroke/touchpad data regardless of the wrong color though. If I reboot the UHK80, or use set bluetooth.enabled off & back on, the dongle light will reset back to green the first time switching to it, but repeats the stuck blue light if devices are changed again.

I think most of the above issues were present in earlier firmware, but I don’t really use BLE very often (outside of testing), so I can’t remember the details.

All was working well yesterday. Same devices today, same environment, won’t make the change of HIDs on the keyboard stays with the “->”

Macbook wired, macbook BLE, and iPhone BLE

managed to get them connected, then went away to lunch and then came back and unable to connect to BLE HIDs at all and the connection between the halves over BLE doesn’t seem to work again. Sorry Karel.

Emmm reflashing the firmware has got the functionality back…

That’s awesome. Going to mess with this. Ty!

@ryanc there is already a proper release that contains these at Releases · UltimateHackingKeyboard/firmware · GitHub :wink: .

1 Like