mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-04-01 12:59:12 +03:00
отправка данных графиков в веб интерфейс
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
//Версия прошивки
|
||||
#define FIRMWARE_VERSION 413
|
||||
#define FIRMWARE_VERSION 414
|
||||
|
||||
#ifdef esp8266_4mb
|
||||
#define FIRMWARE_NAME "esp8266_4mb"
|
||||
|
||||
@@ -15,6 +15,7 @@ extern void hexdump(const void* mem, uint32_t len, uint8_t cols);
|
||||
|
||||
void sendFileToWs(const char* filename, uint8_t num, size_t frameSize);
|
||||
void publishStatusWs(const String& topic, const String& data);
|
||||
void publishStatusWsJson(const String& topic, String& json);
|
||||
void periodicWsSend();
|
||||
void sendStringToWs(const String& msg, uint8_t num, String name);
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class IoTItem {
|
||||
void regEvent(float value, String consoleInfo);
|
||||
|
||||
String getSubtype();
|
||||
virtual void sendChart();
|
||||
virtual void sendChart(bool mqtt);
|
||||
|
||||
String getID();
|
||||
virtual String getValue();
|
||||
|
||||
@@ -13,6 +13,7 @@ extern bool cutFile(const String& src, const String& dst);
|
||||
extern size_t countLines(const String filename);
|
||||
void removeFile(const String& filename);
|
||||
void cleanDirectory(String path);
|
||||
void cleanLogs();
|
||||
void saveDataDB(String id, String data);
|
||||
String readDataDB(String id);
|
||||
extern void onFlashWrite();
|
||||
|
||||
Reference in New Issue
Block a user