EspoTek / Labrador

EspoTek Labrador is a USB device that transforms your PC or smartphone into a fully-featured electronics lab. This repo holds all of the source code!

Home Page:http://espotek.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logic analyzer logging

david0rk opened this issue · comments

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

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?

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

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