Hello,

While trying to test a can device I wrote a short program to
continuously send can frames... However after a short while I get a
buffer overflow error. Seems the internal queue is filled and overrun...

How can I send can frames at maximum throughput? simply one after the
other, back to back.

what i have now is something like this:


do{
        //prepare next frame...
}while(write( sfd, frame, sizeof(*arguments.frame) ) == sizeof(*frame));
//print error message...

since the write simply pushes the frame into the queue, it is logical
that the queue would fill up quickly and get overflown?overrun?full.

Thanks,
Max S.

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

Reply via email to