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:
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);