Present locally attached sensors and node when missing radio (#532)

* Present locally attached sensors and node when missing radio

Fix #524

* Combining gateway and node presentation.
This commit is contained in:
Henrik Ekblad
2016-08-01 23:59:31 +02:00
committed by Olivier
parent e475be2980
commit 37119b2a3a
7 changed files with 15 additions and 10 deletions
+3
View File
@@ -39,6 +39,9 @@ bool gatewayTransportSend(MyMessage &message) {
bool gatewayTransportInit() {
gatewayTransportSend(buildGw(_msg, I_GATEWAY_READY).set("Gateway startup complete."));
// Send presentation of locally attached sensors (and node if applicable)
presentNode();
return true;
}