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

MQTT.lib

Committer:
icraggs
Date:
2014-05-06
Revision:
3:7a6a899de7cc
Parent:
2:638c854c0695
Child:
4:c696f27c1850
Child:
6:e4c690c45021

File content as of revision 3:7a6a899de7cc:

http://mbed.org/teams/mqtt/code/MQTT/#05fc7de97d4a