mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Исправлен баг графиков, работает расширитель
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
//Версия прошивки
|
||||
#define FIRMWARE_VERSION 429
|
||||
#define FIRMWARE_VERSION 430
|
||||
|
||||
#ifdef esp8266_4mb
|
||||
#define FIRMWARE_NAME "esp8266_4mb"
|
||||
|
||||
@@ -24,6 +24,7 @@ boolean publishStatusMqtt(const String& topic, const String& data);
|
||||
boolean publishEvent(const String& topic, const String& data);
|
||||
boolean publishInfo(const String& topic, const String& data);
|
||||
boolean publishAnyJsonKey(const String& topic, const String& key, const String& data);
|
||||
bool publishChartFileToMqtt(String path, String id, int maxCount);
|
||||
|
||||
void publishWidgets();
|
||||
void publishState();
|
||||
|
||||
@@ -12,6 +12,7 @@ struct updateFirm {
|
||||
String configJson;
|
||||
String layoutJson;
|
||||
String scenarioTxt;
|
||||
String chartsData;
|
||||
};
|
||||
|
||||
extern void upgradeInit();
|
||||
|
||||
@@ -18,6 +18,7 @@ void publishStatusWs(const String& topic, const String& data);
|
||||
void publishChartWs(int num, String& path);
|
||||
void periodicWsSend();
|
||||
void sendStringToWs(const String& msg, uint8_t num, String name);
|
||||
void publishChartToWs(String filename, int num, size_t frameSize, int maxCount, String id);
|
||||
|
||||
// void sendMark(const char* filename, const char* mark, uint8_t num);
|
||||
// void sendFileToWs3(const String& filename, uint8_t num);
|
||||
|
||||
@@ -24,6 +24,8 @@ extern void onFlashWrite();
|
||||
String getFilesList8266(String& directory);
|
||||
String getFilesList32(String& directory);
|
||||
String getFilesList(String& directory);
|
||||
String createDataBaseSting();
|
||||
void writeDataBaseSting(String input);
|
||||
|
||||
struct IoTFSInfo {
|
||||
size_t totalBytes;
|
||||
|
||||
Reference in New Issue
Block a user