RAFW Flexible Software Package Documentation  Release v2.1.0

 
Eclipse Mosquitto (MQTT)

Eclipse Mosquitto is publish-subscribe-based messaging protocol.

Overview

Mosquitto is an open source implementation for version 3.1 and 3.1.1 of the MQTT protocol. It also includes the mosquitto_pub and mosquitto_sub utilities for publishing and subscribing.

Features

The Eclipse Mosquitto module has the following key features:

Configuration

Build Time Configurations for MQTT

The following build time configurations are defined in eclipse/mqtt_client/mqtt_client_cfg.h:

ConfigurationOptionsDefaultDescription
Clean Session Mode
  • Enabled
  • Disabled
Enabled Set clean session mode.
Watchdog Service Support
  • Enabled
  • Disabled
Disabled Enable when using the Watchdog Service.
TLS Mode
  • Enabled
  • Disabled
Disabled Set TLS mode.
Debug Mode
  • Enabled
  • Disabled
Disabled Set debug mode.
MQTT Max topic length
  • 64
  • 128
64 Set topic max length.
MQTT publish message max length
  • 2048
  • 4096
2048 Set publish message max length.

Clock Configuration

This module has no required clock configurations.

Pin Configuration

This module does not use I/O pins.

Usage Notes

Refer to WIFI (rm_wifi) and MQTT Port (rm_mqtt_port_w).

Limitations

Refer to WIFI (rm_wifi) and MQTT Port (rm_mqtt_port_w).