Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
sdi12.h
Go to the documentation of this file.
1
8#ifndef WOMBAT_CLI_SDI12_H
9#define WOMBAT_CLI_SDI12_H
10
11#include <freertos/FreeRTOS.h>
12#include <Stream.h>
13#include <StreamString.h>
14#include "SDI12.h"
15#include "dpiclimate-12.h"
16
17#include "cli/FreeRTOS_CLI.h"
18#include "Utils.h"
19
27class CLISdi12 {
28public:
30 inline static const std::string cmd = "sdi12";
31
33 static const uint8_t MAX_SDI12_RES_LEN = 255;
34
35 static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen,
36 const char *pcCommandString);
37};
38
39#endif //WOMBAT_CLI_SDI12_H
SDI-12 sensor CLI.
Definition: sdi12.h:27
static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString)
Command line interface handler for an SDI-12 sensor.
Definition: sdi12.cpp:57
static const std::string cmd
CLI SDI-12 reference, to send commands use "sdi12" followed by the cmd.
Definition: sdi12.h:30
static const uint8_t MAX_SDI12_RES_LEN
Maximum SDI-12 response length.
Definition: sdi12.h:33
SDI-12 command line interface handler.