Function esp_idf_hal::sys::esp_ota_check_rollback_is_possible
source ยท pub unsafe extern "C" fn esp_ota_check_rollback_is_possible() -> bool
Expand description
@brief Checks applications on the slots which can be booted in case of rollback.
These applications should be valid (marked in otadata as not UNDEFINED, INVALID or ABORTED and crc is good) and be able booted, and secure_version of app >= secure_version of efuse (if anti-rollback is enabled).
@return - True: Returns true if the slots have at least one app (except the running app). - False: The rollback is not possible.