Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: MBEDEndpoint.cpp
- Revision:
- 158:dbade2c795c7
- Parent:
- 156:4d75f2dffd8c
- Child:
- 163:392f89530162
--- 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();