Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

app_timer_stop to cancel handler

nRF5 SDK, SD140 7.2.0

I am running a bluetooth application that also has OTA DFU capabililty via bluetooth. In my normal application I use a timer to advertise for exactly 1 minute, at which point I call the timer handler to stop advertising and shut off the device. I want to avoid this if the device begins a DFU while advertising. Does the app_timer_stop() function bypass the handler call? I need to make sure the handler is not called, thus leaving the advertising running and the device on.

Parents Reply Children
No Data
Related