this description of how to use stm32 to send and receive MQTT Messages? for more details watch the video link https://www.youtube.com/watch?v=8P3_R6Xmhb0&t=212s