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: C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: MBEDEndpoint.cpp
- 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) {