Add autostart option to BusABC.send_periodic() to fix issue #1848 by SWolfSchunk · Pull Request #1853 · hardbyte/python-can

@SWolfSchunk

hardbyte

approved these changes Sep 8, 2024

… ReadFD) (hardbyte#1850)

* When there is an invalid frame on CAN bus (in our case CAN FD), PCAN first reports result PCAN_ERROR_ILLDATA and then it send the error frame. If the PCAN_ERROR_ILLDATA is not ignored, python-can throws an exception.

This fix add the ignore on the PCAN_ERROR_ILLDATA.

* Fix for ruff error `can/interfaces/pcan/pcan.py:5:1: I001 [*] Import block is un-sorted or un-formatted`
Added comment explaining why to ignore the PCAN_ERROR_ILLDATA.

@SWolfSchunk

@SWolfSchunk

@SWolfSchunk

grant-allan-ctct

@SWolfSchunk

@SWolfSchunk

@SWolfSchunk

zariiii9003

@SWolfSchunk

…oadcastmanager.CyclicTask.start
…on of CyclicSendTask to not call _tx_setup() method instead of adding a parameter to it.

Sebastian Wolf and others added 2 commits

October 7, 2024 21:36
Fix wrong docstring reference.

zariiii9003