Commit Graph

  • 9c5c1090d1 change fixed char size in strncmp Luotao Fu 2009-11-23 11:11:37 +0100
  • 12a155aa20 rename API functions Luotao Fu 2009-11-23 11:03:09 +0100
  • 9b332909b3 add get/set raw ctrlmode callbacks Luotao Fu 2009-11-23 10:56:54 +0100
  • 8c25d8d4b0 Lindent Luotao Fu 2009-11-23 09:06:52 +0100
  • 0e3319df98 update copyright, remove obsolete prints Luotao Fu 2009-11-23 09:05:40 +0100
  • 64c23c603c rename set_link and switch to static. remove internally used structs from header Luotao Fu 2009-11-20 16:59:04 +0100
  • 529838a56d fix header checking, add dist header Luotao Fu 2009-11-20 16:31:11 +0100
  • d9b6577d1a initial create libsocketcan-nl project Luotao Fu 2009-11-20 15:29:42 +0100
  • 0b4d143113 Added hook to print selected logfile lines on stdout for further processing. Oliver Hartkopp 2009-11-06 08:07:45 +0000
  • bbb3d7eb10 Introduce KERNELDIR variable to allow override when invoking make on commandline. Oliver Hartkopp 2009-09-10 08:01:00 +0000
  • 40edca27a2 Move BCM server into can-utils as it is not test application anymore. Oliver Hartkopp 2009-09-10 07:39:33 +0000
  • 0740b53016 Remove obsolete 'vcan' tool. Oliver Hartkopp 2009-09-10 07:34:06 +0000
  • 64603859fb Added slcand daemon contributed by Robert Haddon <robert.haddon@verari.com> Oliver Hartkopp 2009-05-05 09:40:10 +0000
  • e765683c9b Added commandline option '-r' to set the per-socket receive buffer size. Oliver Hartkopp 2009-04-16 08:05:42 +0000
  • bc9fb643a3 Removed the limitation for the number of CAN filters for each interface. Updated Copyright notice. And finally: Yeah! I did something with malloc :-) Oliver Hartkopp 2009-04-06 11:15:27 +0000
  • 3e65a4e564 Add functionality to terminate after receiption of <count> CAN frames. Oliver Hartkopp 2009-04-06 08:41:17 +0000
  • 8975dcb574 Spagetti code cleanup: Moved conversions into separate functions can2pty() and pty2can(). Updated and enhanced some comments. Variable name cleanups inside the separate functions. Fix handling on wrong pty commands (was a wrong 'continue' statement). Oliver Hartkopp 2009-02-15 17:40:32 +0000
  • c588f0d0b2 Allow SLCAN RTR frames without data length code field. Oliver Hartkopp 2009-02-04 16:51:04 +0000
  • 6cc05e08f0 Some more implementation to make it work with a certain application. Oliver Hartkopp 2009-02-04 13:18:44 +0000
  • 4cf2b0f931 Use rxbuf[] for acknowledges. Oliver Hartkopp 2009-02-03 20:12:34 +0000
  • afae11f1c8 Implemented ACK/NACK replies for ASCII commands. Added 'O'pen and 'C'lose functionality. Oliver Hartkopp 2009-02-03 13:59:17 +0000
  • af858087e6 Added timestamp handling with Z0 or Z1 command. Oliver Hartkopp 2009-02-03 11:59:53 +0000
  • baa90a135a Add can_id/can_mask filter handling which is defined in the slcan protocol (m/M). Oliver Hartkopp 2009-01-21 09:17:20 +0000
  • c8be6085a4 Removed sanity check for received slcan ASCII data as this is done with ASCII comparision three lines above. Oliver Hartkopp 2009-01-21 07:38:18 +0000
  • 9862da595d Added a proof of concept tool 'slcanpty' which creates a pty for applications using the slcan ASCII protocol and converts the data to a CAN network interface (and vice versa). Oliver Hartkopp 2009-01-20 23:06:01 +0000
  • 4369ac1c55 Consistencely allow '-?' to get a help text. Oliver Hartkopp 2009-01-13 09:32:45 +0000
  • 278ba6377d disable default receive filter on the write-only bridge socket. Oliver Hartkopp 2009-01-06 09:04:34 +0000
  • 6104197c6a Fix sloppy CAN_(EFF|RTR)_FLAG handling in can_filter.can_mask . Oliver Hartkopp 2008-12-01 07:24:18 +0000
  • 450a058072 Fixed parse_canframe() with reordering the checks for the can_id delimiter. Before this fix the function may have found delimiters in the string behind the terminating zero. Oliver Hartkopp 2008-11-28 21:50:24 +0000
  • e7046e7fca Added interface name to parameter list in first line. Oliver Hartkopp 2008-11-17 10:23:42 +0000
  • 4e41082935 Added Id keyword propertiy on new files. Oliver Hartkopp 2008-11-05 14:20:52 +0000
  • f1d4ebbbba Added ISO 15765-2 CAN transport protocol for protocol family CAN. Including some tools and coarse documentation README.isotp Oliver Hartkopp 2008-11-05 11:34:23 +0000
  • 9b717158c6 Reworked slcan_attach to give slcan setup values directly on the commandline. Oliver Hartkopp 2008-11-04 10:47:09 +0000
  • 265021e323 Print non-data stuff (errors, warnings, hints) on stderr. Oliver Hartkopp 2008-10-29 09:41:40 +0000
  • 1be68bcc64 Added support for swapped byte order representation. Oliver Hartkopp 2008-10-29 09:23:48 +0000
  • b5bc6349a9 Start candump in silent mode, when logging into a file. Oliver Hartkopp 2008-10-02 13:47:43 +0000
  • afcac3462a The number for the SLCAN line discipline can not be found in <linux/tty.h> anyway but needs to be written as module alias Oliver Hartkopp 2008-09-17 13:02:49 +0000
  • 4455308aa0 Added support for comments in logfiles. Added some sanity checks and error messages. Oliver Hartkopp 2008-09-09 12:56:05 +0000
  • 6c0ca36ab2 Create an informative error message when detecting a wrong line format. Oliver Hartkopp 2008-07-25 06:32:20 +0000
  • 15ce202e60 Changed comment line recognition: Everything without a '(' at the beginning of an input line is treated as comment. Changed buffer size to allow long comment lines & added overflow handling. Oliver Hartkopp 2008-07-24 19:12:19 +0000
  • ba037dcffa Support for comment lines in the logfile: '#' at the beginning of a line marks comment lines. Oliver Hartkopp 2008-07-24 13:03:18 +0000
  • 5621884558 Added missing help test. Oliver Hartkopp 2008-07-10 11:01:37 +0000
  • f33075946d Added -f option to filter only on the CAN-ID and not on the content. This can be useful when the timestamp cyle needs to be displayed. Oliver Hartkopp 2008-07-10 10:59:37 +0000
  • af472581eb Do not allow to create error frame filters via standard filter sets. Oliver Hartkopp 2008-07-02 04:19:07 +0000
  • f1c095d801 Added automatic extended frame format recognition. Oliver Hartkopp 2008-07-02 04:05:11 +0000
  • 6410c22fd5 Added silent correction for can_dlc out of range. Oliver Hartkopp 2008-07-01 11:31:59 +0000
  • 34703ac659 Fixed condition pointed out by Uwe Bonnes: https://lists.berlios.de/pipermail/socketcan-core/2008-June/001625.html Oliver Hartkopp 2008-06-26 14:35:46 +0000
  • e7d0db9f21 Fix typo. Oliver Hartkopp 2008-06-20 09:19:13 +0000
  • 7a2544a169 Fix commandline parameter handling for fixed canframe.data[] . Oliver Hartkopp 2008-06-20 09:16:06 +0000
  • ddbe7d9575 Introduced new functions: unsigned char asc2nibble(char c); int hexstring2candata(char *arg, struct can_frame *cf); (see documentation in lib.h) As prerequsite to fix the commandline interface of cangen. Oliver Hartkopp 2008-06-20 09:15:13 +0000
  • 278344e5d5 fixed comment. Oliver Hartkopp 2008-06-11 16:38:00 +0000
  • 4c7d5e434f Removed bad hacks in vcan.c and slcan_attach.c. Giving some hints for users of older kernels than 2.6.25 that a compilation error is a normal behaviour in these cases. Oliver Hartkopp 2008-06-11 16:35:19 +0000
  • 9cb4775283 Added Id properties that gone lost. Oliver Hartkopp 2008-06-03 08:52:06 +0000
  • adbe6f9bee Whitespace fixes. Indented the code following Linux styleguide to fix the mess between tabs and spaces. Oliver Hartkopp 2008-06-03 08:46:57 +0000
  • 8a5c0365e6 Added binary output option to candump.c and sprint_long_canframe() in lib.c . Oliver Hartkopp 2008-06-02 20:06:37 +0000
  • 789a021bb9 Added tiny tool to measure CAN busload. Oliver Hartkopp 2008-05-27 13:47:20 +0000
  • 0df736ca51 Added hint about hexadecimal data representation. Oliver Hartkopp 2008-05-11 11:46:00 +0000
  • 5769d708e4 Updated new 'cangen' and 'candump' in the trunk. Oliver Hartkopp 2008-05-05 12:20:34 +0000
  • 770eeeaf23 Allow commandline option '-?' to print the help text. Oliver Hartkopp 2008-03-13 21:52:20 +0000
  • 8891e44d28 Updated help text for commandline options. Oliver Hartkopp 2008-03-13 21:44:20 +0000
  • ec4a0bcd6d Fixed the temporary hack to run with 2.6.24-rc5 again. Oliver Hartkopp 2007-12-23 18:17:29 +0000
  • 5f164d3414 - allow timout to be zero, which means timeout is off. Oliver Hartkopp 2007-12-10 15:47:01 +0000
  • 64f6a9a6d4 Added canlogserver programmed by Andre Naujoks. Oliver Hartkopp 2007-11-30 13:35:01 +0000
  • e47a1b4b26 Changed color order at colorized output. Remove index cache zombies when unloading CAN drivers. Modified index cache failure message. Oliver Hartkopp 2007-11-20 18:37:30 +0000
  • 12f9170338 Fixed checking of CAN interface name commandline parameter. Cosmetics. Oliver Hartkopp 2007-10-07 14:39:52 +0000
  • d72681c442 Reverted most of the changes since r500 except the changes in drivers/net/can/* after discussion with Urs. TODO: Documentation & new Version. Oliver Hartkopp 2007-10-01 05:48:50 +0000
  • 6689e9600d Changed loopback to echo in CAN RAW sockets. The binary interface does not change through this renaming of CAN_RAW_LOOPBACK to CAN_RAW_ECHO. Oliver Hartkopp 2007-09-30 13:00:42 +0000
  • d0b24ffc10 Fixed contradiction in Sourcecode discalimer. See details at http://marc.info/?l=linux-netdev&m=119074747913703&w=2 Oliver Hartkopp 2007-09-27 12:29:32 +0000
  • 44fb4089c3 Update outdated comment. Oliver Hartkopp 2007-09-21 07:21:24 +0000
  • 592c916948 Updated the canplayer to accept logfile timestamps in the future (which is very nice when you don't have a RTC and your systemtime is somewhere in the 1970's :) Added a new commandline option to skip timestamp jumps greater than x seconds to allow to concatenate different logfiles that replay constantly and not waiting for the absolute timestamp offsets. Oliver Hartkopp 2007-09-07 11:15:22 +0000
  • e5de3cbeeb Removed "unused variable i" warning for the dry-run testing. Oliver Hartkopp 2007-08-03 11:17:10 +0000
  • 8d365bc5b0 Added the blanking of 'old' data when the can_dlc decreases between two receiptions of the same can_id. Thanks to Andre Naujoks for the bug report. Oliver Hartkopp 2007-07-16 09:52:43 +0000
  • 01a8c5d32b Added -B option to display binary content with a gap after each data byte. This option is similar to -b but may exceed the 80 char boundary. Oliver Hartkopp 2007-07-16 08:29:28 +0000
  • 477c00752b Fixed compilation warning on 64bit architectures. Thanks to Neal Probert for the hint. Oliver Hartkopp 2007-07-08 12:44:12 +0000
  • e7d585a1c8 Add vcan config tool to Makefile. Urs Thuermann 2007-07-07 01:36:36 +0000
  • d90f47ef9c Add a tool "vcan" to add/remove vcan interfaces. Urs Thuermann 2007-07-06 15:50:55 +0000
  • 47ca8b7900 Updated LDISC number to 17 (16 is occupied in the Kernel) Oliver Hartkopp 2007-06-25 13:05:43 +0000
  • 404bf3b1bd Added option '-x' to disable local loopback for sent CAN frames. Oliver Hartkopp 2007-06-22 08:33:18 +0000
  • a121452698 Changed option name '-l' to '-x' as this option should also go into canplayer. Cosmetics in print_help(). Oliver Hartkopp 2007-06-22 08:25:34 +0000
  • c2c6579bd6 Added option '-l' to disable local loopback for generated data. Oliver Hartkopp 2007-06-22 08:04:48 +0000
  • f1e643f8f1 Added program exit on SIOCGIFINDEX error. Oliver Hartkopp 2007-06-18 20:04:23 +0000
  • e49fb4c134 Disabled obsolte receive filter. Added error checking for SIOCGIFINDEX. Oliver Hartkopp 2007-06-18 19:59:20 +0000
  • 5723c5ce86 Added new commandline option '-B' which acts like the bridging option '-b' but disables the local loopback functionality (for ECU analysis and MITM-attacks :) Fixed missing fflush(). Oliver Hartkopp 2007-05-30 07:20:18 +0000
  • 33e6337cde Added missing initialisation to prevent a gcc warning. Oliver Hartkopp 2007-05-09 07:33:34 +0000
  • 60b77912ab Fixed Makefiles to compile test-apps and can-utils again. Added new commandline parameter (linediscipline value) to slcan_attach. Oliver Hartkopp 2007-03-05 21:58:28 +0000
  • 79cc51a867 Added CAN interface driver for low-cost CAN-Interfaces with ASCII protocol via serial (or quasi serial via USB) lines. Oliver Hartkopp 2007-02-22 12:47:37 +0000
  • aca93c6867 Added Option -l ('l'oop) to make the canplayer replay a given file more than one time. To replay a given file infinitely say '-l i'. Of course it is not possible/reasonable to define '-l' when reading from stdin ... Oliver Hartkopp 2007-02-12 08:36:38 +0000
  • 892c0d9e7d Removed possibility to terminate candump with an input from stdin. Therefore it can be used in scripts now, e.g. for CAN-frame bridging: candump can1 -mFFF -v123 -b can3 -s 2 & Use CTRL-C to terminate candump. Oliver Hartkopp 2007-02-09 09:53:16 +0000
  • 30426b2647 Renamed can-sniffer to cansniffer. Oliver Hartkopp 2007-02-08 13:18:07 +0000
  • 3d26e6f710 Fixed typo in log2asc.c Added asc2log.c to convert existing CANoe/CANalyser logfiles into socketcan logfiles (with absolute and full qualified timestamps). The date and the other settings (dec/hex absolute/relative) are taken from the head of the ASC files. Oliver Hartkopp 2007-01-10 17:18:01 +0000
  • c2424910ac Some new ASC files support 6 digits in decimal place. Added new option '-4' to generate 'old-style' ASC files. Oliver Hartkopp 2007-01-09 16:01:46 +0000
  • f1284e83aa Added option '-L' to candump to create the compact logfile output on stdout. Oliver Hartkopp 2007-01-07 11:19:37 +0000
  • 4d129ea348 Minor fix and cosmetics in color handling in candump.c . Oliver Hartkopp 2007-01-06 15:43:12 +0000
  • f95fc47ec8 - added error frame support in lib.c - added sprint_* functions for CAN-frame output in lib.c / lib.h - added comments / cosmetics Oliver Hartkopp 2007-01-01 18:29:52 +0000
  • 50e8c467af Added include <sys/socket.h> to lib.c after discussion on commit-mailing-list. Fixed comments. Fixed Makefile (remove all *.o files / added empty line at end of file). Oliver Hartkopp 2006-10-31 10:41:21 +0000
  • 99a3bba852 Added tiny tool cansend and a library to parse ASCII CAN frames (e.g. from the command line) that are defined in one concatenated string. This is a requirement for the comming command line tool 'bcmsend' that allows to send more than one CAN frame at a time. Oliver Hartkopp 2006-10-30 13:14:36 +0000
  • 063c62c665 changed user space programs to use new include files. added missing include file <net/if.h> in most programs. added volatile modifier to "int running" in candump.c. Urs Thuermann 2006-10-24 13:55:43 +0000
  • cee2fc2fd0 Remove remnants of the projects VW history (Email addresses, Makefile targets). Move version.h to include/linux/can. Fix Makefiles to include raw.ko and bcm.ko in compilation and to make vcan compile again. Change ioctl names in SJA1000 driver to make it compile again. Add parenthesis around assignment in vcan.c to eliminate gcc warning. Urs Thuermann 2006-07-07 06:58:26 +0000
  • 46cdac2554 add Id to svn:keywords property. Urs Thuermann 2006-05-11 07:59:37 +0000
  • e7a59a9ea4 Initial import of llcf-2.0-pre2 Urs Thuermann 2006-04-24 14:14:09 +0000