diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-28 15:15:20 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-11 12:41:41 +0200 |
commit | 2cf6a1685f3ad53db6714c01d600492fe4bfc11b (patch) | |
tree | 80e6e9afd40b8d21120eefda6a58a626bdb33475 /can_samples/init_vcan.sh | |
parent | 17f087412b104b8ff96814066b54597ff6082649 (diff) |
Improve documentation and added can samples
This explicit use cases with virtual CAN device or Porter board CAN devices
Also, it add a complete trip with "vehicle.speed" obd2 signal recurring requests.
to be use with canplayer to replay a real car trip.
Change-Id: I66c762fa23ed409c812765d6d82e78138edbd455
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'can_samples/init_vcan.sh')
-rwxr-xr-x | can_samples/init_vcan.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/can_samples/init_vcan.sh b/can_samples/init_vcan.sh new file mode 100755 index 0000000..531dd1e --- /dev/null +++ b/can_samples/init_vcan.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# example for setting up vcan0 and modules +sudo modprobe can +sudo modprobe vcan +sudo ip link add dev vcan0 type vcan +sudo ip link set up vcan0 |