Configuration

This is the default configuration of the middleware. When any of the settings shall be modified, it shall be done in dedicated application config lwshell_opts.h file.

Note

Check Getting started for guidelines on how to create and use configuration file.

group LWSHELL_OPT

LwSHELL options.

Defines

LWSHELL_CFG_MAX_CMDS

Maximum number of different commands to be registered.

LWSHELL_CFG_MAX_INPUT_LEN

Maximum characters for command line input.

This includes new line character and trailing zero. Commands longer than this are automatically discarded

LWSHELL_CFG_MAX_CMD_NAME_LEN

Maximum characters for command name.

LWSHELL_CFG_MAX_CMD_ARGS

Maximum number of parameters accepted by command.

Number includes command name itself

LWSHELL_CFG_USE_OUTPUT

Enables 1 or disables 0 output function to print data from library to application.

This is useful to give library feedback to user