Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shell_mgmt.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018-2021 mcumgr authors
3 * Copyright (c) 2023 Nordic Semiconductor ASA
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef H_SHELL_MGMT_
9#define H_SHELL_MGMT_
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
18#define SHELL_MGMT_ID_EXEC 0
19
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* H_SHELL_MGMT_ */
shell_mgmt_err_code_t
Command result codes for shell management group.
Definition shell_mgmt.h:23
@ SHELL_MGMT_ERR_COMMAND_TOO_LONG
The provided command to execute is too long.
Definition shell_mgmt.h:31
@ SHELL_MGMT_ERR_EMPTY_COMMAND
No command to execute was provided.
Definition shell_mgmt.h:34
@ SHELL_MGMT_ERR_UNKNOWN
Unknown error occurred.
Definition shell_mgmt.h:28
@ SHELL_MGMT_ERR_OK
No error, this is implied if there is no ret value in the response.
Definition shell_mgmt.h:25