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.

Bluetooth SPP encryption



I'm developing my Bluetooth project based on bt_spp.c, the example application of Bluetooth Serial Port Profile provided by TI. I have some doubts about security, I apreciate if someone could help me:

- How do I turn on encryption in this example?

- Where the keys are stored?

- In what stack of Bluetooth the encryption works (RFCOMM, L2CAP, etc)?