In this tutorial, we use UART interrupt mode on the ESP32 with ESP-IDF to receive large amounts of data reliably. Instead of blocking the CPU, we use UART events and a two-task FreeRTOS setup to handle incoming data efficiently — tested with transfers up to 60KB with zero data loss.
