ESP-IDF
esp_ota_current_ota_is_workable()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_ota_current_ota_is_workable()
esp_ota_current_ota_is_workable() function
Syntax
Show:
Summary
Declaration
from
esp_ota_ops.c:742
static
esp_err_t
esp_ota_current_ota_is_workable
(
bool
valid
)
;
Arguments
Argument
valid
Examples
References
from
examples
Code
Location
Referrer
static
esp_err_t
esp_ota_current_ota_is_workable
(
bool
valid
)
esp_ota_ops.c:742
return
esp_ota_current_ota_is_workable
(
true
)
;
esp_ota_ops.c:785
esp_ota_mark_app_valid_cancel_rollback()
return
esp_ota_current_ota_is_workable
(
false
)
;
esp_ota_ops.c:790
esp_ota_mark_app_invalid_rollback_and_reboot()
Call Tree
from
examples
esp_ota_current_ota_is_workable()
is called by 2 functions and calls 8 functions:
esp_ota_mark_app_valid_cancel_rollback()
esp_ota_mark_app_invalid_rollback_and_reboot()
All items filtered out
esp_ota_current_ota_is_workable()
esp_log_timestamp()
esp_log_write()
esp_restart()
read_otadata()
rewrite_ota_seq()
esp_ota_get_app_partition_count()
esp_ota_check_rollback_is_possible()
bootloader_common_get_active_otadata()
All items filtered out
Data Use
from
examples
esp_ota_current_ota_is_workable()
reads 10 variables and writes 1 variable:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
esp_ota_img_states_t::ESP_OTA_IMG_VALID
esp_ota_img_states_t::ESP_OTA_IMG_INVALID
esp_ota_select_entry_t::ota_seq
esp_ota_select_entry_t::ota_state
TAG
All items filtered out
esp_ota_current_ota_is_workable()
esp_ota_select_entry_t::ota_state
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out