]> rtime.felk.cvut.cz Git - sojka/can-utils.git/commit
Added option '-L' to candump to create the compact logfile output on stdout.
authorOliver Hartkopp <socketcan@hartkopp.net>
Sun, 7 Jan 2007 11:19:37 +0000 (11:19 +0000)
committerOliver Hartkopp <socketcan@hartkopp.net>
Sun, 7 Jan 2007 11:19:37 +0000 (11:19 +0000)
commitf1284e83aa20a90874860e72b7a7bd312d4f76fe
tree81a3daa285ba7c075457dddb278b62821e5e73a8
parent4d129ea348ef62f296f3882cb8e1272907fe7b6a
Added option '-L' to candump to create the compact logfile output on stdout.

Now you can forward CAN frames e.g. via netcat with candump and canplayer:

candump can0 can1 -L | canplayer vcan3=can0 vcan0=can1 -t

OK, maybe it would be reasonable to write a short program for this application.
But for some tests all this can be done with existing commandline tools.
In addition the filtering possibilities of candump can be used here.
candump.c