Zephyr API Documentation 4.0.0-rc3
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
10#ifdef __cplusplus
11extern "C" {
12#endif
13
17#define SETTINGS_MGMT_ID_READ_WRITE 0
18#define SETTINGS_MGMT_ID_DELETE 1
19#define SETTINGS_MGMT_ID_COMMIT 2
20#define SETTINGS_MGMT_ID_LOAD_SAVE 3
21
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif
settings_mgmt_ret_code_t
Command result codes for settings management group.
Definition settings_mgmt.h:25
@ SETTINGS_MGMT_ERR_WRITE_NOT_SUPPORTED
The provided key name does not support being written.
Definition settings_mgmt.h:45
@ SETTINGS_MGMT_ERR_UNKNOWN
Unknown error occurred.
Definition settings_mgmt.h:30
@ SETTINGS_MGMT_ERR_ROOT_KEY_NOT_FOUND
The provided root key name does not exist.
Definition settings_mgmt.h:42
@ SETTINGS_MGMT_ERR_KEY_TOO_LONG
The provided key name is too long to be used.
Definition settings_mgmt.h:33
@ SETTINGS_MGMT_ERR_READ_NOT_SUPPORTED
The provided key name does not support being read.
Definition settings_mgmt.h:39
@ SETTINGS_MGMT_ERR_DELETE_NOT_SUPPORTED
The provided key name does not support being deleted.
Definition settings_mgmt.h:48
@ SETTINGS_MGMT_ERR_OK
No error, this is implied if there is no ret value in the response.
Definition settings_mgmt.h:27
@ SETTINGS_MGMT_ERR_KEY_NOT_FOUND
The provided key name does not exist.
Definition settings_mgmt.h:36