During the group project, we tested various types of communication, but we achieved the best results using Wi-Fi with two Seeeduino XIAO ESP32C3 boards. My contribution was to explain the code and how the components involved in the MQTT protocol communication.
For this assignment, I initially tried to communicate between my boards using serial communication but was unsuccessful. Due to time constraints, I decided to switch to I2C communication, which allowed the boards to communicate seamlessly.