Linux-CAN / SocketCAN user space applications
 
 
 
 
Go to file
Oliver Hartkopp 79cc51a867 Added CAN interface driver for low-cost CAN-Interfaces with ASCII protocol
via serial (or quasi serial via USB) lines.

This driver is partly derived from linux/net/driver/slip.c and uses a new
tty line discipline (N_SLCAN) analogue to N_SLIP to encapsulate can_frames
sent to a slc* netdevice for the serial line and vice versa.

As only the sending and receiving of can_frames is implemented, this driver
should work with the (serial/USB) CAN hardware from:
> www.canusb.com / www.can232.com / www.mictronic.com / www.canhack.de <

The sending and receiving frames format is pretty common. The other settings
and the 'open' command 'O' of the specific adapters may be set with a
terminal programm (like minicom) before switching the CAN data stream to
the slc* netdevice using the slcan_attach userspace tool.

Feel free to send patches / extensions to slcan.c / slcan_attach.c :)

ps. There had been no performances measurements until now. As long as the
data fit's through the 'serial' line it works obviously well. The slcan-driver
nor the Linux network layer will definitely have no problems to process
the received data. Remember the 'low-cost' hardware approach. We'll see ...
2007-02-22 12:47:37 +00:00
Makefile Added CAN interface driver for low-cost CAN-Interfaces with ASCII protocol 2007-02-22 12:47:37 +00:00
asc2log.c Fixed typo in log2asc.c 2007-01-10 17:18:01 +00:00
candump.c Removed possibility to terminate candump with an input from stdin. 2007-02-09 09:53:16 +00:00
cangen.c - added error frame support in lib.c 2007-01-01 18:29:52 +00:00
canplayer.c Added Option -l ('l'oop) to make the canplayer replay a given file more than 2007-02-12 08:36:38 +00:00
cansend.c - added error frame support in lib.c 2007-01-01 18:29:52 +00:00
cansniffer.c Renamed can-sniffer to cansniffer. 2007-02-08 13:18:07 +00:00
lib.c - added error frame support in lib.c 2007-01-01 18:29:52 +00:00
lib.h - added error frame support in lib.c 2007-01-01 18:29:52 +00:00
log2asc.c Fixed typo in log2asc.c 2007-01-10 17:18:01 +00:00
log2long.c - added error frame support in lib.c 2007-01-01 18:29:52 +00:00
slcan_attach.c Added CAN interface driver for low-cost CAN-Interfaces with ASCII protocol 2007-02-22 12:47:37 +00:00
terminal.h Remove remnants of the projects VW history (Email addresses, Makefile targets). 2006-07-07 06:58:26 +00:00