diff --git a/NodeManager.cpp b/NodeManager.cpp index c7bdd76a732330b997fc54ecc53737dba2119ba6..3a2fe8bffdf7ed90fdfcfc928555fdbedf1965e0 100644 --- a/NodeManager.cpp +++ b/NodeManager.cpp @@ -1695,6 +1695,8 @@ void NodeManager::presentation() { #if DEBUG == 1 Serial.println(F("RADIO OK")); #endif + // Send the sketch version information to the gateway and Controller + sendSketchInfo(SKETCH_NAME,SKETCH_VERSION); // present the service as a custom sensor to the controller #if DEBUG == 1 Serial.print(F("PRES I=")); diff --git a/NodeManager.ino b/NodeManager.ino index 43a22e0d16cccfdcc6275e0de9b6cb74b50d8f1d..be2fe40da32470f51fd7fdbb4f29b9b69a48b9d0 100644 --- a/NodeManager.ino +++ b/NodeManager.ino @@ -40,8 +40,6 @@ void before() { // presentation void presentation() { - // Send the sketch version information to the gateway and Controller - sendSketchInfo(SKETCH_NAME,SKETCH_VERSION); // call NodeManager presentation routine nodeManager.presentation();