Hi,

I have been working on writing a socketcan driver for a usb device that I'm
making, and I'm having trouble understanding how transmission errors are
communicated back to userspace code.  From what I can currently see from
reading working kernel modules and the docs, there is no mechanism for
information from the USB device that a particular packet failed to send to
be correlated back with which packet was sent.  Am I missing something, or
is this correct?  To me, that also means that CAN traffic can't be treated
as reliable.  Is that true?  I guess I find this surprising since, for
example, the transceiver reports back if the packet wasn't ACKed, and could
report that back up the chain so that the user can know if their packet was
received by somebody or not.  That isn't the same as the correct client
receiving the packet and responding back, but is better than nothing.

Thanks!
    Austin Schuh
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to