A Threaded Secure MQTT Client example. Uses MBED TLS for SSL/TLS connection. QoS0 only for now. Example has been tested with K64F connected via Ethernet.

Dependencies:   FP MQTTPacket

Fork of HelloMQTT by MQTT

Revision:
32:16ef25cbb05c
Parent:
30:b2aed80037db
Child:
33:38e2e7bf91eb
diff -r b2aed80037db -r 16ef25cbb05c main.cpp
--- a/main.cpp	Tue Mar 28 09:18:49 2017 +0000
+++ b/main.cpp	Sat Apr 01 12:55:49 2017 +0000
@@ -27,6 +27,7 @@
 
 #include "mbed.h"
 #include "rtos.h"
+#undef MBED_CONF_APP_ESP8266_DEBUG
 #include "easy-connect.h"
 #include "MQTTThreadedClient.h"