Zephyr API 3.6.99
|
Functions | |
int | settings_runtime_set (const char *name, const void *data, size_t len) |
Set a value with a specific key to a module handler. | |
int | settings_runtime_get (const char *name, void *data, size_t len) |
Get a value corresponding to a key from a module handler. | |
int | settings_runtime_commit (const char *name) |
Apply settings in a module handler. | |
API for runtime settings
int settings_runtime_commit | ( | const char * | name | ) |
#include <zephyr/settings/settings.h>
Apply settings in a module handler.
name | Key in string format. |
int settings_runtime_get | ( | const char * | name, |
void * | data, | ||
size_t | len ) |
#include <zephyr/settings/settings.h>
Get a value corresponding to a key from a module handler.
name | Key in string format. |
data | Returned binary value. |
len | requested value length in bytes. |
int settings_runtime_set | ( | const char * | name, |
const void * | data, | ||
size_t | len ) |
#include <zephyr/settings/settings.h>
Set a value with a specific key to a module handler.
name | Key in string format. |
data | Binary value. |
len | Value length in bytes. |