ESP-IDF
nvs_bootloader_read_list_t::value
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
nvs_bootloader_read_list_t::value
nvs_bootloader_read_list_t::value field
Placeholder for value read
Syntax
Show:
Summary
Declaration
from
nvs_bootloader.h:71
nvs_bootloader_value_placeholder_t
value
;
Examples
References
from
examples
Code
Location
Referrer
nvs_bootloader_value_placeholder_t
value
;
/**< Placeholder for value read */
nvs_bootloader.h:71
if
(
(
read_list
[
i
]
.
value_type
)
==
NVS_TYPE_STR
&&
(
read_list
[
i
]
.
value
.
str_val
.
buff_len
==
0
||
read_list
[
i
]
.
value
.
str_val
.
buff_len
>
NVS_CONST_STR_LEN_MAX_SIZE
)
)
{
nvs_bootloader.c:141
nvs_bootloader_check_parameters()
if
(
(
read_list
[
i
]
.
value_type
)
==
NVS_TYPE_STR
&&
(
read_list
[
i
]
.
value
.
str_val
.
buff_ptr
==
NULL
)
)
{
nvs_bootloader.c:145
nvs_bootloader_check_parameters()
size_t
val_len
=
sizeof
(
read_list
[
i
]
.
value
)
;
nvs_bootloader.c:157
nvs_bootloader_check_parameters()
memset
(
(
void
*
)
&
read_list
[
i
]
.
value
,
0
,
val_len
)
;
// clear the value placeholder
nvs_bootloader.c:158
nvs_bootloader_check_parameters()
memcpy
(
(
void
*
)
&
param
->
read_list
[
i
]
.
value
,
(
void
*
)
item
.
data
.
primitive_type
.
data
,
NVS_BOOTLOADER_GET_TYPE_LEN
(
item
.
data_type
)
)
;
nvs_bootloader.c:324
nvs_bootloader_page_visitor_get_key_value_pairs()
if
(
param
->
read_list
[
i
]
.
value
.
str_val
.
buff_len
<
item
.
data
.
var_len_type
.
size
)
{
nvs_bootloader.c:333
nvs_bootloader_page_visitor_get_key_value_pairs()
esp_err_t
ret_str
=
nvs_bootloader_read_entries_block
(
partition
,
page_index
,
&
page_entry_states
,
current_index
+
1
,
item
.
data
.
var_len_type
.
size
,
(
uint8_t
*
)
param
->
read_list
[
i
]
.
value
.
str_val
.
buff_ptr
)
;
nvs_bootloader.c:340
nvs_bootloader_page_visitor_get_key_value_pairs()
uint32_t
calc_crc
=
esp_rom_crc32_le
(
0xffffffff
,
(
uint8_t
*
)
(
param
->
read_list
[
i
]
.
value
.
str_val
.
buff_ptr
)
,
item
.
data
.
var_len_type
.
size
)
;
nvs_bootloader.c:347
nvs_bootloader_page_visitor_get_key_value_pairs()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
nvs_bootloader_read_list_t::value
is read by 2 functions:
All items filtered out
nvs_bootloader_read_list_t::value
nvs_bootloader_check_parameters()
nvs_bootloader_page_visitor_get_key_value_pairs()
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