can-utils: canfdtest, a full duplex test to find out-of-order messages

This patch is a pepped up version of Valdislav's canecho_gen and
canecho_dut test programs, which have prooved to be useful for
detecting out-of-order message transmisson and reception. Here
is a list of the changes and improvements:

- Both programs have been merged into on test program named
  canfdtest. Message generation can be selected via the command
  line option '-g'.
- The test loop count can be specified.
- A low and high verbosity level has been added.
- send/recv is used instead of write/read.
- The return code of send/recv is checked properly.
- Use Linux coding style.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
This commit is contained in:
Wolfgang Grandegger
2009-11-25 11:18:22 +00:00
parent 0b4d143113
commit af4ef62646
2 changed files with 380 additions and 1 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ CFLAGS = -O2 -Wall -Wno-parentheses -I$(KERNELDIR)/include \
PROGRAMS = candump cansniffer cansend canplayer canlogserver cangen\
canbusload log2long log2asc asc2log bcmserver\
isotpdump isotprecv isotpsend isotpsniffer isotptun\
slcan_attach slcand slcanpty
slcan_attach slcand slcanpty canfdtest
all: $(PROGRAMS)