[SERIAL] Enable SERIAL to X communication (#2068)
Add Serial as a communication layer so as to transmit data to/from serial Enable discovery of BT sensors through serial Add serial heartbeat Change discovery principle for interval and intervalacts, keep them always discovered and deactivate adaptivescan when changed. Instead of removing their discovery when adaptive scan is activated Increase JSON_MSG_BUFFER_MAX as we are now using const char* and it requires more memory for Arduino Json Deserialization Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
1 parent
a89ff43900
commit
3187ed6154
52 files changed
+588
-459
No files matched your search
+9
-9
@@ -31,24 +31,24 @@
|
||||
|
||||
#ifdef ZgatewayRF
|
||||
extern void setupRF();
|
||||
extern void RFtoMQTT();
|
||||
extern void MQTTtoRF(char* topicOri, char* datacallback);
|
||||
extern void MQTTtoRF(char* topicOri, JsonObject& RFdata);
|
||||
extern void RFtoX();
|
||||
extern void XtoRF(const char* topicOri, const char* datacallback);
|
||||
extern void XtoRF(const char* topicOri, JsonObject& RFdata);
|
||||
extern void disableRFReceive();
|
||||
extern void enableRFReceive();
|
||||
#endif
|
||||
#ifdef ZgatewayRF2
|
||||
extern void RF2toMQTT();
|
||||
extern void MQTTtoRF2(char* topicOri, char* datacallback);
|
||||
extern void MQTTtoRF2(char* topicOri, JsonObject& RFdata);
|
||||
extern void RF2toX();
|
||||
extern void XtoRF2(const char* topicOri, const char* datacallback);
|
||||
extern void XtoRF2(const char* topicOri, JsonObject& RFdata);
|
||||
extern void disableRF2Receive();
|
||||
extern void enableRF2Receive();
|
||||
#endif
|
||||
#ifdef ZgatewayPilight
|
||||
extern void setupPilight();
|
||||
extern void PilighttoMQTT();
|
||||
extern void MQTTtoPilight(char* topicOri, char* datacallback);
|
||||
extern void MQTTtoPilight(char* topicOri, JsonObject& RFdata);
|
||||
extern void PilighttoX();
|
||||
extern void XtoPilight(const char* topicOri, const char* datacallback);
|
||||
extern void XtoPilight(const char* topicOri, JsonObject& RFdata);
|
||||
extern void disablePilightReceive();
|
||||
extern void enablePilightReceive();
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user