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:
28:01d5cc81af31
Parent:
26:4b21de8043a5
Child:
30:b2aed80037db
Child:
31:d34f6adb7a53
--- a/main.cpp	Mon Mar 27 14:08:46 2017 +0000
+++ b/main.cpp	Mon Mar 27 15:04:35 2017 +0000
@@ -25,7 +25,6 @@
 
  */
 
-//#define MQTTCLIENT_QOS2 1
 #include "mbed.h"
 #include "rtos.h"
 #include "easy-connect.h"