This is an open source C++ library for use with the USB-CAN converter developed by Rafael Silva and João Silva
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
-
You will need root access to a Linux machine.
-
You will need to install development packages for libudev and libusb
-
You will need the hidapi library installed
-
You will need to install libusb
sudo apt-get install libudev-dev libusb-1.0-0-dev
A step by step series of examples that tell you how to get a development environment running
- Clone this repository to your working directory
sudo git clone https://github.com/Crying-Face-Emoji/MCP2210-CAN-sdk
- Go to the source directory
cd MCP2210-CAN-sdk/
- Run make
sudo make
- You may need to add the provided udev rules to the /etc/udev/rules.d directory.
sudo cp mcp2210-hid.rules /etc/udev/rules.d
- Depending on your user permissions, you might need to run the compilled binary with root access (sudo)
TODO: Explain how to run the automated tests for this system
- Rafael Silva - Initial work - crying-face-emoji
- João Silva - Initial work - vankxr
See also the list of contributors who participated in this project.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details
- kerrydwong - mcp2210 library used as base
- signal11 - original HID API