Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
5:c1c4d511b589
Parent:
3:8173336969c9
Child:
9:90fadae5489a
--- a/Light.cpp	Mon Feb 24 19:35:52 2014 +0000
+++ b/Light.cpp	Mon Feb 24 19:37:14 2014 +0000
@@ -29,7 +29,7 @@
         this->m_transports[i]->setEndpoint(this);
      }
      sprintf(this->m_name,LIGHT_NAME,instance);
-     this->resources()->createResources();
+     this->resources()->createResources(this->getName());
      
      // DEBUG
      this->logger()->log("Light name:%s\n", this->getName());