- added error frame support in lib.c

- added sprint_* functions for CAN-frame output in lib.c / lib.h
- added comments / cosmetics

candump.c:
- removed support for the output in ASC representation (moved to log2asc.c)
- added option '-l' for logfile creation e.g. 'candump-2007-01-01_164123.log'
- added funtionality to terminate candump by pressing [ENTER] (not only ^C)
- added error frame support
- added color support even when reading from 'any'
- three different color levels (e.g. -c -c -c)
- making use if lib.c

cangen.c:
-  CAN frames generator for testing purposes (e.g. on vcanx)
(nice when you're on vacancy at the baltic sea and have no real CAN source :)

log2long.c:
- convert compact CAN frame representation into user readable representation

log2asc.c:
- convert compact CAN frame logfile to ASC logfile for 3rd party CAN tools

Next step: Create a tool to replay candump logfiles.
This commit is contained in:
Oliver Hartkopp
2007-01-01 18:29:52 +00:00
parent 50e8c467af
commit f95fc47ec8
8 changed files with 886 additions and 235 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ int main(int argc, char **argv)
return 1;
}
//fprint_canframe(stdout, &frame, "\n");
//fprint_long_canframe(stdout, &frame, "\n", 0);
close(s);