Simple demo with GPIO MQTT protocol test on STM32 broker tests.mosquitto.org WIFI interface ESP8266 Issue of topic0 by pressing the button If reception of ', switching of the led If received from 'q' end of program

Dependencies:   MQTT

This is a MQTT protocol test on STM32 NUCLEO The broker is tests.mosquitto.org The WIFI interface is ESP8266

For configuration please check mbed_app.json and #define in main.cpp

Issue of topic0 by pressing the button If received 'l' from broker then switching of the led If received 'q' from broker then end the program

Information and debug with a terminal using UART over USB https://os.mbed.com/media/uploads/cdupaty/mqtt2.jpg

This test has been checked with MQTT.fx https://os.mbed.com/media/uploads/cdupaty/mqttfx.jpg

Changes

RevisionDateWhoCommit message
24:cc01ff2c2603 2020-06-11 cdupaty MQTT protocol test on STM32; broker tests.mosquitto.org; WIFI interface ESP8266; Issue of topic0 by pressing the button; If reception of ', switching of the led; If received from 'q' end of program default tip
23:e38aaf532823 2018-01-16 icraggs Update the MQTT library
22:f5f6c9059eed 2017-09-11 Jan Jongboom Roll back update to mbed OS 5.5
21:a68bd76740f9 2017-09-07 Jan Jongboom changeset: 21:6ab7c0b84d9e
20:49c9daf2b0ff 2017-01-10 Jan Jongboom Update to mbed OS 5, use NetworkInterface for multiple connectivity methods - not just ethernet
19:7f7aba7a4a8b 2015-07-30 icraggs Subscribe at QoS 2, remove lcd.cls() calls
18:07a79d8f01c3 2015-07-27 icraggs Make it easy to not use LCD screen, if you don't have one
17:0811bdbdd78a 2015-07-27 icraggs Make sure QoS 2 works
16:28d062c5522b 2014-10-06 icraggs Update to latest MQTT library - change some pointers to references
15:d8a31b66a85d 2014-08-01 icraggs Latest libraries
14:3c0b3663d448 2014-08-01 icraggs Merge
13:52a9dd92ce9d 2014-08-01 icraggs Latest library updates
12:086a9314e8a5 2014-08-01 icraggs Some cleaning up
11:5f6f8b0dd61d 2014-07-30 sam_grove Update to FP in MQTT library;
10:ce3321d8ea90 2014-07-07 ansond updates
9:5beb8609e9f7 2014-05-22 icraggs Latest version
8:a3e3113054a1 2014-05-20 icraggs Refactoring headers
7:3de634f2d40c 2014-05-11 icraggs Merge latest changes
6:e4c690c45021 2014-05-11 icraggs Wildcard subscriptions
5:4a257f6ac09a 2014-05-09 sam_grove Updates to the example to use the virtual serial port and the LCD for feedback
4:c696f27c1850 2014-05-09 sam_grove Update to sub-sub dependency
3:7a6a899de7cc 2014-05-06 icraggs Use latest MQTT library on both mbed and Linux
2:638c854c0695 2014-04-30 icraggs Update to the latest level of code
1:a1d5c7a6acbc 2014-02-05 icraggs Add copyright statement to main program
0:0cae29831d01 2014-02-04 icraggs Sample program for MQTT client