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.
Files at revision 18:76d0899bc3ce
Name | Size | Actions |
---|---|---|
[up] | ||
Linux-example | ||
ESP8266Interface.lib | 76 | Revisions Annotate |
MQTT.lib | 51 | Revisions Annotate |
MQTTESP8266.h | 1272 | Revisions Annotate |
main.cpp | 4340 | Revisions Annotate |
mbed-rtos.lib | 65 | Revisions Annotate |
mbed.bld | 65 | Revisions Annotate |