WiFi MQTT Publish
Publish messages to message queuing telemetry transport (MQTT) broker
- Library:
Simulink Support Package for Arduino Hardware / WiFi
Description
Use the WiFi MQTT Publish block to publish messages from your publisher (hardware) to the MQTT broker on the topic you specify in the Topic parameter.
Note
The WiFi MQTT Publish block supports MQTT over TCP/IP sockets only.
The WiFi MQTT Publish block supports these hardware boards.
Arduino MKR WiFi 1010
Arduino MKR 1000
Arduino Nano 33 IoT
ESP32-WROOM (Arduino Compatible)
ESP32-WROVER (Arduino Compatible)
Ports
Input
Output
Parameters
Version History
Introduced in R2022b