I want to secure advertised packets using ccm
I am using s132 , SDK 14.2.0 and nrf52 dk
I found that AES-CCM peripheral is blocked by soft device usage and that I need to use Time slot APi
I was referring to this to do so.
EDIT:
I can not perform the changes that should be done in the main file. In fact, in my project I do not have the function stated below nor any of the called functions. I was thinking to create it but I do not know how to use it later. My start point is the beacon application.
And I can not find the files softdevice_handler.h and softdevice_handler.c in the directory of nRF5_SDK_14.2.0_17b948a . I have researched this file and it seems that it is an API for initializing and disabling the SoftDevice so it is mandaory but I can not find it what should I do
static void sys_evt_dispatch(uint32_t sys_evt) { pstorage_sys_event_handler(sys_evt); ble_advertising_on_sys_evt(sys_evt); }