add of ZgatewayBT
This commit is contained in:
1 parent
2f61698d68
commit
e47b32b1f6
2 files changed
+94
-1
No files matched your search
+9
-1
@@ -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){
|
||||
|
||||
Reference in new issue
Block a user