Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
cat-m1.h
Go to the documentation of this file.
1
8#ifndef WOMBAT_CLI_CAT_M1_H
9#define WOMBAT_CLI_CAT_M1_H
10
11#include <freertos/FreeRTOS.h>
12#include <Stream.h>
13#include <StreamString.h>
14
15#include "cli/FreeRTOS_CLI.h"
16#include "CAT_M1.h"
17
25class CLICatM1 {
26public:
28 inline static const std::string cmd = "c1";
29
30 static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen,
31 const char *pcCommandString);
32};
33
34
35#endif //WOMBAT_CLI_CAT_M1_H
CLI for CAT-M1 commands.
Definition: cat-m1.h:25
static const std::string cmd
CLI CAT-M1 reference, to send commands use "c1" followed by the command.
Definition: cat-m1.h:28
static BaseType_t enter_cli(char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString)
Command line interface handler for a Cat M1 device.
Definition: cat-m1.cpp:72