mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
fix Discovery, DugTrace
This commit is contained in:
@@ -19,6 +19,9 @@ typedef struct {
|
||||
} re_restart_debug_t;
|
||||
|
||||
#endif // RESTART_DEBUG_INFO
|
||||
|
||||
__NOINIT_ATTR static int8_t bootloop_panic_count;
|
||||
|
||||
extern "C" void __real_esp_panic_handler(void*);
|
||||
void printDebugTrace();
|
||||
void sendDebugTraceAndFreeMemory(bool);
|
||||
|
||||
@@ -51,6 +51,7 @@ extern void globalVarsSync();
|
||||
// extern String getParamsJson();
|
||||
|
||||
extern void syncSettingsFlashJson();
|
||||
void resetSettingsFlashByPanic();
|
||||
extern void syncValuesFlashJson();
|
||||
|
||||
extern const String getChipId();
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
#include "utils/StringUtils.h"
|
||||
#include "PeriodicTasks.h"
|
||||
#include "classes/IoTGpio.h"
|
||||
|
||||
#include "classes/IoTDiscovery.h"
|
||||
/*********************************************************************************************************************
|
||||
*****************************************глобальные объекты классов***************************************************
|
||||
**********************************************************************************************************************/
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
//#include "classes/IoTBench.h"
|
||||
|
||||
class IoTBench;
|
||||
class IoTDiscovery;
|
||||
|
||||
struct IoTValue {
|
||||
float valD = 0;
|
||||
@@ -57,10 +58,10 @@ class IoTItem {
|
||||
//virtual IoTItem* getCAMDriver();
|
||||
virtual IoTItem* getTlgrmDriver();
|
||||
//virtual IoTBench* getBenchmark();
|
||||
virtual IoTBench*getBenchmarkTask();
|
||||
virtual IoTBench*getBenchmarkLoad();
|
||||
virtual IoTBench*getHADiscovery();
|
||||
virtual IoTBench*getHOMEdDiscovery();
|
||||
virtual IoTBench* getBenchmarkTask();
|
||||
virtual IoTBench* getBenchmarkLoad();
|
||||
virtual IoTDiscovery* getHADiscovery();
|
||||
virtual IoTDiscovery* getHOMEdDiscovery();
|
||||
virtual unsigned long getRtcUnixTime();
|
||||
|
||||
// делаем доступным модулям отправку сообщений в телеграм
|
||||
|
||||
Reference in New Issue
Block a user