MQTT Client Lite App - User Guide


This is a simple MQTT Client App. This App is targeted for engineers, technical hobbyists, and MQTT Network testers.

Home Screen Settings Screen

Recommendation

Features

Technical points

Connecting to the MQTT Broker

To connect to the MQTT Broker, go to the Setting Screen, as shown in figure below:
Setting Screen

Then, connection can be established with different option:

1. With only Broker Address and Port

This is recommended in local Network only. Since, here the data transmission and reception are unencrypted. Simply provide the MQTT Broker address and the Port number. The MQTT Broker must also be configured to accept the connection and communication without the TLS/SLL and without the authentication. In case the Client name is not provided, the App will generate Client name with starting mbl_***.

With Broker Address and Port

2. With Broker Address, Port and TLS/SSL enabled

To use the TLS/SSL option, it must be enabled in the App. This will allow encrypted communication throughout the MQTT Network.

With Broker Address, Port and TLS/SSL enabled

3. With Broker Address, Port, and Authentication

If required, for example by the MQTT Broker, authentication credintials (username and password) must be provided.

Connecting with Broker Address, Port, and TLS/SSL

Notes:

Client Name

The Client name is recommended. But in case it is not provided, the Client name will be generated by the App with starting mbl_***

Port number and TLS/SSL
As recommended, for connection without TLS/SSL (unencrypted), port number 1883 is recommended. And for connection with TLS/SSL (encrypted), port number 8883 is recommended. In case of use of wrong Port number, the App will raise error when detected.

Port 1883 and TLS enabled Port 8883 and TLS disabled

Connected Status:

Once connected, the status Widget will turn Green, as in figure below:
Connected Status

Home Screen

In the Home Screen, firtly there is section to Publish MQTT messages, as shown in Section 1. Simply provide the MQTT Topic and Message to publish / send. On publishing Message to the MQTT Topic, the Topic is added also to the Subscription list. In the section 2, MQTT Topics can be subscribed to. In the Section 3, last Message / Payload can be seen for each subscribed MQTT Topics. Section 4 is to plot numerical values for selected MQTT Topic. Other than numerical values will be ignored.
Home Screen Sections Plot Topic