Commit Graph

17 Commits (89a58ff40c14d21c8698b1a0c76d802a4e057372)

Author SHA1 Message Date
chgabriel79 89a58ff40c
Merge c13a0039db into 945a027b5b 2025-06-03 10:58:20 +02:00
Kyle Schwarz 1acc51af7d Update copyright year to 2025 2025-05-07 10:02:27 -04:00
Christian Gabriel fe777df9ee Allow setting individual bit timing parameters
Rework of the bitrate setting to allow finer control about the
bit timing settings.

The current settings are propagated via existing netlink
interfaces, reporting the current settings uses custom
ioctls.

Also report bit errors and bus off state if sent from the
device.

Signed-off-by: Christian Gabriel <ch_gabriel@web.de>
2024-09-25 10:41:16 +02:00
Christian Gabriel 8dbd767b3e Add support for bitrate setting
If kernel driver version is new enough, report the currently set
bitrates via ioctl.
Kernel will report changed bitrates through special read operations,
send these values to the device.

Signed-off-by: Christian Gabriel <ch_gabriel@web.de>
2024-07-23 15:13:26 -04:00
Kyle Schwarz 707892e9b7 Update copyright year to 2024 2024-01-02 10:10:20 -05:00
Jorge Alejandro 1d0cdb9f00 Add scan-interval-ms parameter
Allow user to specify the scan interval for searching for devices.
Scanning places every interface on the machine in promiscuous mode
and currently runs once a second.  This behaviour may have undesirable
side-effects and also pollutes the kernel log.

The new parameter --scan-interval-ms <interval> will allow the user
to specify the rate at which scanning occurs.  If equal to 0, then
only a single scan is performed.
2023-09-17 18:13:21 -04:00
Kyle Schwarz 3e96cc9105 3.1.0
Update libicsneo & copyright
2023-05-05 00:26:52 -04:00
Gary Chong b33ec54593 Added Functionality for Ethernet 2022-08-16 15:31:35 -04:00
Paul Hollinsky 9ba6f2cec5 Update copyright date to 2022 2022-03-31 18:13:23 -04:00
Paul Hollinsky c7db3cbcf0 Refactor for libicsneo v0.3.0 API changes 2022-03-31 15:41:19 -04:00
Paul Hollinsky 616a8ddbce Report transmit receipts to kernel
These will be used for IFF_ECHO
2022-03-31 15:40:28 -04:00
Paul Hollinsky dcec89f2da Allow filtering devices by serial number 2022-03-31 13:51:03 -04:00
Paul Hollinsky 8cc37c9df0 Update copyright date 2020-08-06 17:06:25 -04:00
Paul Hollinsky 028538cc90 Update to libicsneo v0.2.0 2020-08-06 17:02:12 -04:00
Paul Hollinsky 8d21b98ac6 Ensure lock is held when accessing open devices 2020-08-06 17:01:24 -04:00
Paul Hollinsky cfe6e7a832 Set timeout tv_sec instead of tv_usec for compatibility with older kernels 2019-08-27 15:16:27 -04:00
Paul Hollinsky f2719ce16f Initial commit of Version 2.0.0, with CAN FD support 2019-05-02 19:23:12 -04:00