Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
settings_mgmt.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef H_SETTINGS_MGMT_
8#define H_SETTINGS_MGMT_
9
17#ifdef __cplusplus
18extern "C" {
19#endif
20
25#define SETTINGS_MGMT_ID_READ_WRITE 0
26#define SETTINGS_MGMT_ID_DELETE 1
27#define SETTINGS_MGMT_ID_COMMIT 2
28#define SETTINGS_MGMT_ID_LOAD_SAVE 3
59
60#ifdef __cplusplus
61}
62#endif
63
68#endif
settings_mgmt_ret_code_t
Command result codes for settings management group.
Definition settings_mgmt.h:34
@ SETTINGS_MGMT_ERR_WRITE_NOT_SUPPORTED
The provided key name does not support being written.
Definition settings_mgmt.h:54
@ SETTINGS_MGMT_ERR_UNKNOWN
Unknown error occurred.
Definition settings_mgmt.h:39
@ SETTINGS_MGMT_ERR_ROOT_KEY_NOT_FOUND
The provided root key name does not exist.
Definition settings_mgmt.h:51
@ SETTINGS_MGMT_ERR_KEY_TOO_LONG
The provided key name is too long to be used.
Definition settings_mgmt.h:42
@ SETTINGS_MGMT_ERR_READ_NOT_SUPPORTED
The provided key name does not support being read.
Definition settings_mgmt.h:48
@ SETTINGS_MGMT_ERR_DELETE_NOT_SUPPORTED
The provided key name does not support being deleted.
Definition settings_mgmt.h:57
@ SETTINGS_MGMT_ERR_OK
No error, this is implied if there is no ret value in the response.
Definition settings_mgmt.h:36
@ SETTINGS_MGMT_ERR_KEY_NOT_FOUND
The provided key name does not exist.
Definition settings_mgmt.h:45