Local copy

Dependencies:   C12832_lcd ConfigFile EthernetInterface LM75B MMA7660 MQTTPacket mbed-rtos mbed

Fork of IBMIoTClientExampleForLPC1768 by Sam Danbury

Revision:
5:1b54a0b7b39d
Parent:
3:ca5b84eb8f3b
Child:
6:a022f983f94b
--- a/src/QuickstartClient.cpp	Tue Jun 24 10:35:40 2014 +0000
+++ b/src/QuickstartClient.cpp	Tue Jun 24 10:47:12 2014 +0000
@@ -130,6 +130,10 @@
     data.keepAliveInterval = 20;
     data.cleansession = 1;
     data.MQTTVersion = 3;
+    if (!quickstartMode) {
+        //TODO: set mqtt password to the token in the config file it it is NOT in quickstart mode
+        //data.password.cstring = token;   
+    }
     
     //Attempt MQTT connect
     len = MQTTSerialize_connect(buf, buflen, &data);