Is there a way to check for an empty transmit buffer with raw socketcan?
EDIT: Or is there a way to make socketcan blocking until the current frame is sent which would serve the same purpose ...
(motivation: I'm writing a mcu flash tool over can. The bootloader spec calls for a waiting time after a certain amount of data sent in order for it to do the writing to flash. Depending on the bus load the sending of the data could be faster or slower.)