https://github.com/windelbouwman/can-bus-explorer
Explore your CAN bus
https://github.com/windelbouwman/can-bus-explorer
can-bus socketcan
Last synced: about 1 year ago
JSON representation
Explore your CAN bus
- Host: GitHub
- URL: https://github.com/windelbouwman/can-bus-explorer
- Owner: windelbouwman
- Created: 2019-01-12T13:11:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-09T21:34:11.000Z (over 5 years ago)
- Last Synced: 2025-04-02T20:22:21.454Z (over 1 year ago)
- Topics: can-bus, socketcan
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 7
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a set of utilities to inspect and debug the CAN bus. Via a graphical user
interface you can gain insight into what is happening.
Screenshot: TODO
# Usage
$ python explorer.py socketcan:vcan0
Or for some more low level utilities, such as candump and cansend:
$ python cansend.py socketcan:vcan0 88 deadbeef
$ python candump.py socketcan:vcan0
For the purpose of pure bus traffic, a sine wave generator script was made.
Caution: this creates pretty random bus traffic!
$ python sinewave.py --freq 10 socketcan:vcan0
# Testing
Setup a virtual can bus:
$ sudo ip link add dev vcan0 type vcan
$ sudo ip link set up vcan0