Enum anj_dm_fw_update_result_t

Enum Documentation

enum anj_dm_fw_update_result_t

Numeric values of the Update Result resource

Warning

The values of this enum are incorporated error codes defined in the LwM2M documentation, but actual code logic introduces a variation in the interpretation of the success code ANJ_DM_FW_UPDATE_RESULT_SUCCESS. While the LwM2M documentation specifies it as a success code for the overall firmware update process (when paired with State Resource set to Idle), in this implementation, it is used in other contexts, mainly to signalize success at individual stages of the process. User should be mindful of this distinction and adhere to the return code descriptions provided for each function in this file.

Values:

enumerator ANJ_DM_FW_UPDATE_RESULT_INITIAL
enumerator ANJ_DM_FW_UPDATE_RESULT_SUCCESS
enumerator ANJ_DM_FW_UPDATE_RESULT_NOT_ENOUGH_SPACE
enumerator ANJ_DM_FW_UPDATE_RESULT_OUT_OF_MEMORY
enumerator ANJ_DM_FW_UPDATE_RESULT_CONNECTION_LOST
enumerator ANJ_DM_FW_UPDATE_RESULT_INTEGRITY_FAILURE
enumerator ANJ_DM_FW_UPDATE_RESULT_UNSUPPORTED_PACKAGE_TYPE
enumerator ANJ_DM_FW_UPDATE_RESULT_INVALID_URI
enumerator ANJ_DM_FW_UPDATE_RESULT_FAILED
enumerator ANJ_DM_FW_UPDATE_RESULT_UNSUPPORTED_PROTOCOL