Code Sample for ERS4 GEII UNICE ERS4

Dependencies:   C12832 EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed

Fork of DU4SmartCities by Philippe Bazot

Revision:
9:58eb378727d9
Parent:
8:80d49dd91542
Child:
10:0b5e0dfee08e
diff -r 80d49dd91542 -r 58eb378727d9 main.cpp
--- a/main.cpp	Wed Oct 01 13:27:35 2014 +0000
+++ b/main.cpp	Tue Oct 14 15:43:42 2014 +0000
@@ -291,7 +291,7 @@
     word1 |= 0x00000200;
     word1 &= 0x0000FEFF;
  
-    int rc = snprintf(buf, buflen, "%4X%08X", word1, word0); 
+    int rc = snprintf(buf, buflen, "%4x%08x", word1, word0);   // Device id must be in lower case
     
     return rc;
 }