summaryrefslogtreecommitdiff
path: root/components/external
diff options
context:
space:
mode:
authorheyuanjie87 <[email protected]>2015-07-22 21:52:09 +0800
committerheyuanjie87 <[email protected]>2015-07-22 21:52:09 +0800
commit703eb440d860305510dc491d60c622464d18f102 (patch)
treecf446ddc84da2da85150bbcf716480cd9b3058c3 /components/external
parente81663377e303c34499c975aa2d013612e454e5f (diff)
添加编译说明
Diffstat (limited to 'components/external')
-rw-r--r--components/external/paho-mqtt/README_CN.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/components/external/paho-mqtt/README_CN.md b/components/external/paho-mqtt/README_CN.md
new file mode 100644
index 0000000000..5da55bfe3d
--- /dev/null
+++ b/components/external/paho-mqtt/README_CN.md
@@ -0,0 +1,22 @@
+# Eclipse Paho MQTT C/C++ client for Embedded platforms
+
+This repository contains the source code for the [Eclipse Paho](http://eclipse.org/paho) MQTT C/C++ client library for Embedded platorms.
+
+It is dual licensed under the EPL and EDL (see about.html and notice.html for more details). You can choose which of these licenses you want to use the code under. The EDL allows you to embed the code into your application, and distribute your application in binary or source form without contributing any of your code, or any changes you make back to Paho. See the EDL for the exact conditions.
+
+The MQTTPacket directory contains the lowest level C library with the smallest requirements. This supplies simple serialization
+and deserialization routines. It is mainly up to you to write and read to and from the network.
+
+
+## 编译
+
+* 在rtconfig.h中添加 `#define RT_USING_PAHOMQTT`
+* 开启LWIP组件
+
+## 使用方法
+
+参见 `rt-thread\examples\network\mqttclient.c`
+
+## 关于MQTT
+
+参见 [MQTT community site](http://mqtt.org).