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

sd_ble_gap_lesc_dhkey_reply's error on "ble_app_multirole_lesc"

I have a question about the sample project "ble_app_multirole_lesc(SDK V14.2.0)".

・ "Central": iPhone 5s (iOS V11.2.2)
・ "Peripheral": nRF52832(SDK V14.2.0, S132 V5.0.0)

When connecting both, "BLE_GAP_EVT_LESC_DHKEY_REQUEST" has occurred.
After that, when "sd_ble_gap_lesc_dhkey_reply" is executed, the "NRF_ERROR_INVALID_STATE" error occurs.
Please tell me about the cause.

Related