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

app_timer_stop_all doesn't work

nRF52 DK

HTS example

I added app_timer_stop_all() in the ble_evt_handler() of main.c, under the case of BLE_GAP_EVT_DISCONNECTED, but the battery service timer still running. I have to use app_timer_stop(m_battery_timer_id) to stop it. 

My question is, how do I close all timers using app_timer_stop_all? 

Thanks,

Parents Reply Children
No Data
Related