Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SmartHome
NodeManager_GasSensor
Commits
940914cc
Commit
940914cc
authored
Apr 12, 2017
by
user2684
Browse files
Include sendSketchInfo() in NodeManager.presentation() #68
parent
738d4e6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
NodeManager.cpp
View file @
940914cc
...
@@ -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="
));
...
...
NodeManager.ino
View file @
940914cc
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment