Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
config_cli.h
Go to the documentation of this file.
1
8#ifndef WOMBAT_CONFIG_CLI_H
9#define WOMBAT_CONFIG_CLI_H
10
11#include "DeviceConfig.h"
12
16class CLIConfig {
19
20public:
22 inline static const std::string cmd = "config";
23
24 static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen,
25 const char *pcCommandString);
26};
27
28#endif //WOMBAT_CONFIG_CLI_H
Node configuration options.
CLI interface to get and set device configuration options.
Definition: config_cli.h:16
static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString)
Enter command line interface (CLI) mode for the given command string.
Definition: config_cli.cpp:47
static DeviceConfig & config
Current device configuration (called upon initialisation)
Definition: config_cli.h:18
static const std::string cmd
CLI prefix for configuration commands.
Definition: config_cli.h:22
Node configuration options for both getting and setting values.
Definition: DeviceConfig.h:21
static DeviceConfig & get()
Provides an instance to other functions (MQTT and uplink intervals) to access (set,...
Definition: DeviceConfig.h:37