Example MQTT implemented on the ESP8266
Dependencies: ESP8266Interface MQTT mbed-rtos mbed
Fork of HelloMQTT by
This is an example of how to run MQTT using the esp8266 as the network connection. This program will default to trying to talk to a public MQTT server (test.mosquitto.org). The example will subscribe to a topic and then publish to that topic. In this way it will effectively echo back to itself. You can alternatively use a private mqtt broker,[[TODO: |instructions here]]
Please note that the ESP8266 interface cannot translate hostnames to IP Addresses, it can only accept raw IP Addresses as input.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
7:3de634f2d40c | 2014-05-11 | Merge latest changes | File Diff Annotate |
6:e4c690c45021 | 2014-05-11 | Wildcard subscriptions | File Diff Annotate |
5:4a257f6ac09a | 2014-05-09 | Updates to the example to use the virtual serial port and the LCD for feedback | File Diff Annotate |
3:7a6a899de7cc | 2014-05-06 | Use latest MQTT library on both mbed and Linux | File Diff Annotate |
2:638c854c0695 | 2014-04-30 | Update to the latest level of code | File Diff Annotate |
1:a1d5c7a6acbc | 2014-02-05 | Add copyright statement to main program | File Diff Annotate |
0:0cae29831d01 | 2014-02-04 | Sample program for MQTT client | File Diff Annotate |