You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, I've got some ESP8266's kicking around. I'm still waiting for a NodeMCU clone to arrive, but I've got some ESP01s.

    The whole data transmit thing is a pain - I guess even though the ESP8266's API is asynchronous, it won't ever actually transmit anything until you go back to idle, so you have the same problem.

    Does what you've got there actually help? It might be better to just increase the IO buffer size to 256, and to have a #define that says 'this build only transmits character data on idle, so always drop characters if the buffer gets full rather than blocking'.

    It's actually an issue on other platforms too, so it'd be good to find a nice way around it. On the Nordic one it only transmits on idle too - although for that, just calling USARTKick while it busy-waits for the queue to empty could be an option.

About

Avatar for Gordon @Gordon started