Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
|
FreeRTOS command line interface. More...
#include <CLI.h>
Static Public Member Functions | |
static void | init () |
Initialise the FreeRTOS command line interface. More... | |
static void | repl (Stream &input, Stream &output) |
Read-eval-print loop (REPL) for the command line interface (CLI). More... | |
Static Public Attributes | |
static Stream * | cliInput = nullptr |
Command line stream. More... | |
static Stream * | cliOutput = nullptr |
static const size_t | MAX_CLI_CMD_LEN = 256 |
Maximum command (input) length. More... | |
static const size_t | MAX_CLI_MSG_LEN = 256 |
Maximum command (output) length. More... | |
FreeRTOS command line interface.
Provides callbacks to various CLI components such as CAT-M1, configuration, bluetooth and sdi-12 sensor configuration.
|
static |
Initialise the FreeRTOS command line interface.
|
static |
Read-eval-print loop (REPL) for the command line interface (CLI).
This function implements a REPL for the CLI. It reads a command from the user, processes the command, and prints the result of the command. The REPL loop is exited by typing the "exit" command.
io | A stream object used for reading input from the user and writing output to the user. |
|
static |
Command line stream.
|
static |
|
static |
Maximum command (input) length.
|
static |
Maximum command (output) length.