소스 검색

添加编译说明

heyuanjie87 10 년 전
부모
커밋
703eb440d8
1개의 변경된 파일22개의 추가작업 그리고 0개의 파일을 삭제
  1. 22 0
      components/external/paho-mqtt/README_CN.md

+ 22 - 0
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).