Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
184:b73d6c976063
Parent:
179:35e88daf2d75
Child:
186:66814abc02a2
--- a/main.cpp	Sat Sep 13 04:27:19 2014 +0000
+++ b/main.cpp	Sun Sep 14 15:10:31 2014 +0000
@@ -79,9 +79,9 @@
  #endif
  void *sf_status_reporter = NULL;
  
- #ifdef MAC_ADDRESS
- extern "C" void mbed_mac_address(char *s);
+#ifdef MAC_ADDRESS
  char mac[6] = {MAC_ADDRESS};
+ extern "C" void mbed_mac_address(char *s) { for(int i=0;i<6;++i) s[i] = mac[i]; }
  char fmt_mac[RESOURCE_VALUE_LEN+1];
  #endif