Hook into Serial

Hello,

I have an application with an ESP32 Cam Module and another ESP32 Dev Module, where I am sending web requests every now and then. In those, I want to pack all the logging I've done (or something like the last 1000 letters with a circular buffer) in a request whenI send one. For that, I need a way to store my output in Serial somewhere. Thats why I want to build a hook which gets set off everytime I send something via the Serial.
So, is there a way to do that?

I want to thank you in advance for your answers!

maybe my StreamLib can help you. if you combine TeePrint with BufferedPrint.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.