Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
CLIPower Class Reference

Power related commands. More...

#include <cli_power.h>

Collaboration diagram for CLIPower:

Static Public Member Functions

static BaseType_t enter_cli (char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString)
 Command-line interface command for working with the power buses. More...
 

Static Public Attributes

static const std::string cmd = "pwr"
 Power related commands in the CLI begin with "pwr". More...
 

Detailed Description

Power related commands.

Member Function Documentation

◆ enter_cli()

BaseType_t CLIPower::enter_cli ( char *  pcWriteBuffer,
size_t  xWriteBufferLen,
const char *  pcCommandString 
)
static

Command-line interface command for working with the power buses.

Note
Intervals are specified in seconds.
Parameters
pcWriteBufferThe buffer to write the command's output to.
xWriteBufferLenThe length of the write buffer.
pcCommandStringThe command string to be parsed.
Returns
pdTRUE if there are more responses to come, pdFALSE if this is the final response.

Member Data Documentation

◆ cmd

const std::string CLIPower::cmd = "pwr"
inlinestatic

Power related commands in the CLI begin with "pwr".


The documentation for this class was generated from the following files: