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

NRF51822 S110 ble_gap_sec_params_t SDK7 vs SDK8

Hello,

I am currently use the new SDK 8.0 for the NRF51822 (S110 soft device). I noticed that on SDK 7.0 for the ble_gap_sec_params_t struct, there was a variable called timeout

ble_gap_sec_params_t struct for SDK7.0

This variable has now disappeared with the version of the SDK8.0 :

ble_gap_sec_params_t struct for SDK8.0

I would like to know why this modification occurred and what is the workaround now ?

In a second time, I do not well understand the purpose of the newble_gap_sec_kdist_t kdist_periph ble_gap_sec_kdist_t kdist_central. Could you please provide me some explanations and/or examples of this feature to understand what is it ?

Thanks,

Parents
  • For your first question:

    The application can no longer specify a timeout for security procedures:  
    The timeout field has been removed from ble_gap_sec_params_t, and the timeout length is now set internally by the stack according to the specification.
    
  • Good to know. Indeed, I hadn't fund any information about this security loophole, neither on the internet. I better understand now. So it's perfect, thanks a lot for your help.

Reply
  • Good to know. Indeed, I hadn't fund any information about this security loophole, neither on the internet. I better understand now. So it's perfect, thanks a lot for your help.

Children
No Data