MQTT - Broker Connection Tab

See also: Networking and Communications

See also: MQTT or MQTT Sparkplug

 

Selecting Broker Connection tab displays the following window:

Here user can add a New Broker.

Add - Selecting this option allows user to add a new broker connection.

Edit - Selecting this option allows user to edit an existing broker connection.

Delete - Selecting this option allows user to delete an existing broker connection.

 

Selecting Add option displays the following window:

Setting Tab

  • Connection Name - User defined name (string).

  • Broker Type - SparkPlug is selected as default.

  • Broker IP - This is the broker IP field which can be configured as IP / URL / via Register for IP / Via Register for URL

  • Port - Port number to connect to the broker

  • Username - Username to connect to the broker

  • Password - Password to connect to the broker

  • Keep Alive - The client and broker exchange a Heartbeat message within this time, to make sure both are online.

  • Clean Session - If unchecked saves all the data relevant to the client on the broker.

  • MQTT Protocol Version - Displays the version of MQTT protocol

 

Encryption Tab

Enable SSL/TLS Support - If SSL/TLS is enabled then user is required to browse and attach the certificate file to be downloaded to the controller.

 

Note –

  • Setting Primary Host to 0.0.0.0 allows the controller to publish Sparkplug B data without waiting for a Primary Host Application to report ONLINE. This requires Cscape 10.3 or later.

  • Enter exactly 0.0.0.0. A blank field or any other value is treated as a normal Primary Host ID. Use this option only when no Primary Host Application is used.

  • Primary Host = 0.0.0.0; The controller skips the Primary Host check and publishes NBIRTH and NDATA as soon as it connects to the MQTT broker. STATE messages are ignored.

 

Return to the Top: MQTT - Broker Connection Tab