2024-06-13 11:50 PM
I need to build an MQTT demo from scratch using STM32CubeIDE where the STM32 board will act as the publisher and Adafruit IO will act as the subscriber. I want to implement this without using FreeRTOS and LwIP, focusing only on publishing the message. I need a step-by-step guide on how to accomplish this.
Solved! Go to Solution.
2024-06-17 02:10 AM
No experience with using those two together.
Any MQTT library should have guidance on how to integrate it with an IP stack of your choice - so check their documentation/support...
See also: https://www.google.com/search?q=Paho+MQTT+C etc ...
2024-06-14 03:00 AM
@Govardhini wrote:I want to implement this without using ... LwIP
Seriously - you want to implement the TCP/IP stack yourself??
@Govardhini wrote:focusing only on publishing the message
Implementing an IP stack from scratch is very far from "focusing only on publishing the message" !
2024-06-14 05:49 AM
2024-06-16 08:55 PM
Hi Andrew,
Thank you for your insights! Based on your feedback, I understand the complexity involved in handling the TCP/IP stack directly. I am considering using the Paho MQTT library for MQTT communications and LwIP for the network transport on my embedded project, I would like to ask for your advice on how to properly integrate these two components.
Could you provide some guidance or point me to resources that explain the steps to integrate the Paho MQTT library with the LwIP stack? I aim to establish a reliable MQTT connection between my board and the cloud and would greatly value your expert advice on this setup.
Thank you for your assistance!
2024-06-17 02:10 AM
No experience with using those two together.
Any MQTT library should have guidance on how to integrate it with an IP stack of your choice - so check their documentation/support...
See also: https://www.google.com/search?q=Paho+MQTT+C etc ...