Labrador icon indicating copy to clipboard operation
Labrador copied to clipboard

Logic analyzer logging

Open david0rk opened this issue 3 years ago • 3 comments

for testing/reverse engineering purposes it would be nice to have an option to automatically log the serial decoder output to a logfile

david0rk avatar May 19 '22 17:05 david0rk

You know how sometimes people say something that is so plainly obvious that you wonder how you didn't think of it yourself? This is one of those things.

Why have I not done this?

EspoTek avatar May 20 '22 00:05 EspoTek

i realize you can just copy/paste from the text box, but logging to file in plaintext or hex dump would be ideal.

i grabbed the code and looked around during my break, it looks like the magic is happening in uartstyledecoder.cpp

david0rk avatar May 20 '22 01:05 david0rk

It is, and knowing me there'd be a sprintf() call too. Literally as simple as replacing that with a fprintf()!

EspoTek avatar May 20 '22 01:05 EspoTek