BLIIOT Industrial Ethernet Remote I/O Module Application 30--MQTT Client configuration

BLIIOT Industrial Ethernet Remote I/O Module Application 30--MQTT Client configuration

Client configuration

No alt text provided for this image

1)?Communication protocol: MQTT?protocol

2)?Server IP domain name: King Pigeon Cloud 2.0 default:mqtt.dtuip.com

3)?Port: Broker Server Port number(King Pigeon Cloud 2.0 default:1883).

4)?Subscription topic: Client subscribe topic (King Pigeon cloud 2.0 default:?serial number/?+)

5)?Publish topic: Device publish data topic (King Pigeon cloud 2.0 default:?serial number/?+).

6)?Mqtt client?ID: the unique identification, which can be serial number, device ID, or IMEI code (KingPigeon Cloud 2.0 default is serial number)

7)?Mqtt user name: Device's account on the broker server (King Pigeon Cloud 2.0 default is MQTT)

8)?Mqtt password:Password of device's account on the broker server(King Pigeon Cloud 2.0 default is MQTTPW)

9)?Supplementary transmission: check to enable supplementary transmission, after enabling it, the data during the offline period will be supplemented when reconnected to the cloud platform

?

After the configuration is completed, the client will initiate a connection to the server:

Connect: the client sends a connect message request to the server;

Connack: the server responds to a connack confirmation message, indicating that the connection is successful;

After the client establishes a connection, it is a long connection, and the client can publish or subscribe messages on the server;

Take devices and customers' mobile phones as clients

After the device publishes the topic on the proxy server, customers can view the data through subscription.That is, the device is the publisher, and the customer's mobile phone is the subscriber.

Similarly, users can control the device by publishing topics through the mqtt server.That is, the user is the publisher and the device is the subscriber.

More information about the Remote Ethernet I/O module: https://www.bliiot.com/modbus-tcp-io-modules-p00254p1.html

要查看或添加评论,请登录

BLIIoT--Beilai Tech.Co.,Ltd.的更多文章

社区洞察

其他会员也浏览了