Gap_LoadEncryptionInformation will make chip crash when in secure connection mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Gap_LoadEncryptionInformation will make chip crash when in secure connection mode

1,101 次查看
zhi_wang
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

标签 (1)
0 项奖励
回复
1 回复

1,043 次查看
mario_castaneda
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 项奖励
回复