MQTT - Client Setup
MQTT - Client Setup — Configures one MQTT client
station
Library
Simulink Real-Time - Speedgoat

Description
The Setup block configures one MQTT client station, allows the Connection block to
connect with MQTT brokers and enables the Publish and Subscribe blocks to exchange
data on the network. Every MQTT Client Setup block in the model requires a runtime
license.
Ports
This driver block has no input or output ports.
Parameters
-
Station ID
The Station ID is used to assign Setup, Connection, Publish and
Subscribe blocks to a particular client station. Station IDs range
between 0 to 65535 and must be unique along all MQTT Client Setup blocks
in a model. You can define multiple clients by placing a Setup block
with a unique Station ID for each client.
-
Client Identifier
The Client Identifier represents the client in the MQTT network and
must be unique along all clients in that network. The parameter is a
character array whose length limit is 256.
-
Local IP Address
Enter the IP address of the MQTT client. This step does not assign the
IP address to an Ethernet interface; instead, it binds the Setup block
to an IP address, which was previously configured in the Ethernet
Configuration Tool. Refer to the MQTT usage notes for
further information.
There is no need to specify a TCP port as TCP ports are automatically
assigned to clients.