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

NimBLE_extended_server encrypt #126

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

NimBLE_extended_server encrypt #126

enhany opened this issue Jun 26, 2023 · 1 comment

Comments

@enhany
Copy link

enhany commented Jun 26, 2023

Hello.

When using NimBLE_extended_server example with:

	NimBLEDevice::setSecurityIOCap(BLE_HS_IO_NO_INPUT_OUTPUT);
	NimBLEDevice::setSecurityAuth(BLE_SM_PAIR_AUTHREQ_BOND | BLE_SM_PAIR_AUTHREQ_MITM | BLE_SM_PAIR_AUTHREQ_SC);

then not possible to bond. Any bond request just disconnect client.

@h2zero
Copy link
Owner

h2zero commented Aug 13, 2023

Please try again with only setting bond flag: NimBLEDevice::setSecurityAuth(BLE_SM_PAIR_AUTHREQ_BOND);

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

2 participants