Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
|
#include <SPIFFS.h>
#include "globals.h"
#include "DeviceConfig.h"
#include "uplinks.h"
#include "mqtt_stack.h"
#include "Utils.h"
Macros | |
#define | TAG "uplinks" |
Enumerations | |
enum | mqtt_status_t { MQTT_UNINITIALISED , MQTT_LOGIN_OK , MQTT_LOGIN_FAILED } |
Functions | |
static String | topic ("wombat") |
static bool | process_file (const String &filename) |
void | send_messages (void) |
Variables | |
static volatile mqtt_status_t | mqtt_status = MQTT_UNINITIALISED |
static char | msg_buf [4096+1] |
#define TAG "uplinks" |
enum mqtt_status_t |
|
static |
Sends the given file via MQTT.
filename | the file to send, including the leading '/' required by SPIFFS. |
void send_messages | ( | void | ) |
|
static |
|
static |
|
static |