MBED MQTT Lighting Endpoint for NXP LPC1768+AppBoard

Dependencies:   C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Fri Mar 21 03:19:38 2014 +0000
Parent:
157:356254104380
Child:
159:c826229c1eec
Commit message:
updates

Changed in this revision

MBEDEndpoint.cpp Show annotated file Show diff for this revision Revisions of this file
endpoint_core.lib Show annotated file Show diff for this revision Revisions of this file
--- a/MBEDEndpoint.cpp	Thu Mar 20 20:06:21 2014 +0000
+++ b/MBEDEndpoint.cpp	Fri Mar 21 03:19:38 2014 +0000
@@ -44,6 +44,7 @@
      memset(this->m_gw_address,0,PREFERENCE_VALUE_LEN+1);
      for(int i=0;i<NUM_TRANSPORTS;++i) this->m_transports[i] = NULL;
      this->m_error_handler = error_handler;
+     this->m_error_handler->setEndpoint((void *)this);
      if (success) this->initPreferences();
      if (success) this->initEndpointName();
      if (success) this->logger()->turnLEDBlue();
--- a/endpoint_core.lib	Thu Mar 20 20:06:21 2014 +0000
+++ b/endpoint_core.lib	Fri Mar 21 03:19:38 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/endpoint_core/#b0d950f80ed9
+http://mbed.org/users/ansond/code/endpoint_core/#6e9d10b1277a