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.
Fork of HelloMQTT by
Diff: main.cpp
- Revision:
- 30:b2aed80037db
- Parent:
- 28:01d5cc81af31
- Child:
- 32:16ef25cbb05c
--- a/main.cpp Mon Mar 27 15:16:23 2017 +0000 +++ b/main.cpp Tue Mar 28 09:18:49 2017 +0000 @@ -30,6 +30,7 @@ #include "easy-connect.h" #include "MQTTThreadedClient.h" +using namespace MQTT; Serial pc(USBTX, USBRX, 115200); Thread msgSender(osPriorityNormal, DEFAULT_STACK_SIZE * 2);
