Installation isotp for AGL

Compilation and installation of module kernel isotp

Clone repository Linux Kernel Module for ISO 15765-2:2016 CAN transport protocol
git clone https://github.com/hartkopp/can-isotp.git
Move into the new repository
cd can-isotp
Install packages to build
sudo apt-get install build-essential linux-headers-$(uname -r)
Compile
make
Install
sudo make modules_install
Load module
modprobe can
modprobe vcan
sudo insmod ./net/can/can-isotp.ko

Include headers files

sudo cp include/uapi/linux/can/isotp.h /usr/include/linux/can/

Enable support at build time

To enable ISO TP support, the binding must be built with -DWITH_FEATURE_ISOTP=ON. If using the autobuild script, add CONFIGURE_ARGS=”-DWITH_FEATURE_ISOTP=ON” to the command used.