This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LE security on nRF DFU - nRF52840 S140

Hi All.
My task is simple. I want to implement LE secure connections on DFU. I have seen the ble_gls example. It has a passkey for bonding, I am looking into that too. I ran it and observed the peer manager and BLE evt prints.

I also compared the two projects. NRF_CRYPTO_ENABLED is 1 in gls project, alongside PM_LESC_ENABLED is also 1. These are 0 or not present in the DFU example.

Does a guide exist on shifting any gatt service / BLE connection to LE connections and encryption? Any help would be appreciated and we are in a bit of a hurry as well.

I also tried DFU with bonds but that only authenticates the user and does not create a secure encrypted channel between Client and Server. I need that channel to be encrypted. Regarding the FW image encryption itself, we are making a custom app that will always have the encrypted FW or .dat file.

Also trying out bond forwarding with SEC_PARAM_LESC set to 1 in main did not encrypt the channel. It's obvious I need to add other libraries like LESC and Crypto.
I just need few steps to get on this, waiting for Nordic team response

Related