Command-line toolkit for CAN/J1939 monitoring, logging, and vehicle simulation - the embedded32-tools executable.
npm install @embedded32/tools
From monorepo clone (development):
npm ci && npm run build
npx embedded32-tools --help
Hardware-free simulation (recommended first run):
npx embedded32-tools simulate vehicle/basic-truck
You should see decoded J1939 lines from engine, transmission, and diagnostic ECUs. Press Ctrl+C to stop.
This package is primarily a CLI. The published entry is the embedded32-tools binary.
| Command | Purpose |
|---|---|
simulate <profile> |
Run profile (e.g. vehicle/basic-truck) |
monitor <iface> |
Live CAN/J1939 decode |
log <iface> |
Log frames to file |
can up <iface> |
Create virtual CAN (Linux/WSL) |
j1939 monitor |
Legacy J1939 monitor |
can monitor |
Raw CAN monitor |
ecu simulate |
Legacy multi-ECU simulator |
Run embedded32-tools --help for the full list.
dist/cli.js| Command | Hardware |
|---|---|
simulate |
None |
monitor vcan0 / can0 |
Linux SocketCAN interface |
can up |
Linux/WSL with ip link privileges |
Not applicable - terminal CLI only.
| Error | Fix |
|---|---|
command not found |
Use npx embedded32-tools or global install |
| Empty monitor on Linux | Start simulate in another terminal or check interface name |
| Wrong command prefix | Bin is embedded32-tools, not embedded32 (that is @embedded32/cli) |
@embedded32/cli - runtime launcher (embedded32 demo, start)@embedded32/sim - simulation engine used by simulate@embedded32/can, @embedded32/j1939 - protocol stack@embedded32/tools@1.0.0 depends on pinned internal packages at 1.0.0.
MIT © Mukesh Mani Tripathi