Modified all example sketches to report the sketch info to the gateway/controller.

This commit is contained in:
Bruce Lacey
2014-03-21 13:39:02 -07:00
parent 64048992cc
commit f828eec251
16 changed files with 52 additions and 3 deletions
@@ -17,6 +17,9 @@ void setup()
{
gw.begin();
// Send the sketch version information to the gateway and Controller
gw.sendSketchInfo("Light Sensor", "1.0");
// Register all sensors to gateway (they will be created as child devices)
gw.sendSensorPresentation(CHILD_ID_LIGHT, S_LIGHT_LEVEL);
}