Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
|
CAT-M1 CLI command request and response handler. More...
#include "cli/peripherals/cat-m1.h"
#include "CAT_M1.h"
#include "Utils.h"
#include "SparkFun_u-blox_SARA-R5_Arduino_Library.h"
#include "globals.h"
#include "cli/CLI.h"
Functions | |
bool | getNTPTime (SARA_R5 &r5) |
static int | get_response (uint32_t timeout=500) |
Get response from modem with a timeout. More... | |
Variables | |
SARA_R5 | r5 |
Sparkfun SARA-R5 library instance. More... | |
static StreamString | response_buffer_ |
Holds responses from the modem. More... | |
CAT-M1 CLI command request and response handler.
|
static |
Get response from modem with a timeout.
After a command has been sent to the modem this function handles the response. -1 will be returned if the command times out, else the number of characters in the 'g_buffer' will be returned.
timeout | Wait for response timeout. |
bool getNTPTime | ( | SARA_R5 & | r5 | ) |
|
extern |
Sparkfun SARA-R5 library instance.
|
static |
Holds responses from the modem.