Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Assign bitrate and loopback on for Socketcan #662

Merged
merged 2 commits into from
Aug 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion providers/base/units/socketcan/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ command:
set -ex
ip link set {interface} down
ip link set dev {interface} mtu 16
ip link set {interface} type can bitrate 1000000 loopback on
ip link set {interface} up
socketcan_test.py {interface} 111

Expand All @@ -125,6 +126,7 @@ command:
set -ex
ip link set {interface} down
ip link set dev {interface} mtu 16
ip link set {interface} type can bitrate 1000000 loopback on
ip link set {interface} up
socketcan_test.py {interface} FA123 --effid

Expand All @@ -150,7 +152,7 @@ command:
ip link set {interface} down
# Following command is only supported configuration method when using the
# IXXAT driver from HMS
ip link set {interface} type can bitrate 1000000 dbitrate 2000000 fd on
ip link set {interface} type can bitrate 1000000 dbitrate 2000000 fd on loopback on
ip link set {interface} up
socketcan_test.py {interface} 1B --fdmode

Expand Down
Loading