-
Notifications
You must be signed in to change notification settings - Fork 71
Making the UHK unpair hosts #1160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
When unpairing my UHK 80 on Windows 11, Zephyr crashed:
|
Well, you say you have deleted the pairing, so the name is no longer available in the Host Connections section of the UserConfig, so obviously it is shown as unknown. In other scenarios this can happen even when the device is still paired. Ble hid devices use different addresses for secured and unsecured connections, meaning that a connection address often changes midway through the connection initiation seuqence. For this reason, we match ble connections against HostConnections only very late in the initiation sequence.
Well, zephyr stores them that way in its settings too. I.e., reverse to what they are stored in RAM as raw addresses. So yes, I guess Robi should reverse it. |
Well, we have been using this all along.
Not sure if that is different from |
The name is still available because the "delete device pairings" button doesn't remove host connections, only keys. The firmware should always use host connection names in the log. |
Ah, I see. Logging uses the peer id of the connection.
|
I paired my UHK 80 on Windows 11, then I deleted device pairings on the UHK in Agent.
Afterward, Windows tried aggressively connecting to my UHK. I saw the following twice per second:
If the key doesn't exist on the UHK, I think the best solution is to make the UHK tell the host to unpair. According to Claude, the following options may work:
Full Claude conversation
@benedekkupper Can you provide insight regarding the best solution that should work cross-platform?
@kareltucek Questions:
connected unknown (a8:41:f4:11:a4:08)
is featured in the log, yet, in Agent, the8:a4:11:f4:41:a8 Windows laptop
host connection exists. Why is "unknown" displayed instead of "Windows laptop" in the log? We should display the host name whenever available.The text was updated successfully, but these errors were encountered: