Dear Sir,
for my nRF52840 application made with the SDK v17.0.2 and S140 Softdevice I'm adding the peer module to a peripheral device example (UART with SAADC with timer based execution) in order to increase the security aspect.
Following many different thread I've added (I think...) all the C file for the peer module and FDS but, I've already added the nrf_ble_lesc.c file at the nRF_BLE file group in my project and I've also enabled into the sdk_config.h file the PM_LESC_ENABLED so what I've to do in order to get all working and avoid this missing function errors?


Looking through the source file nrf_ble_lesc.c I see this conditional check:
#if NRF_MODULE_ENABLED(NRF_BLE_LESC) #include "nrf_ble_lesc.h" #include "nrf_crypto.h" ...
the code included by the conditional statement #if is grayed out so it means that the module NRF_BLE_LESC is not enabled, looking inside the sdk_config.h file there are no label related this type of module, only the PM_LESC_ENABLED label is present.
Searching through all the SDK files for the key NRF_BLE_LESC give no results so how is possible to activate this module?
Just a side consideration, it is very frustrating and time consuming to do a trial and error procedures to get things working, I kindly ask if is possible to have a guide or some notes inside the docs to follow with all the dependencies related some modules so is possible to know what files are needed to add some functionality ... (I'm try to add the peer module functionality to my design).
Thanks for your time!
Best regards.
F.




