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 && DFU_TARGET

(Includes any dependencies from ifs and menus.)

Default

  • 60

Kconfig definition

At <nRF>/subsys/dfu/Kconfig:44

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:12

Menu path: (Top) → Modules → Nordic nRF Connect → DFU → Device Firmware Upgrade target API → Modem update support

config DFU_TARGET_MODEM_TIMEOUT
    int "Erase pending timeout"
    default 60
    depends on DFU_TARGET_MODEM && 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.)