TOSUN-Shanghai / libTSCANDemos

libTSCAN APIs for TOSUN Hardware, which is suitable in windows and linux platform
MIT License
1 stars 4 forks source link

Stop CAN/CANFD channel #5

Open davidkirchner opened 8 months ago

davidkirchner commented 8 months ago

I have not yet found a function for stopping a CAN/CANFD channel in the C libTSCAN API. I want the Channel to go off the bus so that it does not receive any more frames and does not send any ACKs. Disconnecting the whole hardware device with tscan_disconnect_by_handle is not an option as other channels of the hardware device are in use.

ColinGong123 commented 3 months ago

I have not yet found a function for stopping a CAN/CANFD channel in the C libTSCAN API. I want the Channel to go off the bus so that it does not receive any more frames and does not send any ACKs. Disconnecting the whole hardware device with tscan_disconnect_by_handle is not an option as other channels of the hardware device are in use.

We will add this API in the next version