Configure an application as an MQTT client

Message Queue Telemetry Transport (MQTT) is a standard ISO protocol based on a message broker, which is responsible for distributing messages to recipient clients.

Figure 1. Application example
Tip: You can download a sample project from: MQTTClient.zip

Prerequisites

To develop the project
  1. Configure the message broker IP.
  2. Develop the publisher NetLogic and interface.
  3. Develop the subscriber NetLogic and interface.
  4. Save the project.

Select Run to run the project using the client emulator to test your project. To run the project on a remote client, see Add a client device.