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:
- 79:67accc95965a
- Parent:
- 48:d3663434128d
- Child:
- 85:9fdd9198001c
diff -r b154b806b559 -r 67accc95965a MBEDEndpoint.cpp
--- a/MBEDEndpoint.cpp Tue Mar 04 21:09:29 2014 +0000
+++ b/MBEDEndpoint.cpp Tue Mar 04 21:42:39 2014 +0000
@@ -43,7 +43,12 @@
this->m_error_handler = error_handler;
if (success) this->initEndpointName();
if (success) this->logger()->turnLEDBlue();
+#ifdef MAC_ADDRESS
+ extern char fmt_mac[RESOURCE_VALUE_LEN+1];
+ if (success)this->logger()->log("%s (MAC: %s)",ENDPOINT_VERSION_ANNOUNCE,fmt_mac);
+#else
if (success)this->logger()->log(ENDPOINT_VERSION_ANNOUNCE);
+#endif
if (success) success = this->initializeEthernet(ethernet);
if (success) this->logger()->turnLEDYellow();
if (success)this->m_map = new MBEDToIOCResourceMap(error_handler);