Skip to content
Snippets Groups Projects
Commit 940914cc authored by user2684's avatar user2684
Browse files

Include sendSketchInfo() in NodeManager.presentation() #68

parent 738d4e6e
No related branches found
No related tags found
No related merge requests found
...@@ -1695,6 +1695,8 @@ void NodeManager::presentation() { ...@@ -1695,6 +1695,8 @@ void NodeManager::presentation() {
#if DEBUG == 1 #if DEBUG == 1
Serial.println(F("RADIO OK")); Serial.println(F("RADIO OK"));
#endif #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 // present the service as a custom sensor to the controller
#if DEBUG == 1 #if DEBUG == 1
Serial.print(F("PRES I=")); Serial.print(F("PRES I="));
......
...@@ -40,8 +40,6 @@ void before() { ...@@ -40,8 +40,6 @@ void before() {
// presentation // presentation
void presentation() { void presentation() {
// Send the sketch version information to the gateway and Controller
sendSketchInfo(SKETCH_NAME,SKETCH_VERSION);
// call NodeManager presentation routine // call NodeManager presentation routine
nodeManager.presentation(); nodeManager.presentation();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment