btidey wrote:The ESP8266 uart can generate an interrupt on both rx and tx of characters and it is then up to the isr to determine what to do.
As I understand it the Arduino implementation does use this mechanism at leaston the receive side to place the characters in a FIFO buffer where they be subsequently checked and extracted by the foreground task. That is a fairly sensible strategy and keeps the isr short which is normally a good thing.
Whenever I used this strategy, I encountered serious problems in synchronizing the received data. It may actually be that you are right, because dealing with a FIFO integrated into the already properly tested reception interruption handler would be recommended, but the speed of reception and the volume of data is large and incessant, so the discomfort in dealing with any parsing strategy other than the decoding "on the fly". Anyway, thank you.