How to set BLE secure connection pairing into debug mode

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

How to set BLE secure connection pairing into debug mode

1,386 次查看
RHan
Contributor I

Hi,

    Bluetooth spec defines a debug mode for LE secure connection pairing, which debug keys are used to allow sniffers to decrypt traffic.

    Is there a way to enable this in NXP's BLE stack? I am currently working on KW41Z and do not know how.

    Thanks for help.

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

1,358 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

Hope you are doing well. This can be configured in the app_config.c file.

PairingParameters.png

 

You need to set the securityModeAndLevel = gSecurityMode_1_Level_4_c to have Encryption with LE Secure Connections pairing and set leSecureConnectionSupported = TRUE.

Hope this helps.

 

Best Regards,

Ricardo

1,339 次查看
RHan
Contributor I

Hi Ricardo,

   Thanks for quick reply, maybe I need to clarify my questions further. I do know how to set the stack to use LE secure connections, but I want to know is how to put the security manager into debug mode as defined in Vol.3, Part H, 2.3.5.6.1 of Bluetooth 5.0 core spec.

    Thanks again.

Best,

RHan

0 项奖励
回复