The friendly Operating System for the Internet of Things
shell_command_t Struct Reference

A single command in the list of the supported commands. More...

Detailed Description

The list of commands is NULL terminated, i.e. the last element must be { NULL, NULL, NULL }.

Definition at line 60 of file shell.h.

#include <shell.h>

Data Fields

const char * name
 Name of the function.
const char * desc
 Description to print in the "help" command. More...
shell_command_handler_t handler
 The callback function. More...

Field Documentation

const char* shell_command_t::desc

Definition at line 62 of file shell.h.

shell_command_handler_t shell_command_t::handler

Definition at line 63 of file shell.h.

The documentation for this struct was generated from the following file: