ESP-IDF
esp_ota_select_entry_t::ota_state
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_ota_select_entry_t::ota_state
esp_ota_select_entry_t::ota_state field
Syntax
Show:
Summary
Declaration
from
esp_flash_partitions.h:76
uint32_t
ota_state
;
Examples
References
from
examples
Code
Location
Referrer
uint32_t
ota_state
;
esp_flash_partitions.h:76
return
s
->
ota_seq
==
UINT32_MAX
||
s
->
ota_state
==
ESP_OTA_IMG_INVALID
||
s
->
ota_state
==
ESP_OTA_IMG_ABORTED
;
bootloader_common_loader.c:41
bootloader_common_ota_select_invalid()
otadata
.
ota_state
=
ESP_OTA_IMG_VALID
;
bootloader_utility.c:461
set_actual_ota_seq()
otadata
[
next_otadata
]
.
ota_state
=
set_new_state_otadata
(
)
;
esp_ota_ops.c:427
esp_rewrite_ota_data()
otadata
[
next_otadata
]
.
ota_state
=
set_new_state_otadata
(
)
;
esp_ota_ops.c:432
esp_rewrite_ota_data()
if
(
valid
==
true
&&
otadata
[
active_otadata
]
.
ota_state
!=
ESP_OTA_IMG_VALID
)
{
esp_ota_ops.c:752
esp_ota_current_ota_is_workable()
otadata
[
active_otadata
]
.
ota_state
=
ESP_OTA_IMG_VALID
;
esp_ota_ops.c:753
esp_ota_current_ota_is_workable()
otadata
[
active_otadata
]
.
ota_state
=
ESP_OTA_IMG_INVALID
;
esp_ota_ops.c:768
esp_ota_current_ota_is_workable()
(
s
->
ota_state
==
ESP_OTA_IMG_INVALID
||
esp_ota_ops.c:796
check_invalid_otadata()
s
->
ota_state
==
ESP_OTA_IMG_ABORTED
)
;
esp_ota_ops.c:797
check_invalid_otadata()
*
ota_state
=
otadata
[
i
]
.
ota_state
;
esp_ota_ops.c:858
esp_ota_get_state_partition()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_ota_select_entry_t::ota_state
is written by 3 functions and is read by 4 functions:
esp_rewrite_ota_data()
esp_ota_current_ota_is_workable()
set_actual_ota_seq()
All items filtered out
esp_ota_select_entry_t::ota_state
esp_ota_current_ota_is_workable()
check_invalid_otadata()
esp_ota_get_state_partition()
bootloader_common_ota_select_invalid()
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