add of ZgatewayBT

This commit is contained in:
1technophile committed 2017-04-30 23:34:58 +02:00
1 parent 2f61698d68
commit e47b32b1f6
2 files changed
+94 -1

No files matched your search

+9 -1
View File
@@ -126,6 +126,9 @@ void setup()
#ifdef ZgatewayRF
setupRF();
#endif
#ifdef ZgatewayBT
setupBT();
#endif
}
@@ -191,9 +194,14 @@ void loop()
if(resultIR)
trc(F("IR successfully sent by MQTT"));
#endif
#ifdef ZgatewayBT
boolean resultBT = BTtoMQTT();
if(resultBT)
trc(F("BT successfully sent by MQTT"));
#endif
}
delay(100);
//delay(100);
}
void storeValue(long MQTTvalue){