ESP-IDF
config_save()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
config_save()
config_save() function
Syntax
Show:
Summary
Declaration
Definition
from
config.h:143
bool
config_save
(
const
config_t
*
config
,
const
char
*
filename
)
;
Implemented in
config.c:403
Arguments
Argument
config
filename
Related Functions
Found 19 other functions taking a
config_t
argument:
Function
config_free()
config_set_string()
entry_find()
section_find()
config_get_string()
config_remove_section()
config_has_key()
config_get_int()
config_has_section()
config_has_key_in_section()
config_set_int()
config_section_end()
config_section_begin()
config_update_newest_section()
config_remove_key()
config_parse()
config_get_bool()
config_set_bool()
get_config_size()
Examples
References
from
examples
Code
Location
Referrer
bool
config_save
(
const
config_t
*
config
,
const
char
*
filename
)
config.c:403
bool
config_save
(
const
config_t
*
config
,
const
char
*
filename
)
;
config.h:143
if
(
config_save
(
config
,
CONFIG_FILE_PATH
)
)
{
btc_config.c:87
btc_config_init()
config_save
(
config
,
CONFIG_FILE_PATH
)
;
btc_config.c:326
btc_config_flush()
int
ret
=
config_save
(
config
,
CONFIG_FILE_PATH
)
;
btc_config.c:339
btc_config_clear()
Call Tree
from
examples
config_save()
is called by 3 functions and calls 14 functions:
btc_config_init()
btc_config_flush()
btc_config_clear()
All items filtered out
config_save()
__assert_func()
free()
esp_log_timestamp()
esp_log_write()
list_begin()
list_end()
list_next()
list_node()
osi_calloc_func()
get_config_size()
nvs_commit()
nvs_close()
nvs_open()
nvs_set_blob()
All items filtered out
Data Use
from
examples
config_save()
reads 8 variables:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_DEBUG
entry_t::key
entry_t::value
section_t::name
section_t::entries
config_t::sections
nvs_open_mode_t::NVS_READWRITE
All items filtered out
config_save()
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