This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
esp_mqtt [2014/12/31 13:19] george-hopkins created |
esp_mqtt [2014/12/31 13:28] george-hopkins Fixed headers |
||
---|---|---|---|
Line 3: | Line 3: | ||
This is MQTT client library for ESP8266, port from: [[https://github.com/esar/contiki-mqtt|MQTT client library for Contiki]] | This is MQTT client library for ESP8266, port from: [[https://github.com/esar/contiki-mqtt|MQTT client library for Contiki]] | ||
- | ====== Repository: ====== | + | ===== Repository ===== |
https://github.com/tuanpmt/esp_mqtt | https://github.com/tuanpmt/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). | ||
Line 13: | Line 13: | ||
* Easy to setup and use | * Easy to setup and use | ||
- | ====== Usage ====== | + | ===== Usage ===== |
<code c> | <code c> | ||
Line 74: | Line 74: | ||
} | } | ||
</code> | </code> | ||
- | ====== Default configuration ====== | + | ===== Default configuration ===== |
See: //user_config.h// and //config.c// | See: //user_config.h// and //config.c// | ||
- | ====== Create SSL Self sign ====== | + | ===== Create SSL Self sign ===== |
<code bash> | <code bash> | ||
openssl req -x509 -newkey rsa:1024 -keyout key.pem -out cert.pem -days XXX | openssl req -x509 -newkey rsa:1024 -keyout key.pem -out cert.pem -days XXX | ||
</code> | </code> | ||
- | ====== SSL Mqtt broker for test ====== | + | ===== SSL Mqtt broker for test ===== |
<code javascript> | <code javascript> | ||
Line 131: | Line 131: | ||
**Be careful:** This library is not fully supported for too long messages. | **Be careful:** This library is not fully supported for too long messages. | ||
- | ====== Status: ====== | + | ===== Status: ===== |
//Alpha release.// | //Alpha release.// | ||
Line 139: | Line 139: | ||
- | **Requried:** | + | **Required:** |
esp_iot_sdk_v0.9.4_14_12_19 | esp_iot_sdk_v0.9.4_14_12_19 |