pyvit icon indicating copy to clipboard operation
pyvit copied to clipboard

When used on a busy can bus on Linux/socketcan we had overruns as soo…

Open milhead2 opened this issue 5 years ago • 0 comments

Signed-off-by: Miller Lowe [email protected]

UDS interface was loosing packets on a 500kbps bus running around 50%, socketcan allows filtering so that the application will only see the UDS receive ID. This change will automatically utilize filtering if a UDS Interface is created.

Note that if the dispatcher is going to receive messages other than the UDS receive ID they will need filters added. The filter in only created automatically if you hand the dispatcher to the UDS interface constructor.

This commit enables the use of socketcan filtering when used as a UDS device.

overall commands Sent : 6000 overall average response time: 0.0048991614580154415 overall standard deviation : 0.002319849086112244 overall max delay : 0.05056476593017578 overall min delay : 0.0018734931945800781

milhead2 avatar Nov 27 '19 21:11 milhead2