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 /jenkins_workspace/workspace/nrfconnect-nrf_doc_v1.2-branch_2/nrf/subsys/dfu/Kconfig:43

Included via Kconfig:8Kconfig.zephyr:9/jenkins_workspace/workspace/nrfconnect-nrf_doc_v1.2-branch_2/test_doc/_build/Kconfig.modules:1/jenkins_workspace/workspace/nrfconnect-nrf_doc_v1.2-branch_2/nrf/Kconfig.nrf:10/jenkins_workspace/workspace/nrfconnect-nrf_doc_v1.2-branch_2/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.)