Mqtt Client - Ebyte NB1A1 User Manual

16 serial server
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
Request data is "/", use the serial assistant to get the web page:
In the POST request mode, the device automatically calculates the data length of the packet header
(for example, Content-length:2729) that does not need to be configured separately, and sends the
packet. Other packet headers need to be manually configured. A maximum of 128 bytes of data can
be configured。

4.4.6 MQTT Client

Support fast access to standard MQTT3.1.1 protocol servers (OneNET, Baidu Cloud, Huawei
Cloud, user-built server types, etc.) and Alibaba Cloud servers, support quality of service level
configuration (Qos 0, Qos 1), support long text configuration, Convenient and better access to
network service operators (server address, three elements, subscription and publication address
support up to 128 characters configuration, Alibaba Cloud product key 64 characters).
When using MQTT function, short links should be turned off, otherwise the device will
repeatedly connect to the server, it is recommended to use random ports, as shown in the following
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
NB1A1User Manual
20

Advertisement

Table of Contents
loading

Table of Contents