JXCT Soil Sensor 7-in-1 3.10.1
IoT система мониторинга почвы на базе ESP32
|
#include <Preferences.h>
Макросы | |
#define | BOOT_BUTTON 0 |
#define | STATUS_LED_PIN 2 |
#define | HTTP_PORT 80 |
#define | DNS_PORT 53 |
#define | LED_FAST_BLINK_MS 100 |
#define | LED_SLOW_BLINK_MS 500 |
#define | WIFI_MAX_ATTEMPTS 20 |
#define | WIFI_RETRY_DELAY_MS 500 |
#define | BUTTON_HOLD_TIME_MS 2000 |
#define | CONFIG_SAVE_DELAY_MS 2000 |
#define | WATCHDOG_TIMEOUT_SEC 30 |
#define | OTA_WATCHDOG_TIMEOUT_SEC 60 |
#define | JXCT_MODBUS_ID 1 |
#define | WIFI_AP_SSID "JXCT-Setup" |
#define | WIFI_AP_PASS "12345678" |
Функции | |
struct | __attribute__ ((packed)) Config |
void | loadConfig () |
void | saveConfig () |
void | resetConfig () |
bool | isConfigValid () |
Переменные | |
constexpr unsigned long | SENSOR_READ_INTERVAL |
constexpr unsigned long | MQTT_PUBLISH_INTERVAL = 1800000 |
constexpr unsigned long | THINGSPEAK_INTERVAL = 600000 |
constexpr unsigned long | WEB_UPDATE_INTERVAL = 3000 |
constexpr float | DELTA_TEMPERATURE = 0.5f |
constexpr float | DELTA_HUMIDITY = 2.0f |
constexpr float | DELTA_PH = 0.1f |
constexpr float | DELTA_EC = 50.0f |
constexpr float | DELTA_NPK = 10.0f |
constexpr unsigned char | FORCE_PUBLISH_CYCLES |
Config | config |
Preferences | preferences |
#define BOOT_BUTTON 0 |
#define STATUS_LED_PIN 2 |
#define HTTP_PORT 80 |
#define DNS_PORT 53 |
#define LED_FAST_BLINK_MS 100 |
#define LED_SLOW_BLINK_MS 500 |
#define WIFI_MAX_ATTEMPTS 20 |
#define WIFI_RETRY_DELAY_MS 500 |
#define BUTTON_HOLD_TIME_MS 2000 |
#define CONFIG_SAVE_DELAY_MS 2000 |
#define WATCHDOG_TIMEOUT_SEC 30 |
#define OTA_WATCHDOG_TIMEOUT_SEC 60 |
#define JXCT_MODBUS_ID 1 |
#define WIFI_AP_SSID "JXCT-Setup" |
#define WIFI_AP_PASS "12345678" |
struct __attribute__ | ( | (packed) | ) |
void loadConfig | ( | ) |
void saveConfig | ( | ) |
void resetConfig | ( | ) |
bool isConfigValid | ( | ) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
extern |
|
extern |