Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
ftp_cli.h
Go to the documentation of this file.
1
6#ifndef WOMBAT_FTP_CLI_H
7#define WOMBAT_FTP_CLI_H
8
9#include "DeviceConfig.h"
10
17class CLIFTP {
20
21public:
23 inline static const std::string cmd = "ftp";
24
25 static void dump(Stream& stream);
26
27 static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen,
28 const char *pcCommandString);
29};
30
31#endif //WOMBAT_FTP_CLI_H
Node configuration options.
CLI FTP configuration.
Definition: ftp_cli.h:17
static const std::string cmd
Prefix for all FTP related configuration commands.
Definition: ftp_cli.h:23
static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString)
Command-line interface command for setting FTP parameters.
Definition: ftp_cli.cpp:53
static DeviceConfig & config
Get the current device configuration upon initialisation.
Definition: ftp_cli.h:19
static void dump(Stream &stream)
Display current FTP configuration.
Definition: ftp_cli.cpp:28
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