Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
zephyr_groups.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_
7#define ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_
8
9#include <kernel.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15/* The file contains definitions of Zephyr specific mgmt commands. The group numbers decrease
16 * from PERUSER to avoid collision with user defined groups.
17 */
18#define ZEPHYR_MGMT_GRP_BASE (MGMT_GROUP_ID_PERUSER - 1)
19
20/* Basic group */
21#define ZEPHYR_MGMT_GRP_BASIC ZEPHYR_MGMT_GRP_BASE
22#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE 0 /* Command to erase storage partition */
23
24#ifdef __cplusplus
25}
26#endif
27
28#endif /* ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_ */