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.
Hope you are doing well. This can be configured in the app_config.c file.
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.
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, 22.214.171.124.1 of Bluetooth 5.0 core spec.