Page Tree
Previous Releases
...
DisableRetainedFile: The broker stores the last retained message and the corresponding QoS for that topic. The valid value is true or false. The default is false.
ClientID: This parameter can enable limitation This parameter enables limitations for specific MQTT Clients related to For configuring clients. To configure more than one MQTT Client client, you need to create a whole new whole line changing and change the last number to the next sequence number.
Code Block |
---|
add key="ClientID1" value="<MQTTClientID>; Topic1=<Topic>, Subscribe1=<True or False>, Publish1=<True or False>" /> |
There are 4 internal parameters:
Publish: flag (true or false) that allows the client to publish a topic (can write messages)
Code Block |
---|
<add key="ClientID1" value="MQTTClientTest;Topic1=*,Subscribe1=True, Publish1=True"/> <add key="ClientID2" value="32443fsa6546fa;Topic1=*,Subscribe1=True, Publish1=False"/> <add key="ClientID3" value="7323rt304343r4;Topic1=*,Subscribe1=False,Publish1=True"/> |
...
...
...
In this scenario, the TMQTTBroker works as if you combined the last two scenarios together. As a simple gateway exchange any data between the MQTT Clients and publishing data projects to the topics that match the project configuration in the TMQTTBroker.exe.config.
...
The first step in setting up communication between the TMQTTBroker and the MQTTdriver is to create a Channel using this the protocol shown in the image below.
In the Engineering environment, go to Edit>Devices>Channels and find the desired protocol inside the list.
...
In the Points tab, you need to configure the topic so that your variable can publish or subscribe to messages according to its AccessType. More information on is available for each item is available in the MQTT driver documentationAddress columns, under Edit > Devices > Points.
...