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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user