Gap_LoadEncryptionInformation will make chip crash when in secure connection mode

cancel
Showing results for 
Search instead for 
Did you mean: 

Gap_LoadEncryptionInformation will make chip crash when in secure connection mode

62 Views
Contributor III

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

Labels (1)
0 Kudos
1 Reply

4 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos