https://github.com/miwagner/socanui
SocketCAN User Interface for the Terminal
https://github.com/miwagner/socanui
can socketcan tui
Last synced: 3 months ago
JSON representation
SocketCAN User Interface for the Terminal
- Host: GitHub
- URL: https://github.com/miwagner/socanui
- Owner: miwagner
- License: mit
- Created: 2024-02-13T15:29:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T13:56:23.000Z (about 1 year ago)
- Last Synced: 2025-03-10T14:40:23.456Z (about 1 year ago)
- Topics: can, socketcan, tui
- Language: Go
- Homepage:
- Size: 396 KB
- Stars: 10
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-canbus - socanui - SocketCAN User Interface for the Terminal. (Utils / TUI Tools)
README
# SocketCAN User Interface for the Terminal - socanui
## Features
- Send and Receive CAN Message
- CAN Frame List
- CAN Frame Table
- Show CAN Interface Parameter
- CAN Statistics
- Send CAN Frames (single, repeated, random)
- Filter CAN Frames
## Usage
Just run `socanui ` in your terminal and the UI will start.
For the first physical CAN adapter:
```sh
socanui can0
```
## Install
```sh
git clone https://github.com/miwagner/socanui.git
go build -o socanui main.go
```
## Socket CAN
You can create a virtual CAN interface if you don't have a physical CAN adapter:
```sh
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
```
You can generate testdata as follow:
```sh
cangen vcan0
```