I would like to log all commands input/output, with the same data as on console where the ELM327 is attached.
I tried the command "tail -f /dev/pts/1" without success. Can it be done in Linux using some kind of redirection. I guess not ...
Maybe there should be a message_log and a console_log. The message log is returned by Python-OBD whereas the console log is the pure log sent/received in console. It is always useful to have the complete log in order to debug.
I would like to log console output (without any addition) to a file :
> means "sending"
\< means "receiving"
Example
AT something
is "sending command AT"
How can this be done, please explain and I will code it.
I would like to log all commands input/output, with the same data as on console where the ELM327 is attached.
I tried the command "tail -f /dev/pts/1" without success. Can it be done in Linux using some kind of redirection. I guess not ...
Maybe there should be a message_log and a console_log. The message log is returned by Python-OBD whereas the console log is the pure log sent/received in console. It is always useful to have the complete log in order to debug.
I would like to log console output (without any addition) to a file : > means "sending" \< means "receiving"
Example
How can this be done, please explain and I will code it.