CONFIG_DFU_TARGET_MODEM_TIMEOUT

Erase pending timeout

Type: int

Help

Set the timeout in seconds for how long the code will wait when
reading DFU_ERASE_PENDING from the modem. If the timeout is reached
an DFU_TARGET_EVT_TIMEOUT is issued and a disconnect of the LTE link
is recommended so that the modem has time to service the
DFU_ERASE_PENDING request. It's also possible to reboot the device to
achive the same desired behavior.

Direct dependencies

DFU_TARGET_MODEM_DELTA && DFU_TARGET_MODEM_DELTA && DFU_TARGET

(Includes any dependencies from ifs and menus.)

Default

  • 60

Kconfig definition

At <nRF>/subsys/dfu/dfu_target/Kconfig:59

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:81<nRF>/subsys/Kconfig:12<nRF>/subsys/dfu/Kconfig:9

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → DFU → DFU → Device Firmware Upgrade target API → Modem delta update support

config DFU_TARGET_MODEM_TIMEOUT
    int "Erase pending timeout"
    default 60
    depends on DFU_TARGET_MODEM_DELTA && DFU_TARGET_MODEM_DELTA && DFU_TARGET
    help
      Set the timeout in seconds for how long the code will wait when
      reading DFU_ERASE_PENDING from the modem. If the timeout is reached
      an DFU_TARGET_EVT_TIMEOUT is issued and a disconnect of the LTE link
      is recommended so that the modem has time to service the
      DFU_ERASE_PENDING request. It's also possible to reboot the device to
      achive the same desired behavior.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)