#include <ArduinoJson.h>
Go to the source code of this file.
|
| void | init_sensors (void) |
| | Scans the SDI-12 bus and fills in the sensors object. More...
|
| |
| bool | read_sensor (const char addr, JsonArray ×eries_array) |
| | Read a single SDI-12 sensor and add its values to timeseries_array. More...
|
| |
| void | sensor_task (void) |
| | Read all sensors, put the readings in a JSON message and save the JSON to a file on SPIFFS to be uplinked later. More...
|
| |
◆ init_sensors()
| void init_sensors |
( |
void |
| ) |
|
Scans the SDI-12 bus and fills in the sensors object.
◆ read_sensor()
| bool read_sensor |
( |
const char |
addr, |
|
|
JsonArray & |
timeseries_array |
|
) |
| |
Read a single SDI-12 sensor and add its values to timeseries_array.
◆ sensor_task()
| void sensor_task |
( |
void |
| ) |
|
Read all sensors, put the readings in a JSON message and save the JSON to a file on SPIFFS to be uplinked later.
◆ MAX_SENSORS
| constexpr size_t MAX_SENSORS = 10 |
|
constexpr |
◆ MAX_VALUES
| constexpr uint8_t MAX_VALUES = 32 |
|
staticconstexpr |