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

History

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

2020-06-11, by cdupaty [Thu, 11 Jun 2020 14:09:40 +0000] rev 24

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


Update the MQTT library

2018-01-16, by icraggs [Tue, 16 Jan 2018 13:41:29 +0000] rev 23

Update the MQTT library


Roll back update to mbed OS 5.5

2017-09-11, by Jan Jongboom [Mon, 11 Sep 2017 16:43:49 +0200] rev 22

Roll back update to mbed OS 5.5


changeset: 21:6ab7c0b84d9e

2017-09-07, by Jan Jongboom [Thu, 07 Sep 2017 10:06:22 +0100] rev 21

changeset: 21:6ab7c0b84d9e
tag: tip
user: Jan Jongboom <janjongboom@gmail.com>
date: Thu Sep 07 10:02:29 2017 +0100
summary: Update to mbed OS 5.5.6


Update to mbed OS 5, use NetworkInterface for multiple connectivity methods - not just ethernet

2017-01-10, by Jan Jongboom [Tue, 10 Jan 2017 18:10:17 -0600] rev 20

Update to mbed OS 5, use NetworkInterface for multiple connectivity methods - not just ethernet


Subscribe at QoS 2, remove lcd.cls() calls

2015-07-30, by icraggs [Thu, 30 Jul 2015 13:49:18 +0000] rev 19

Subscribe at QoS 2, remove lcd.cls() calls


Make it easy to not use LCD screen, if you don't have one

2015-07-27, by icraggs [Mon, 27 Jul 2015 09:30:31 +0000] rev 18

Make it easy to not use LCD screen, if you don't have one


Make sure QoS 2 works

2015-07-27, by icraggs [Mon, 27 Jul 2015 09:16:08 +0000] rev 17

Make sure QoS 2 works


Update to latest MQTT library - change some pointers to references

2014-10-06, by icraggs [Mon, 06 Oct 2014 11:42:25 +0000] rev 16

Update to latest MQTT library - change some pointers to references


Latest libraries

2014-08-01, by icraggs [Fri, 01 Aug 2014 23:46:08 +0000] rev 15

Latest libraries