#define CLI_OPTION_MANP 0x02
typedef struct {
- const char* cmd_name; /* string containing the function name */
- const char* cmd_param_str; /* param descriptor string */
+ const char* cmd_name; /* string containing the function name */
+ const char* cmd_param_str; /* param descriptor string */
void_fpt cmd_function; /* function pointer */
- cmdoption_t* options;
+ const cmdoption_t* options;
} cmdlist_entry_t;
extern cli_rx_fpt cli_rx;
void cli_putc(char c);
uint16_t cli_getc(void);
uint16_t cli_getc_cecho(void);
-uint8_t cli_getsn_cecho(char* s, uint32_t n);
uint8_t cli_getsn(char* s, uint32_t n);
void cli_putstr(const char* s);
void cli_hexdump(const void* data, uint32_t length);