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 EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
Diff: main.cpp
- Revision:
- 9:58eb378727d9
- Parent:
- 8:80d49dd91542
- Child:
- 10:0b5e0dfee08e
--- 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;
 }
    