This video introduces how to set up Mosquitto MQTT Broker on Raspberry Pi 3B+. Publish and subscribe messages to each other on Node-RED and Pico W. You need to use user name and password to connect to mosquitto. And enable the TLS 2 way authentication function.
code:
https://mcuapplab.blogspot.com/2023/1...