4 ms·
Mosquitto is C/C++ without any crazy dependencies so you should be able to do that. I don't immediately see why you would do this though? Any specific use cases
by zorr 5y ago
Mosquitto is C/C++ without any crazy dependencies so you should be able to do that. I don't immediately see why you would do this though? Any specific use cases?
I haven't done this myself yet but I've seen a couple of production IoT setups with a local MQTT broker running on a RaspberryPi configured to relay all messages to a central broker running in the cloud.
- jvanderbot 5y agoPi is a far cry from "Microcontrollers". MQTT requires a TCP stack, which limits to the higher end chips. But, for embedded linux, you're probably golden.
- joezydeco 5y agoMQTT is available via LWIP on STM32 parts that don't have an MMU. I've tried it on the STM32F746 (Cortex-M7) and it works well, although there are other issues with networking on CubeMX that are open.