Gap_LoadEncryptionInformation will make chip crash when in secure connection mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Gap_LoadEncryptionInformation will make chip crash when in secure connection mode

1,124件の閲覧回数
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,066件の閲覧回数
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 件の賞賛
返信