Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

milhead2
Copy link

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

Miller Lowe added 3 commits November 27, 2019 12:19
…n as the

500k bus utilization went above 30%.

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant