Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
cli_power.h
Go to the documentation of this file.
1#ifndef WOMBAT_CLI_POWER_H
2#define WOMBAT_CLI_POWER_H
3
4#include <freertos/FreeRTOS.h>
5#include <Stream.h>
6#include <StreamString.h>
7
8#include "cli/FreeRTOS_CLI.h"
9#include "CAT_M1.h"
10
14class CLIPower {
15public:
17 inline static const std::string cmd = "pwr";
18
19 static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen,
20 const char *pcCommandString);
21};
22
23#endif //WOMBAT_CLI_POWER_H
Power related commands.
Definition: cli_power.h:14
static const std::string cmd
Power related commands in the CLI begin with "pwr".
Definition: cli_power.h:17
static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString)
Command-line interface command for working with the power buses.
Definition: cli_power.cpp:35