Hi,
if BD device address is set in runtime usingthis code, the SMP won't be able to generate proper values for pairing procesure.
If USER_CFG_FEAT_SEC_REQ is set to GAP_SEC1_AUTH_PAIR_ENC, the pairing fails with:
> Authentication failed with status BLE_GAP_SEC_STATUS_CONFIRM_VALUE
If USER_CFG_FEAT_SEC_REQ is set to GAP_SEC1_SEC_PAIR_ENC, the pairing fails with:
> Authentication failed with status BLE_GAP_SEC_STATUS_DHKEY_FAILURE
How to properly set device address in runtime so that it would also be used by SMP? I feel like I'm missing some adittional call for applying new address in SMP.
Thank you,
Bojan
Keywords:
Device:
Hi Bojan,
Thanks for your follow-up question. We have taken this offline from forum - an email has been sent in your registered address.
Thanks, PM_Dialog