Main Content

MQTT

Encryption Type

Specify the encryption protocol to use for the entire MQTT communication.

Settings

Default: None

SSL/TLS

Broker Address

Specify the address of the MQTT broker to which the client is to be connected.

Settings

Default: mqtt3.thingspeak.com

Port

Specify the port number to use for the MQTT TCP/IP communication. When Encryption Type is None, the port number defaults to 1883. When Encryption Type is SSL/TLS, the port number defaults to 8883, the standardized port number for secured MQTT communication.

Settings

Default: 1883

8883

CA Server Certificate Path

File name, denoting the name and location of a file containing root certificates. The file must be an X.509 certificate with a .pem or .crt extension. The location must be in the current folder, in a folder on the MATLAB® path, or a full or relative path to a file.

Settings

Default: <empty>

Username

Specify the user name for the MQTT broker to authenticate the client.

Settings

Default: <empty>

Password

Specify the password for the MQTT broker to authenticate the client.

Settings

Default: <empty>

Client ID

Specify an identifier (ID) for the MQTT client. This ID must be unique for each client that is connected to a MQTT broker. The broker uses the ID to identify the current state of the client.

Settings

Default: <empty>