User Manual
Your Trustworthy Industrial IoT Partner www.pusr.com
If you use a TLS connection, click the SSL/TLS tab, select Enable SSL/TLS, and then set
the Protocol parameter to TLSv1.2
Fig. 23 Topic to publish
Table 12 Publish message setting
Transparent transmission, just as its name implies,the gateway does not process any data, forward the
data directly.
Topic distribution,in this mode users should define a topic name when configuring the topic. After
receiving serial port data, the device pushes it to the associated topics based on the topic name. Topic
name and payload are separated by comma. For example, topic name, {"message": "Hello from
USR-M100 gateway"} as serial data. Different topics are allowed to have the same topic name. In this
way, data is pushed to all topics with the same topic name.
Custom mode, add topic, Qos(0,1,2), retain(ON,OFF) message before payload. After receiving the serial
data, USR-M100 publishes the payload of the corresponding topic to cloud according to rules. This
method can be used to publish any topic at any time. For example, awsiot/test,0,ON,{"message": "Hello
from USR-M100 gateway"} as serial data.
An MQTT topic is a UTF-8 string that the broker uses to filter messages for each connected client. To
receive messages, the client must subscribe to the topic. A topic can have one or more topic levels.
Each topic level is separated by a slash (Topic Level Separator).
The MQTT topic is bound to the serial port number of the device. Any data from the COM Port1 of the
gateway will send to all the TOPIC it bindings to.
QoS 0: at most once. In this case, the client publishes a message to the broker only once.
QoS 1: at least once. In this case, when a client publishes a message to the broker, the client expects
the broker to acknowledge whether or not a client has received the message. If the publisher does not
receive acknowledgement from the broker within a preset time interval, it will republish the message