CAN interface - Fraunhofer-IIS/ogre GitHub Wiki
- CAN connector schematic:
- Configure the CAN interface for a bit rate of 250 kbps (bit rate can be changed):
ip link set can0 up type can bitrate 250000
- Send data over the CAN bus (message ID 0x11):
cansend can0 0x01 0x23 0x45 0x67 0x89 0xAB 0xCD 0xEF -i 0x11
- Receive data from CAN bus:
candump can0