This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Call to sd_app_evt_wait not returning as expected

We are calling nrf_pwr_mgmt_run which in turn calls sd_app_evt_wait. We set a timer with the app_timer code to wake us up. I verified that the handler is called. However sd_app_evt_wait doesnt always return and the main thread doesn't always runs. 

Is this expected? Should sd_app_evt_wait always return on an rtc irq?

Another related question is should sd_app_evt_wait return on a BLE_GAP_EVT_CONNECTED event? It doesnt return for that either. 

Thanks

Parents Reply Children
No Data
Related