ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
cli_commands.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void handle_cli_line (const char *line)
 Parse and execute one CLI input line.
 
const char * get_command_name (int index)
 Return command name by table index.
 

Function Documentation

◆ get_command_name()

const char * get_command_name ( int  index)

Return command name by table index.

Parameters
indexCommand table index.
Returns
Command name string or NULL when out of range.

Definition at line 834 of file cli_commands.c.

References commands, and command_t::name.

◆ handle_cli_line()

void handle_cli_line ( const char *  line)

Parse and execute one CLI input line.

Parameters
lineNull-terminated command line.

Definition at line 839 of file cli_commands.c.