JXCT Soil Sensor 7-in-1 v3.4.9 (June 2025)
Professional IoT soil monitoring system with ESP32, Modbus RTU, MQTT, and advanced compensation algorithms
|
#include "../../include/web_routes.h"
#include "../../include/logger.h"
#include "../../include/jxct_ui_system.h"
#include "../../include/jxct_config_vars.h"
#include "../../include/version.h"
#include "../../include/jxct_strings.h"
#include "../wifi_manager.h"
#include "ota_manager.h"
#include <ArduinoJson.h>
#include <Update.h>
#include <Arduino.h>
Функции | |
String | navHtml () |
static void | sendOtaStatusJson () |
static void | handleFirmwareUpload () |
void | setupOtaRoutes () |
Настройка маршрутов OTA (/updates, /api/ota/*, /ota/*) | |
Переменные | |
WebServer | webServer |
WiFiMode | currentWiFiMode |
static bool | isLocalUploadActive = false |
static size_t | localUploadProgress = 0 |
static size_t | localUploadTotal = 0 |
static String | localUploadStatus = "idle" |
|
static |
См. определение в файле routes_ota.cpp строка 342
Перекрестные ссылки isLocalUploadActive, localUploadProgress, localUploadStatus, localUploadTotal, logError(), logSuccess(), logSystem() и webServer.
Используется в setupOtaRoutes().
|
extern |
См. определение в файле wifi_manager.cpp строка 82
Используется в setupOtaRoutes().
|
static |
См. определение в файле routes_ota.cpp строка 310
Перекрестные ссылки getOtaStatus(), isLocalUploadActive, JXCT_VERSION_STRING, localUploadProgress, localUploadTotal и webServer.
Используется в setupOtaRoutes().
void setupOtaRoutes | ( | ) |
Настройка маршрутов OTA (/updates, /api/ota/*, /ota/*)
См. определение в файле routes_ota.cpp строка 27
Перекрестные ссылки AP, currentWiFiMode, generateApModeUnavailablePage(), generateButton(), generatePageFooter(), generatePageHeader(), handleFirmwareUpload(), JXCT_VERSION_STRING, logDebug(), logSuccess(), logWebRequest(), navHtml(), OUTLINE, SECONDARY, sendOtaStatusJson(), STA, triggerOtaCheck(), triggerOtaInstall() и webServer.
Используется в setupWebServer().
|
extern |
См. определение в файле wifi_manager.cpp строка 26
|
static |
См. определение в файле routes_ota.cpp строка 18
Используется в handleFirmwareUpload() и sendOtaStatusJson().
|
static |
См. определение в файле routes_ota.cpp строка 19
Используется в handleFirmwareUpload() и sendOtaStatusJson().
|
static |
См. определение в файле routes_ota.cpp строка 21
Используется в handleFirmwareUpload().
|
static |
См. определение в файле routes_ota.cpp строка 20
Используется в handleFirmwareUpload() и sendOtaStatusJson().
|
extern |