Dear community
I'm developing BLE secure firmware on an event-driven proprietary RTOS.
According to the documentation of nrf_ble_lesc_request_handler()
, it is required to be called cyclically, e.g. in the main loop. Not having a main loop per se, I was wondering if it is ok to call this function in the BLE event handler (NRF_SDH_BLE_OBSERVER
).
My first tests confirmed that it is working, but the question remains whether this is allowed in general or if it will fail in certain scenarios.
Anyone with experience or insight? Any inputs are greatly appreciated!