diff --git a/OpenMQTTGateway.ino b/OpenMQTTGateway.ino index 0ee4dbf..053d5cc 100644 --- a/OpenMQTTGateway.ino +++ b/OpenMQTTGateway.ino @@ -215,6 +215,9 @@ void setup() #ifdef ZgatewayRF2 setupRF2(); #endif + #ifdef ZgatewaySRFB + setupSRFB(); + #endif #ifdef ZgatewayBT setupBT(); #endif diff --git a/ZgatewaySRFB.ino b/ZgatewaySRFB.ino index e80cdb5..5d1781d 100644 --- a/ZgatewaySRFB.ino +++ b/ZgatewaySRFB.ino @@ -34,6 +34,11 @@ unsigned char _uartbuf[RF_MESSAGE_SIZE+3] = {0}; unsigned char _uartpos = 0; +void setupSRFB(){ + trc(F("ZgatewaySRFB setup done ")); + trc("Serial Baud" + SERIAL_BAUD); +} + void MQTTtoSRFB(char * topicOri, char * datacallback) { // RF DATA ANALYSIS