This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What are the required Parameters to enable LTK encryption ?

Other Parts Discussed in Thread: CC2540

Hello Friends,

I am trying to enable encryption in the SimplePeripheral and Keyfob example. Herein I am able to ensure pairing but not able to establish encryption. Do we need to pass any other parameters apart from those mentioned below?  After the GAP_HCI_ExtentionCommandStatus Success, I encounter event 0x60A GAP_AuthenticationComplete with Status 0x04, Msg. Buffer Not Available. 

These are the parameters I am trying to configure.

uint32 passkey = 000000; 
uint8 pairMode = GAPBOND_PAIRING_MODE_WAIT_FOR_REQ;
uint8 mitm = TRUE;
uint8 ioCap = GAPBOND_IO_CAP_DISPLAY_ONLY;
uint8 bonding = TRUE;

 Do I also need to configure for GAPBOND_KEY_DIST_LIST? 

Regards,