IoT Example

Dependencies:   C12832 LM75B MMA7660 MQTT mbed-rtos mbed

Fork of IBMIoTClientEthernetExample by IBM Watson IoT

Files at this revision

API Documentation at this revision

Comitter:
icraggs
Date:
Tue Oct 14 15:09:04 2014 +0000
Parent:
10:6b9104576512
Child:
13:9a4010dca17f
Commit message:
Change K64F device id to be lower case

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Oct 10 08:00:26 2014 +0000
+++ b/main.cpp	Tue Oct 14 15:09:04 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;
 }