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:
31:d34f6adb7a53
Parent:
20:49c9daf2b0ff
--- a/mbed_app.json	Mon Mar 27 15:16:23 2017 +0000
+++ b/mbed_app.json	Sat Apr 01 12:41:29 2017 +0000
@@ -17,10 +17,10 @@
             "value": "D0"
         },
         "esp8266-ssid": {
-            "value": "\"SSID\""
+            "value": "\"VPCOLA\""
         },
         "esp8266-password": {
-            "value": "\"Password\""
+            "value": "\"AB12CD34\""
         },
         "esp8266-debug": {
             "value": true
@@ -64,6 +64,11 @@
         "NUCLEO_F411RE": {
             "esp8266-tx": "D8",
             "esp8266-rx": "D2"
-        }
+        },
+        "NUCLEO_L476RG": {
+            "network-interface": "WIFI_ESP8266",
+            "esp8266-tx": "A0",
+            "esp8266-rx": "A1"
+        }         
     }
 }