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:
54:d315b7c0a7a3
Parent:
51:73e837ee5aa6
Child:
56:604a75f111fd
diff -r a009aee720fe -r d315b7c0a7a3 Resource.cpp
--- a/Resource.cpp	Sun Mar 02 17:16:54 2014 +0000
+++ b/Resource.cpp	Sun Mar 02 17:54:57 2014 +0000
@@ -20,7 +20,7 @@
  #include "MBEDio.h"
     
  // default constructor
- Resource::Resource(ErrorHandler *error_handler,char *endpoint_name,char *name,char *value,void *cb) {
+ Resource::Resource(ErrorHandler *error_handler,char *ep_name,char *name,char *value,void *cb) {
      this->m_error_handler = error_handler;
      this->m_io = NULL;
      memset(this->m_name,0,RESOURCE_NAME_LEN+1);
@@ -29,7 +29,7 @@
      this->setName(name);
      this->setValue(value);
      this->setCallbackPointer(cb);
-     this->plumb(endpoint_name,name);
+     this->plumb(ep_name,name);
  }
  
  // default destructor