ADTF Socket CAN FD Device
Loading...
Searching...
No Matches
ADTF Socket CAN FD Device

Description

Remarks
For Linux only !

This package enhances ADTF to receive and send CAN FD messages.

Please have a look at Release Notes.

Overview

The following components are delivered:

Capture Devices

Streaming Service Description
Socket CAN FD Receiver Use this streaming source to receive CAN FD data using SocketCAN library.
Socket CAN FD Transmitter Use this streaming sink to transmit CAN FD data using a SocketCAN interface.

Prerequisites

You may need to enable the related kernel modules. To do so, run:

sudo modprobe can
sudo modprobe raw_can
sudo modprobe vcan
sudo modprobe slcan

Testing vcan

You can use the can-utils for checking the functionality of the filter by using the following commands before testing the filter you have to install the can utils

sudo apt-get install can-utils

Configure and start the vcan0 interface

sudo ip link add dev vcan0 type vcan
sudo ip link set vcan0 up

Generate random can data using the cangen of can-utils

cangen vcan0

Check out the cangen parameters like -e or -R for sending extended Messages or Remote Frames. If there is data available you can start the ADTF session with the socketCan Receiver in it. Make shure the interfaceName property is equal to the interface you created before (vcan0). You can check also with can-utils. Open up a second terminal and heck if there is data available

candump any

License Information

Please make sure you have an active and valid subscription for this feature, the license key/file is set and the used license server is reachable (if required). For more information, please contact our support under adtf.dev.

For any licence information have a look at LICENSE.

Furthermore please refer to Used Open Source Software for an overview of 3rd party packages we are glad to use.