can-utils icon indicating copy to clipboard operation
can-utils copied to clipboard

cansend command problem

Open amolina-chargevite opened this issue 3 years ago • 1 comments

Hi,

I am using the cansend command and it works correctly the first time that I execute it, but if I want send several messages it doesn't works. For example I use: cansend can0 163#12345678 and in the bus is sended periodically this message, but if after I execute others message such as for example: cansend can0 333#12345678 this doesn't works, in the bus continue the previous message. Which is the problem? Is it problem of my bus configuration or is problem of the library?

Thanks in advance.

amolina-chargevite avatar Apr 28 '22 13:04 amolina-chargevite

The sender repeats the CAN frame until it's acknowleged. Make sure you have a proper terminated CAN bus and a 2nd CAN station which has the correct bit rate configured.

marckleinebudde avatar Apr 28 '22 14:04 marckleinebudde

Any news on this? Feel free to re-open.

marckleinebudde avatar Oct 03 '23 07:10 marckleinebudde