This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Passkey settings during the connection process

Hi,

I am using softdevice-7 and SDK 6.1 for our application.

If I connect using a passkey, first 「BLE_GAP_EVT_SEC_PARAMS_REQUEST」 event occurs, then the 「BLE_GAP_EVT_PASSKEY_DISPLAY」 event occurs.

After temporarily stopped in the event 「BLE_GAP_EVT_SEC_PARAMS_REQUEST」, is set by using the 「sd_ble_opt_set」 after requesting Passkey user. Then it is 「BLE_GAP_EVT_PASSKEY_DISPLAY」 events would like to flow that occurs. Is there a way to such a process?

When I actually move, after the 「BLE_GAP_EVT_SEC_PARAMS_REQUEST」 event, immediately 「BLE_GAP_EVT_PASSKEY_DISPLAY」 event occurs (become a passkey of random values), there is no time for the user to set the Passkey.

I know that i can set the Passkey in any using the 「sd_ble_opt_set」. I want a sufficient time between 「BLE_GAP_EVT_SEC_PARAMS_REQUEST」 and 「BLE_GAP_EVT_PASSKEY_DISPLAY」 events.

Parents Reply Children
No Data
Related