WiFi MQTT Subscribe
Receive messages from message queuing telemetry transport (MQTT) broker
Since R2022b
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
Libraries:
Simulink Support Package for Arduino Hardware /
WiFi
Description
Use the WiFi MQTT Subscribe block to receive messages from the message queuing telemetry transport (MQTT) broker on the specified topic.
Note
The WiFi MQTT Subscribe block supports MQTT over TCP/IP sockets only.
The WiFi MQTT Subscribe block supports these hardware boards.
Arduino MKR WiFi 1010
Arduino MKR 1000
Arduino Nano 33 IoT
Arduino® compatible ESP32 – WROOM board
Arduino compatible ESP32 – WROVER board
Ports
Output
Parameters
Version History
Introduced in R2022b
See Also
MQTT properties | MQTT Basics (ThingSpeak) | WiFi MQTT Publish | Publish MQTT Messages and Subscribe to Message Topics