[SYS] Implement a central queue (#1767)
to avoid concurrency issues when modules or/and gateways want to publish data
This commit is contained in:
1 parent
ca9ef664ab
commit
029409c0c3
39 files changed
+491
-407
No files matched your search
+3
-3
@@ -354,9 +354,6 @@ int lowpowermode = DEFAULT_LOW_POWER_MODE;
|
||||
//#define ZgatewayRS232 "RS232" //ESP8266, Arduino, ESP32
|
||||
|
||||
/*-------------DEFINE YOUR MQTT ADVANCED PARAMETERS BELOW----------------*/
|
||||
#ifndef version_Topic
|
||||
# define version_Topic "/version"
|
||||
#endif
|
||||
#ifndef will_Topic
|
||||
# define will_Topic "/LWT"
|
||||
#endif
|
||||
@@ -774,6 +771,9 @@ bool isAduplicateSignal(SIGNAL_SIZE_UL_ULL);
|
||||
void storeSignalValue(SIGNAL_SIZE_UL_ULL);
|
||||
#endif
|
||||
|
||||
// Origin topics
|
||||
#define subjectBTtoMQTT "/BTtoMQTT"
|
||||
|
||||
#define convertTemp_CtoF(c) ((c * 1.8) + 32)
|
||||
#define convertTemp_FtoC(f) ((f - 32) * 5 / 9)
|
||||
|
||||
|
||||
Reference in new issue
Block a user