Hi,
about the API Gap_LoadEncryptionInformation, it is work fine while using the legacy pairing mode, but will make chip crash when in secure connection.
Regards,
Ziv
Hi Ziv,
I am checking the issue that you are facing.
I tested by my side and the Gap_EncryptLink is working correctly. Could you please share your security set up?
/* SMP Data */
gapPairingParameters_t gPairingParameters = {
.withBonding = (bool_t)gAppUseBonding_d,
.securityModeAndLevel = gSecurityMode_1_Level_4_c,
.maxEncryptionKeySize = mcEncryptionKeySize_c,
.localIoCapabilities = gIoDisplayOnly_c,
.oobAvailable = FALSE,
.centralKeys = gIrk_c,
.peripheralKeys = (gapSmpKeyFlags_t) (gLtk_c | gIrk_c),
.leSecureConnectionSupported = TRUE,
.useKeypressNotifications = FALSE,
};
Did you enable the paring and bonding flag?
Regards,
Mario