MBED_DEMOS / Mbed 2 deprecated mbed_mqtt_endpoint_nxp

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

Revision:
3:3db076b9d380
Parent:
2:90a84a216c58
Child:
6:34c07e145caa
--- a/MBEDEndpoint.cpp	Tue Feb 25 18:09:29 2014 +0000
+++ b/MBEDEndpoint.cpp	Tue Feb 25 22:11:11 2014 +0000
@@ -90,7 +90,7 @@
  ResourceFactory *MBEDEndpoint::initResourceFactory() { return new EmulatedResourceFactory(this->logger()); }
  
  // get our endpoint name (first light name)
- char *MBEDEndpoint::getEndpointName() { return this->m_lights[0]->getName(); }
+ char *MBEDEndpoint::getEndpointName() { return "light-4"; } // return this->m_lights[0]->getName(); }
  
  // initialize a specific transport
  bool MBEDEndpoint::initializeTransport(int index,char *key,Transport *transport) {