From 940914ccce63eade567f0f9fe154fbe19b1cdee9 Mon Sep 17 00:00:00 2001
From: user2684 <you@example.com>
Date: Wed, 12 Apr 2017 17:26:03 +0200
Subject: [PATCH] Include sendSketchInfo() in NodeManager.presentation() #68

---
 NodeManager.cpp | 2 ++
 NodeManager.ino | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/NodeManager.cpp b/NodeManager.cpp
index c7bdd76..3a2fe8b 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 43a22e0..be2fe40 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();
 
-- 
GitLab