Skip to content
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

[Feature Request] Reference example for BLE blacklist? #184

Open
LeeNX opened this issue Jun 26, 2023 · 1 comment
Open

[Feature Request] Reference example for BLE blacklist? #184

LeeNX opened this issue Jun 26, 2023 · 1 comment

Comments

@LeeNX
Copy link
Contributor

LeeNX commented Jun 26, 2023

Maybe some ideas of how to possible temporary blacklist a host from connecting to gamepad.

Whiling looking to testing BLE HID/GATT/HOG info for #182 , I ran into a problem where another bluetooth host kept trying to pair with my test device. This was annoying and I ended up giving up investigating, but later was thinking, if I could disable my gamepad from trying/allowing to pair with the bad/aggressive host, then I might not run into this problem.

My idea, is that while the gamepad is in the awaiting to pair mode, like asking to accept pairing, then if you hit some button, then for a set time (10min), gamepad would not allow or try to pair to the aggressive host.

Not sure if this is even possible, but an idea worth investigating and adding as an example to improve UX in general.

@LeeNX
Copy link
Contributor Author

LeeNX commented Jun 26, 2023

Extending this idea a little further, but might be a pro user, expose a HID service, with the text info on what device the gamepad is paired with, something like the temperature broadcast service. Would be better than using USB serial feedback or even an eInk screen or possible a BLE serial interface. Maybe just make it a debug mode, that is off by default.

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

No branches or pull requests

1 participant