update ESP-MQTT by including the mqtt5 example

This commit is contained in:
Linda 2022-12-21 15:56:13 +08:00
parent 781eb0c2ce
commit ff57f243f2
2 changed files with 6 additions and 2 deletions

View File

@ -1,10 +1,11 @@
ESP-MQTT
========
:link_to_translation:`zh_CN:[中文]`
Overview
--------
ESP-MQTT is an implementation of `MQTT <https://mqtt.org/>`_ protocol client. MQTT is a lightweight publish/subscribe messaging protocol.
ESP-MQTT is an implementation of `MQTT <https://mqtt.org/>`__ protocol client, which is a lightweight publish/subscribe messaging protocol. Now ESP-MQTT supports `MQTT v5.0 <https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html>`__.
Features
@ -25,6 +26,7 @@ Application Examples
* :example:`protocols/mqtt/ssl_psk`: MQTT over TLS using pre-shared keys for authentication, default port 8883
* :example:`protocols/mqtt/ws`: MQTT over WebSocket, default port 80
* :example:`protocols/mqtt/wss`: MQTT over WebSocket Secure, default port 443
* :example:`protocols/mqtt5`: Uses ESP-MQTT library to connect to broker with MQTT v5.0
MQTT Message Retransmission
---------------------------

View File

@ -1,10 +1,11 @@
ESP-MQTT
========
:link_to_translation:`en:[English]`
概述
--------
ESP-MQTT 是 `MQTT <https://mqtt.org/>`_ 协议客户端的实现。MQTT 是一种基于发布/订阅模式的轻量级消息传输协议。
ESP-MQTT 是 `MQTT <https://mqtt.org/>`__ 协议客户端的实现,MQTT 是一种基于发布/订阅模式的轻量级消息传输协议。ESP-MQTT 当前支持 `MQTT v5.0 <https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html>`__
特性
@ -25,6 +26,7 @@ ESP-MQTT 是 `MQTT <https://mqtt.org/>`_ 协议客户端的实现。MQTT 是一
* :example:`protocols/mqtt/ssl_psk`:基于 TLS 的 MQTT使用预共享密钥进行身份验证默认端口 8883
* :example:`protocols/mqtt/ws`:基于 WebSocket 的 MQTT默认端口 80
* :example:`protocols/mqtt/wss`:基于 WebSocket Secure 的 MQTT默认端口 443
* :example:`protocols/mqtt5`: 使用 ESP-MQTT 库连接 MQTT v5.0 的服务器
MQTT 消息重传
--------------------------