Search found 1 match

by golden911
Sun Feb 25, 2024 4:50 pm
Forum: ESP-IDF
Topic: nimble: correct way to terminate connection when pairing key is incorrect
Replies: 1
Views: 801

nimble: correct way to terminate connection when pairing key is incorrect

Hi, I am writing a firmware based on the bleprh example code. My device has a display, which I will be using to show the passkey (BLE_SM_IOACT_DISP). Currently, if I type in the incorrect passkey on my phone, "ble_gap_security_initiate" still succeeds and I connect to the device, except it is not au...