Mqtt Client - Ebyte EBT3002 T6 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.

4.4.6 MQTT client

Supports fast access to standard MQTT3.1.1 protocol servers (such as OneNET, Baidu Cloud,
Huawei Cloud, and user built server types) and Alibaba Cloud servers, supports service quality level
configuration (Qos 0, Qos 1), supports ultra long text configuration, and facilitates better access to
network service operators (server address, three elements, subscription and publishing address
support up to 128 characters configuration, Alibaba Cloud product key 64 characters).
When using the MQTT function, short links should be turned off, otherwise the device will
repeatedly connect to the server. It is recommended to use a random port, as shown in the following
figure:
(1)、 You can refer to the following table to fill in the parameters for selecting standard
MQTT3.1.1, Baidu Cloud, OneNET, and Huawei Cloud configurations:
parameter
Device Name
(Client ID)
user name
(Device name)
password
(Device secret)
PrductKey
Publish Theme
Subscription
Theme
[Note]
 Dynamically generating topic addresses can use the same parameters to achieve the effect of
data retrieval. For example, if OneNET publishes and subscribes to the same topic address: 123456,
data retrieval can be achieved;
 Due to adjustments on the MQTT platform (Baidu Cloud, Huawei Cloud, OneNET), it is
not possible to connect after filling in the parameters. The platform rules shall prevail;
Taking the standard MQTT3.1.1 parameter filling as an example, as shown in the following
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
Standard
Baidu Cloud
MQTT3.3.1
Client ID
DeviceKey
IoTCoreId/Device
User Name
Password
DeviceSecret
Alibaba Cloud parameters, optional
MQTT publishing topic address (dynamically generated
by OneNET)
MQTT subscription topic address (dynamically
generated by OneNET)
OneNET
Device ID
Product ID
Key
Device Name/User
Password
EBT3002 User Manual

Advertisement

Table of Contents
loading

Table of Contents