nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ fota_download_error_cause

#include <include/net/fota_download.h>

FOTA download error cause values.

Enumerator
FOTA_DOWNLOAD_ERROR_CAUSE_NO_ERROR 

No error, used when event ID is not FOTA_DOWNLOAD_EVT_ERROR.

FOTA_DOWNLOAD_ERROR_CAUSE_CONNECT_FAILED 

Connecting to the FOTA server failed. A possible reason could be wrong TLS credentials. A retry is unlikely to help with the same credentials.

FOTA_DOWNLOAD_ERROR_CAUSE_DOWNLOAD_FAILED 

Downloading the update failed. The download may be retried.

FOTA_DOWNLOAD_ERROR_CAUSE_INVALID_UPDATE 

The update is invalid and was rejected. Retry will not help.

FOTA_DOWNLOAD_ERROR_CAUSE_TYPE_MISMATCH 

Actual firmware type does not match expected. Retry will not help.

FOTA_DOWNLOAD_ERROR_CAUSE_INTERNAL 

Generic error on device side.