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:
7:36ec6469949e
Parent:
6:9a4085eeac52
Child:
10:62107616fc6c
--- a/ResourceFactory.cpp	Mon Feb 24 21:01:32 2014 +0000
+++ b/ResourceFactory.cpp	Mon Feb 24 22:22:57 2014 +0000
@@ -36,7 +36,7 @@
  void ResourceFactory::createResources(char *endpoint_name) { ; }
  
  // create a resource value
- void ResourceFactory::createResource(char *endpoint_name,char *name,char *value) { this->createResource(endpoint_name,name,value,NULL); }
+ void ResourceFactory::createResource(char *name,char *value) { this->createResource(NULL,name,value,NULL); }
  void ResourceFactory::createResource(char *endpoint_name,char *name,char *value,void *internals) {
      Resource resource(this->logger(),endpoint_name,name,value,internals);
      this->m_list.push_back(resource);