From a9d888ec6c9082f89bd076a0c18fb995d74a1e1d Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Tue, 7 Aug 2018 17:13:12 +0100 Subject: socketcan: ensure bitrate set before small pkt tests --- units/socketcan/jobs.pxu | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/units/socketcan/jobs.pxu b/units/socketcan/jobs.pxu index 8880168..46bb31e 100644 --- a/units/socketcan/jobs.pxu +++ b/units/socketcan/jobs.pxu @@ -168,6 +168,9 @@ command: BASH_XTRACEFD=1 set -ex 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 ip link set dev {interface} mtu 16 ip link set {interface} up socketcan_test.py {interface} 111 --remote @@ -192,6 +195,9 @@ command: BASH_XTRACEFD=1 set -ex 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 ip link set dev {interface} mtu 16 ip link set {interface} up socketcan_test.py {interface} E407DB --remote --effid -- cgit v1.2.3