News for hackers. Stuff that matters.
Re:Mosquitto: An open-source MQTT broker by zorr on Wednesday September 29, 2021 @12:35PM (#28696106)
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.

Re:Mosquitto: An open-source MQTT broker by jvanderbot on Wednesday September 29, 2021 @01:18PM (#28696824)
Pi 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.

Re:Mosquitto: An open-source MQTT broker by joezydeco on Wednesday September 29, 2021 @05:53PM (#28700471)
MQTT 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.