MBED_DEMOS / Mbed 2 deprecated mbed_mqtt_endpoint_ublox_ethernet

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

Revision:
94:0159f907859b
Parent:
86:2f9b9e0c7639
Child:
115:7c8b958dfaa7
--- a/MBEDEndpoint.cpp	Tue Mar 11 16:57:33 2014 +0000
+++ b/MBEDEndpoint.cpp	Tue Mar 11 17:23:02 2014 +0000
@@ -44,11 +44,12 @@
      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);
+     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)this->logger()->log("IOC Gateway IP Address: %s",GW_IPADDRESS);
      if (success) success = this->initializeEthernet(ethernet);
      if (success) this->logger()->turnLEDYellow();
      if (success)this->m_map = new MBEDToIOCResourceMap(error_handler);