Go to file
Jeffrey Quesnelle 9fde92fa40 replace undefined NEODEVICE_ALL with specific device types 2018-07-24 10:19:23 -04:00
.gitignore initial commit 2016-07-27 19:31:39 -04:00
LICENSE initial commit 2016-07-27 19:31:39 -04:00
Makefile wrong parameter to get opt, ws cleanup, and -O2 2016-08-01 13:53:57 -04:00
README.md readme filename typo 2016-08-01 13:54:39 -04:00
icsscand.c replace undefined NEODEVICE_ALL with specific device types 2018-07-24 10:19:23 -04:00

README.md

This is the user mode daemon for Intrepid Control Systems' SocketCAN support. This daemon requires that intrepid.ko is loaded on your system. For instructions on building and loading the kernel object, see intrepid-socketcan-kernel-module. In addition, you will need a version of libicsneoapi. For the purposes of SocketCAN support the open source version will suffice; see libicsneoapi.

To build, simply run make.

$ make

To enable SocketCAN for your attached Intrepid devices, run the daemon. Use -D to run as a daemon, or pass no arguments to run in the foreground.

$ sudo ./icsscand -D

Most Intrepid devices support more than one CAN channel. Your interfaces will be named icsXcan_typeY where X is an incrementing identifier for different devices, can_type identifies the type of CAN channel, and Y is an incrementing identifier for each device. For example, the first neoVI FIRE you plug into your system will create the interfaces ics0can0, ics0can1, ics0can2, ics0can3, ics0lsftcan0, ics0swcan0.

Before you can read or write messages on an interface you'll need to bring it up

$ sudo ifconfig ics0can0 up