Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Backlog: Sets the number of connections to keep backlog. Default: is 100
  • DisableRetainedFile: The broker stores the last retained message and the corresponding QoS for that topic. Valid The valid value is true or false. Default The default is false.

  • ClientID: This parameter can enable limitation for specific MQTT Clients related to For configuring more than one MQTT Client you need to create new whole line changing 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:

  • value: Sets the MQTT Client Id;
  • Topic: Specific Topic that will set the limitation;
  • Subscribe: flag (true or false) that allows Client to subscribe to topic (can receive messages);
  • Publish: flag (true or false) that allows Client to publish to 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"/>


...