
A program for IoT demonstration with mbed, EnOcean and MQTT.
Dependencies: IBMIoTClientEthernetExample C12832 EthernetInterface MQTT USB400Serial USBHost mbed
Fork of IBMIoTClientEthernetExample by
Revision 3:69ef39823eef, committed 2014-07-18
- Comitter:
- samdanbury
- Date:
- Fri Jul 18 09:33:01 2014 +0000
- Parent:
- 2:d8fddda78c38
- Child:
- 4:77fd4b6ceecb
- Commit message:
- Remove LCD printf message that isn't required
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Jul 18 09:27:32 2014 +0000 +++ b/main.cpp Fri Jul 18 09:33:01 2014 +0000 @@ -366,9 +366,7 @@ data.password.cstring = password; } - if ((rc = client->connect(&data)) != 0) { - lcd.printf("rc from MQTT connect is %d\n", rc); - } else { + if ((rc = client->connect(&data)) == 0) { connected = true; //RGB: green