Closed
Description
I have this to setup my security
NimBLEDevice::setSecurityIOCap(BLE_HS_IO_DISPLAY_YESNO ); // set display output capability
NimBLEDevice::setSecurityAuth(true, true, true); // bonding, man in the middle protection, secure connection
_service->createCharacteristic(FINGERPRINT_UUID, NIMBLE_PROPERTY::READ |
NIMBLE_PROPERTY::WRITE |
NIMBLE_PROPERTY::WRITE_ENC);
And I am just wondering if I have the correct understanding of bonding. My thought was after my phone pairs with this it won't have to confirm the connection ever again, but every time I try to right that characteristic after I reboot the chip I get the pop up on my android device confirming that I want to connect.
Is it possible to just have it remain connected using the BLE_HS_IO_DISPLAY_YESNO or am I just confused about what should be happening.
Metadata
Metadata
Assignees
Labels
No labels