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

driver error on Windows #137

Open
13Pixel opened this issue Nov 7, 2023 · 5 comments
Open

driver error on Windows #137

13Pixel opened this issue Nov 7, 2023 · 5 comments

Comments

@13Pixel
Copy link

13Pixel commented Nov 7, 2023

Hello, I'm having some issues with HID and windows. On Linux everything work fine.

I modified Simple ble server example and added NimBLEHIDDevice. Problem is that on Windows I get driver error, on this bluetooth device.

Does anyone had similar issues?

Thanks.

@thomasMEBaker
Copy link

@13Pixel - I am experiencing the same issue. Did you find a fix for this?

@13Pixel
Copy link
Author

13Pixel commented Feb 6, 2024

Unfortunately no, Couldn't find way to fix this, so put it on hold till I'll have time to figure it out.

@h2zero
Copy link
Owner

h2zero commented Feb 6, 2024

Do you have bonding enabled? I believe it's a requirement in windows.

@thomasMEBaker
Copy link

As in "Persist the BLE Bonding keys in NVS" within the Nimble Options?

@h2zero
Copy link
Owner

h2zero commented Jun 14, 2024

You should enable that as well as set the device to bond by calling NimBLEDevice::setSecurityAuth(true, false, true); You'll also need to call NimBLEDevice::startSecurity in the on connect callback or set the characteristic properties to require encryption.

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

3 participants