MBED_DEMOS / Mbed 2 deprecated mbed_mqtt_endpoint_ublox_ethernet

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

Revision:
158:dbade2c795c7
Parent:
156:4d75f2dffd8c
Child:
163:392f89530162
diff -r 356254104380 -r dbade2c795c7 MBEDEndpoint.cpp
--- 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();