This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
espduino [2015/01/09 03:39] admin [Required] |
espduino [2015/01/09 06:28] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== espduino ====== | + | ====== ESPDUINO ====== |
- | + | This is MQTT client for arduino connect to broker via ESP8266 AT command, port from [[https://github.com/esar/contiki-mqtt|MQTT client library for Contiki]] | |
- | This is MQTT client for arduino connect to broker via ESP8266 AT command, port from [[MQTT client library for Contiki|https://github.com/esar/contiki-mqtt]] | + | |
You can find the Native MQTT client library for ESP8266 work well here: [[esp_mqtt]] | You can find the Native MQTT client library for ESP8266 work well here: [[esp_mqtt]] | ||
- | ====== Features ====== | + | ===== Features ===== |
* Support subscribing, publishing, authentication, will messages, keep alive pings and all 3 QoS levels (it should be a fully functional client). | * Support subscribing, publishing, authentication, will messages, keep alive pings and all 3 QoS levels (it should be a fully functional client). | ||
* Easy to setup and use | * Easy to setup and use | ||
- | ====== Required ====== | + | ===== Required ===== |
You will need V0.2 AT+ commands from Espressif, if you do not have you can download and flash the following: ESP8266 At Command 0.2: [[https://github.com/espressif/esp8266_at|https://github.com/espressif/esp8266_at]] | You will need V0.2 AT+ commands from Espressif, if you do not have you can download and flash the following: ESP8266 At Command 0.2: [[https://github.com/espressif/esp8266_at|https://github.com/espressif/esp8266_at]] | ||
You will also need the ESPDUINO library for Arduino that can be found here: https://github.com/tuanpmt/espduino | You will also need the ESPDUINO library for Arduino that can be found here: https://github.com/tuanpmt/espduino | ||
- | ====== Warning ====== | + | ===== Warning ===== |
you have to change the SERIAL_BUFFER_SIZE minimum is 64 bytes in | you have to change the SERIAL_BUFFER_SIZE minimum is 64 bytes in | ||
Line 19: | Line 18: | ||
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp | C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp | ||
</code> | </code> | ||
- | ====== Status ====== | + | ===== Status ===== |
WORKING | WORKING | ||
- | ====== Usage ====== | + | ===== Usage ===== |
<code c> | <code c> | ||
#include <espduino.h> | #include <espduino.h> |