Looking over the UART protocol and how we can use it in a ESP32.
One of the most common protocols out there it is a good one to learn and understand how it works.
UART Documentation : https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/uart.html