Chengdu Ebyte Electronic Technology Co., Ltd.
NB144S User Manual
Copyright ©2012
,
Chengdu Ebyte Electronic Technology Co., Ltd.
23
for example: OneNET publishes and subscribes to the same topic address: 1 23456 to achieve data return;
Due to the adjustment of the MQTT platform (Baidu Cloud, Huawei Cloud, OneNET), the connection
cannot be made after filling in the parameters, and the platform rules shall prevail;
Take the standard MQTT3.1.1 parameter filling as an example, as shown in the figure below:
(
2
)、
Ali Cloud
It supports the use of Alibaba Cloud's "three elements" to directly connect to the server to obtain the "three
elements" needed to connect to Alibaba Cloud, as shown in the figure (only for demonstration cases, users need to
use self-built parameters to connect):
Configure Topic for communication test:
Configuration theme description:
Select the corresponding product, click "Customize To pic " under the Topic class list (please refer to the
Alibaba Cloud documentation for details ), click "Define To pic class", configure the name as 1 234 and grant
publish and subscribe permissions (use for data return).
Configure the device connection parameters, as shown in the figure below (the left picture is the upper
computer, and the right picture is the webpage configuration ) :
{
"ProductKey": "a1GlhuTU1yN",
"DeviceName": "DEV04",
"DeviceSecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"