converter: Fix to_hex conversion
[apps/agl-service-can-low-level.git] / docs / 4-Installation-ISOTP.md
1 # Installation isotp for AGL
2
3 ## Compilation and installation of module kernel isotp
4
5 ##### Clone repository Linux Kernel Module for ISO 15765-2:2016 CAN transport protocol
6
7 ```bash
8 git clone https://github.com/hartkopp/can-isotp.git
9 ```
10
11 ##### Move into the new repository
12
13 ```bash
14 cd can-isotp
15 ```
16
17 ##### Install packages to build
18
19 ```bash
20 sudo apt-get install build-essential linux-headers-$(uname -r)
21 ```
22
23 ##### Compile
24
25 ```bash
26 make
27 ```
28
29 ##### Install
30
31 ```bash
32 sudo make modules_install
33 ```
34
35 ##### Load module
36
37
38 ```bash
39 modprobe can
40 modprobe vcan
41 sudo insmod ./net/can/can-isotp.ko
42 ```
43
44
45 ## Include headers  files
46
47
48 ```bash
49 sudo cp include/uapi/linux/can/isotp.h /usr/include/linux/can/
50 ```