Enumerator
|
GOS_DFU_STATUS_NONE
|
No status, default value on power-up.
|
GOS_DFU_STATUS_SUCCESS
|
DFU successfully completed.
|
GOS_DFU_STATUS_FIRST_PASS_SUCCESS
|
DFU successfully completed the 'first pass'.
|
GOS_DFU_STATUS_UP_TO_DATE
|
DFU successfully completed, firmware already up-to-date.
|
GOS_DFU_STATUS_PENDING
|
DFU currently active.
|
GOS_DFU_STATUS_ERRORS_START
|
All codes below here are considered DFU failures.
|
GOS_DFU_STATUS_RECOVERABLE_ERRORS_START
|
Start of codes that if occurred, the device will NOT abort DFU mode.
|
GOS_DFU_STATUS_DMS_CONNECTION_ERROR
|
Error while issuing DMS HTTP request.
|
GOS_DFU_STATUS_DMS_READ_TIMEOUT_ERROR
|
Timed-out while receiving DMS HTTP response.
|
GOS_DFU_STATUS_NETWORK_NOT_FOUND
|
The configured network was not found.
|
GOS_DFU_STATUS_NETWORK_JOIN_FAILED
|
Failed to connect to network.
|
GOS_DFU_STATUS_MAX_REQUEST_ATTEMPTS
|
Max attempts at issuing OTA DFU requests to DMS exceeded.
|
GOS_DFU_STATUS_XMODEM_INIT_TIMEOUT
|
Max attempts at initializing Xmodem interface exceeded.
|
GOS_DFU_STATUS_XMODEM_READ_TIMEOUT
|
Timeout out while trying to receive Xmodem packet.
|
GOS_DFU_STATUS_XMODEM_MAX_RETRIES
|
Max attempts at retransmitting an Xmodem packet exceeded.
|
GOS_DFU_STATUS_MAX_FAULTS
|
Max system faults exceeded.
|
GOS_DFU_STATUS_RECOVERABLE_ERRORS_END
|
All error codes below here abort DFU mode on occurrence.
|
GOS_DFU_STATUS_KERNEL_ERROR
|
Unknown Kernel error occurred.
|
GOS_DFU_STATUS_APPLICATION_FILE_INVALID
|
The application file on internal flash is invalid.
|
GOS_DFU_STATUS_DMS_PRODUCT_AUTH_KEY_SIG_INVALID
|
The product auth key was improperly signed by the current platform auth key.
|
GOS_DFU_STATUS_APPLICATION_SIGNATURE_INVALID
|
The application's signature on bootload is not valid against the product auth key.
|
GOS_DFU_STATUS_NETWORK_SSID_NOT_SET
|
No network SSID is set.
|
GOS_DFU_STATUS_NETWORK_PASSKEY_NOT_SET
|
No network password is set.
|
GOS_DFU_STATUS_NETWORK_SECURITY_NOT_SUPPORTED
|
The configured network security is not supported.
|
GOS_DFU_STATUS_MAX_UPDATE_ATTEMPTS
|
Max Kernel attempts of updating firmware exceeded.
|
GOS_DFU_STATUS_NO_DEVICE_CERTIFICATE
|
No device DMS certificate was found on the device's internal memory.
|
GOS_DFU_STATUS_DEVCREDS_FINALIZE_FAILED
|
Failed to finalize the device credentials update on internal memory.
|
GOS_DFU_STATUS_DMS_NO_AUTHORIZATION
|
The device does not have access to the firmware on the DMS.
|
GOS_DFU_STATUS_APPLICATION_SIGNATURE_CHECK_FAILED
|
Application signature on internal memory is not valid during DFU.
|
GOS_DFU_STATUS_DFU_COUNTER_EXCEEDED
|
The DFU NVM counter has been exceeded, serial DFUs are now prohibited.
|
GOS_DFU_STATUS_DEVCREDS_CORRUPT
|
Device credential memory corrupted.
|
GOS_DFU_STATUS_SECOND_STAGE_BOOTLOADER_ERROR
|
Unknown error in SSB.
|
GOS_DFU_STATUS_EXTENDED_FLASH_INIT_FAILED
|
Failed to initialize flash in SSB.
|
GOS_DFU_STATUS_EXTENDED_FLASH_NOT_ENABLED
|
Extended flash is required but not enabled in SSB, likely a chip select was not specified in the DFU package.
|
GOS_DFU_STATUS_FLASH_ERASE_ERROR
|
Error while erasing flash in SSB.
|
GOS_DFU_STATUS_FLASH_WRITE_ERROR
|
Error while writing flash in SSB.
|
GOS_DFU_STATUS_FLASH_READ_ERROR
|
Error while reading flash in SSB.
|
GOS_DFU_STATUS_CACHE_VERIFY_FAILED
|
Failed to verify CRC of encrypted image in SSB.
|
GOS_DFU_STATUS_DECRYPT_VERIFY_FAILED
|
Failed to verify CRC of decrypted image in SSB.
|
GOS_DFU_STATUS_DMS_BUNDLE_NOT_FOUND
|
Requested bundle not found on DMS.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_COPY_FAILED
|
Failed to copy device credentials from extended to internal flash.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_SIG_INVALID
|
Device credentials signature is invalid against current product auth key.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_CRC_SIG_INVALID
|
Failed to verify CRC when copying device credentials from extended to internal flash.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_DMS_SERVER_CERT_INVALID
|
Server cert in device credentials is invalid.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_DMS_DEVICE_CERT_INVALID
|
Device cert in device credentials is invalid.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_DMS_DEVICE_KEY_INVALID
|
Device cert key in device credentials is invalid.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_BUNDLE_VERSION_INVALID
|
Bundle version is invalid in device credentials.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_PRODUCT_KEY_SIG_INVALID
|
Product auth key signature in device credentials is not valid against platform auth key.
|
GOS_DFU_STATUS_UPDATE_DEVCREDS_MISSING_ENTRY
|
Device credentials is missing one or more required entries.
|
GOS_DFU_STATUS_UPDATE_KERNEL_SIG_INVALID
|
Kernel's signature is invalid against platform auth key.
|
GOS_DFU_STATUS_UPDATE_KERNEL_COPY_FAILED
|
Failed to copy kernel from extended to internal flash.
|
GOS_DFU_STATUS_UPDATE_SSB_CRC_INVALID
|
CRC verification of SSB failed (i.e. CRC appended to SSB binary does not match calculated value)
|
GOS_DFU_STATUS_UPDATE_SSB_SIG_INVALID
|
SSB's signature is invalid against current product auth key.
|
GOS_DFU_STATUS_UPDATE_SSB_COPY_FAILED
|
Error while copying SSB from extended to internal flash.
|
GOS_DFU_STATUS_UPDATE_APPLICATION_SIG_INVALID
|
Application's signature is invalid against product auth key.
|
GOS_DFU_STATUS_UPDATE_APPLICATION_COPY_FAILED
|
Error while copying application from extended to internal flash.
|
GOS_DFU_STATUS_PACKAGE_PROCESSING_ERROR
|
General error while processing the DFU package.
|
GOS_DFU_STATUS_NOT_PROVISIONED
|
The device has NOT been provisioned and does NOT have a provisioning token.
|
GOS_DFU_STATUS_PROVISIONING_FAILED
|
Error occurred while attempting to provision device.
|
GOS_DFU_STATUS_NO_PRODUCT_AES_KEY
|
The device does not have a product AES, likely because it was provisioned incorrectly.
|
GOS_DFU_STATUS_PACKAGE_CODES_START
|
The following codes are errors in the given DFU package.
|
GOS_DFU_STATUS_MALFORMED_PACKAGE
|
The sections within the package are not valid.
|
GOS_DFU_STATUS_INVALID_PACKAGE_SIGNATURE
|
The signature of the package data is not valid against the product auth key.
|
GOS_DFU_STATUS_INVALID_PACKAGE_CRC
|
The package's CRC is not valid.
|
GOS_DFU_STATUS_MALFORMED_PACKAGE_MANIFEST
|
The package's manifest is not valid.
|
GOS_DFU_STATUS_MALFORMED_PACKAGE_METADATA
|
The package's metadata field is not valid.
|
GOS_DFU_STATUS_IS_PRODUCTION_DEVICE
|
Given package with 'development' credentials, but device has 'production' credentials.
|
GOS_DFU_STATUS_IS_DEVELOPMENT_DEVICE
|
Given package with 'production' credentials, but device has 'development' credentials.
|
GOS_DFU_STATUS_PACKAGE_VERSION_NOT_ALLOWED
|
The device's current version is not allowed by the package's 'allowed versions' field.
|
GOS_DFU_STATUS_PACKAGE_PRODUCT_NOT_ALLOWED
|
The device's current product is not allowed by the package's 'allowed product' field.
|
GOS_DFU_STATUS_PACKAGE_UUID_NOT_ALLOWED
|
The device's UUID does not match the package's 'uuid' field.
|
GOS_DFU_STATUS_BULK_FS_NOT_ENABLED
|
The package's has files destined to bulk flash, but the manifest does not specify the bulk flash chip select configuration.
|
GOS_DFU_STATUS_BULK_FS_INIT_FAILED
|
Failed to initialize the bulk flash based on the chip select configuration in the package manifest.
|
GOS_DFU_STATUS_NO_ROOM
|
There isn't enough room on extended/bulk flash to cache the package (even with multi-pass updates enabled)
|
GOS_DFU_STATUS_NO_MULTI_PASS_UPDATES
|
The package requires 'multi-pass' updates to perform the update, but 'multi-pass' was not enabled.
|
GOS_DFU_STATUS_PACKAGE_DATA_OVERFLOW
|
The package body contains more files than what was specified in the manifest.
|
GOS_DFU_STATUS_PACKAGE_HEADER_INVALID
|
The factory DFU image contains an invalid header.
|
GOS_DFU_STATUS_PACKAGE_INVALID_PRODUCT_AES_KEY
|
Cannot decrypt the package with the device's current product AES key.
|
GOS_DFU_STATUS_PACKAGE_BAD_FILE_ATTRIBUTE
|
A file in the DFU package manifest has an invalid attribute.
|