This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bootloader DFU timeout

Hello,

I'm looking to bootloader sources and i want to add a timeout if entering with a signal in DFU mode and no DFU detected for one hour.

There is a timers_init function but i don't know how to schedule a fonction callback at a defined time. Do someone hava an idea ?

Thank you.

Parents
  • Hi Fabien, What timeout do you want to set ? We already have a timeout for 120 seconds when the bootloader start advertising, and when doing DFU. Please look for m_dfu_timer_id timer. The timeout is defined by DFU_TIMEOUT_INTERVAL.

Reply
  • Hi Fabien, What timeout do you want to set ? We already have a timeout for 120 seconds when the bootloader start advertising, and when doing DFU. Please look for m_dfu_timer_id timer. The timeout is defined by DFU_TIMEOUT_INTERVAL.

Children
No Data
Related