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
--- a/MQTTThreadedClient.h	Tue Mar 28 09:18:49 2017 +0000
+++ b/MQTTThreadedClient.h	Sat Apr 01 12:55:49 2017 +0000
@@ -7,7 +7,7 @@
 #include "NetworkInterface.h"
 #include "FP.h"
 
-#define MQTT_DEBUG 1
+//#define MQTT_DEBUG 1
 
 #ifdef MQTT_DEBUG
 #define DBG(fmt, args...)    printf(fmt, ## args)