Thread (36 messages) 36 messages, 8 authors, 2012-11-16

Re: What are you doing if the TX buffer overflows?

From: Andrew Bell <hidden>
Date: 2012-09-17 19:26:14

On Mon, Sep 17, 2012 at 2:19 PM, Oliver Hartkopp [off-list ref] wrote:
Hello Heinz,

On 17.09.2012 15:58, Heinz-Jürgen Oertel wrote:
quoted
is there a way to empty the tx buffer ?

Usually the buffer does not get empty due to a problem of the CAN controller
and/or the CAN network.

So even if you could flush the queue the CAN controller is probably still
stuck with his processed frame.
On my interface, the TX frames time out after one second.  But I could
find nothing in the spec to say that this is how things should
operate.  Is this driver-specific or is there something in a document
that says how retransmission and timeouts works?

Thanks,

-- 
Andrew Bell
andrew.bell.ia@gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help