Modified all example sketches to report the sketch info to the gateway/controller.
This commit is contained in:
@@ -48,6 +48,9 @@ void setup()
|
||||
{
|
||||
gw.begin();
|
||||
|
||||
// Send the sketch version information to the gateway and Controller
|
||||
gw.sendSketchInfo("Water Meter", "1.0");
|
||||
|
||||
// Register this device as Waterflow sensor
|
||||
gw.sendSensorPresentation(CHILD_ID, S_WATER);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user