AnsweredAssumed Answered

SDK_2.2.1_FRDM-KW36: Best example for pairing, bonding and privacy

Question asked by Stephen Langstaff on Apr 14, 2020
Latest reply on Apr 14, 2020 by Anca-maria Codreanu

I'm using SDK_2.2.1_FRDM-KW36 and want to know which is the best example project to learn about the pairing, bonding and privacy mechanisms, as it seems that the demo projects all do it slightly differently.

 

For example, in the BleApp_ConnectionCallback handler there is code to handle the gConnEvtAuthenticationRejected_c event in the hid_host example, but this is missing from the wireless_uart demo.

 

Similarly, in the BleApp_ScanningCallback for the gDeviceScanned_c event, the hid_host updates gConnReqParams.usePeerIdentityAddress but the location_and_navigation_client does not.

 

So, what's the *best* starting point for central and peripheral projects that will use pairing, bonding and privacy?

Outcomes