Local copy
Dependencies: C12832_lcd ConfigFile EthernetInterface LM75B MMA7660 MQTTPacket mbed-rtos mbed
Fork of IBMIoTClientExampleForLPC1768 by
Diff: src/QuickstartClient.cpp
- Revision:
- 5:1b54a0b7b39d
- Parent:
- 3:ca5b84eb8f3b
- Child:
- 6:a022f983f94b
diff -r e8de333c1cb4 -r 1b54a0b7b39d src/QuickstartClient.cpp --- 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);