I want to establish communication between ESP and Raspberry Pi using MQTT

Good evening,

I want to establish communication between ESP and Raspberry Pi using MQTT to take readings from the GPS and send them to each other, dividing the topics based on the distance between them. Can anyone help me with a similar project or assist me in general?
Solution
A demo MQTT project with source code for setting up MQTT network. Using Raspberry Pi as broker and ESP32 microcontrollers as clients.
Was this page helpful?