esp-nimble-cpp icon indicating copy to clipboard operation
esp-nimble-cpp copied to clipboard

NimBLE_extended_server encrypt

Open enhany opened this issue 2 years ago • 1 comments

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.

enhany avatar Jun 26 '23 18:06 enhany

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

h2zero avatar Aug 13 '23 16:08 h2zero

Closing as there has been no response.

h2zero avatar Jun 14 '24 17:06 h2zero