Skip to content

teresama/CAN_interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ application to interface with virtual CAN network

CAN C++ library obtained from socketcan-cpp.

Setup the virtual CAN interface.

Followed the tutorial bring vcan interface up using Ubuntu 18.04.

Upon successful installation of virtual CAN network by running

ifconfig

The output should show the vcan interface up as seen here:

Once the interface is up, it is time to compile the C++ app. To do so follow the commands:

mkdir build
cd build
cmake ..
make

Once the build is complete, it can be run for example the read_write.cpp app:

./read_write

Leading to the following output:

More socket CAN reference pointers: How_to_configure_and_use_CAN_bus

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published