Zephyr Project API  3.4.0
A Scalable Open Source RTOS
shell_mgmt.h File Reference

Go to the source code of this file.

Macros

#define SHELL_MGMT_ID_EXEC   0
 

Enumerations

enum  shell_mgmt_ret_code_t { SHELL_MGMT_RET_RC_OK = 0 , SHELL_MGMT_RET_RC_UNKNOWN , SHELL_MGMT_RET_RC_COMMAND_TOO_LONG , SHELL_MGMT_RET_RC_EMPTY_COMMAND }
 

Macro Definition Documentation

◆ SHELL_MGMT_ID_EXEC

#define SHELL_MGMT_ID_EXEC   0

Command IDs for shell management group.

Enumeration Type Documentation

◆ shell_mgmt_ret_code_t

Command result codes for shell management group.

Enumerator
SHELL_MGMT_RET_RC_OK 

No error, this is implied if there is no ret value in the response

SHELL_MGMT_RET_RC_UNKNOWN 

Unknown error occurred.

SHELL_MGMT_RET_RC_COMMAND_TOO_LONG 

The provided command to execute is too long.

SHELL_MGMT_RET_RC_EMPTY_COMMAND 

No command to execute was provided.