This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Enforcing LESC Encryption

Additional Information: 

1.  SDK: v15.3

2.  Softdevice: v6.1.1

3.  IDE: IAR v7.80.1

 

Problem Statement:

Is there a way I could enforce Secure connections just works? I want to use LESC for encrypting the link. But as I see, it also gets connected with legacy pairing with devices which doesn't support BLE v4.2.

Is it possible to configure the stack in such a way that it always declines a connection when tried to encrypt anything other than LESC? Could the device just disconnect if legacy pairing is triggered by host? 
I know I can do that in the application by checking in the AUTH_STATUS event, but I wanted to know if I can do it by configuring the stack in some way?

Parents Reply Children
No Data
Related