uartesp8266sming

Maximum size of UART receive buffer for ESP8266


I am using SMING framework. What is the maximum size that the ESP8266 UART can receive at any one time? If I were to transmit a string of X bytes to ESP UART, what is the maximum size of X?


Solution

  • The hardware TX & RX FIFOs are 128 bytes long - However, this isn't really the "maximum" length it can receive or transmit, just the amount it can buffer at one time. Using the overrun interrupts, you can theoretically receive or send any arbitrary length.