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.
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.
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.