Skip to content

Allow multiple parallel HOGP connections#1597

Draft
benedekkupper wants to merge 2 commits into
masterfrom
multi-hogp
Draft

Allow multiple parallel HOGP connections#1597
benedekkupper wants to merge 2 commits into
masterfrom
multi-hogp

Conversation

@benedekkupper

Copy link
Copy Markdown
Contributor

This is the PR achieving multiple parallel HOGP connections. To allow for this, a new concept is introduced, the hid::session. This object has the lifetime of an HID connection, in the case of USB as long as the device is configured, in the case of BLE from the point where a HOGP attribute is accessed until disconnection. In the case of BLE, each bt_conn needs its own hid::session, and this is the part that's not implemented yet, because I don't know the full context. @kareltucek I ask you to go over this and implement the new TODOs in the changes, and all the adaptations for the new connection switching logic.

I have only done a quick smoke test on this first branch version with UHK60, UHK80 is guaranteed not to work without further changes.

Closes #1549

@benedekkupper
benedekkupper marked this pull request as draft July 14, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Benedek wish: Multi-hogp operation.

1 participant