Hi!
I have nrf52, SDK13, S132.
I succes use bootloader_secure_ble. But I remarked that on air DfuTarg appears for about 90 seconds. After that return to main app.
How can increase in the boot project this time?
Hi!
I have nrf52, SDK13, S132.
I succes use bootloader_secure_ble. But I remarked that on air DfuTarg appears for about 90 seconds. After that return to main app.
How can increase in the boot project this time?
Hi Mikhail,
It's controlled by the inacitivity timeout. It's started in nrf_dfu_init() in nrf_dfu.c. It's set to 120 seconds, you can try to increase it.
Hi Hung!
Thanks. But where exactly in the nrf_dfu_init() this parametr sets? I can't find it.
If this code:
ret_val = app_timer_start(nrf_dfu_inactivity_timeout_timer_id,
APP_TIMER_TICKS(NRF_DFU_INACTIVITY_TIMEOUT_MS),
NULL);
You set the NRF_DFU_INACTIVITY_TIMEOUT_MS to the one you like.
sorry, there is no this code in the SDK13... I can't find same like this.
In SDK v13, we don't have inactivity timer. The DFU will keep advertising until there is a reset. I'm not sure why it switch to application in your case.