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.
History
double checked everything working. Pub/sub to same topic for self echoing.
2015-06-09, by mbedAustin [Tue, 09 Jun 2015 17:57:43 +0000] rev 18
double checked everything working. Pub/sub to same topic for self echoing.
Modified to use ESP8266
2015-06-05, by geky [Fri, 05 Jun 2015 15:15:24 +0000] rev 17
Modified to use ESP8266
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
Merge
2014-08-01, by icraggs [Fri, 01 Aug 2014 17:31:12 +0000] rev 14
Merge
Latest library updates
2014-08-01, by icraggs [Fri, 01 Aug 2014 17:27:54 +0000] rev 13
Latest library updates
Some cleaning up
2014-08-01, by icraggs [Fri, 01 Aug 2014 17:02:22 +0000] rev 12
Some cleaning up
Update to FP in MQTT library;
2014-07-30, by sam_grove [Wed, 30 Jul 2014 19:12:39 +0000] rev 11
Update to FP in MQTT library;
updates
2014-07-07, by ansond [Mon, 07 Jul 2014 20:41:29 +0000] rev 10
updates
Latest version
2014-05-22, by icraggs [Thu, 22 May 2014 23:58:34 +0000] rev 9
Latest version