Summary Information

Communication Driver Name: MQTT

Implementation DLL: T.ProtocolDriver.MQTT.dll

Interface: TCPIP

Protocol: MQTT (Message Queuing Telemetry Transport) is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol

PC Hardware requirements: Ethernet board

Implemented Methods: Connect, Disconnect, Subscribe, Unsubscribe, and Publish



Channel Configuration

Protocol Options

Not used in this driver



Node Configuration

Station Configuration

Station syntax: <URL>;<Port>;[Username];[Password];[X509Certificate]

Where:


One of the easiest ways to install the certificate on the client computer is to use the wizard to import the certificates through the "Internet Options". To import the certificate in the "Trusted Root Certification Authorities”, you need to import the certificate in the .DER format.

Station Examples

Broker configuration with no Username and Password and no SSL/TLS

Station Configuration

Broker configuration with Username and Password and no SSL/TLS

Station Configuration

Broker configuration with SSL/TLS and no Username and Password

Station Configuration

Broker configuration with SSL/TLS and Username and Password

Station Configuration



Point Configuration

Address

The syntax for the MQTT communication points is: <Topic>:<QoS>

Where:

E.g.: USA/Houston/Station1/Level:AtMostOnce



Troubleshoot

The status of the driver's execution can be observed through the diagnostic tools, which are:

• Trace window
• Property Watch
• Module Information

The above tools indicate if the operations have succeeded or have failed. A status of 0 (zero) means communication is successful. Negative values indicate internal driver errors, and positive values indicate protocol error codes.