How to set BLE secure connection pairing into debug mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set BLE secure connection pairing into debug mode

1,387 Views
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.

Labels (1)
0 Kudos
Reply
2 Replies

1,359 Views
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,340 Views
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 Kudos
Reply