@embedded32/cli
v1.0.0
Published
Command-line interface for Embedded32 runtime
Readme
embedded32-cli
Command-line interface for launching and managing Embedded32 runtime.
Installation
npm install -g embedded32-cliCommands
Initialize Configuration
embedded32 initCreates an embedded32.yaml configuration file with default settings.
Start Runtime
embedded32 start [config.yaml]Starts all enabled modules from configuration.
embedded32 start # Uses embedded32.yaml
embedded32 start /etc/fleet.yaml # Uses custom configDemo Mode
embedded32 demoRuns everything with all features enabled:
- Virtual CAN bus
- J1939 decoder
- Engine/transmission/brake simulators
- UDP/TCP networking
- CAN ↔ Ethernet bridge
- Web dashboard at http://localhost:5173
Check Status
embedded32 statusCheck the status of a running runtime.
Add Plugin
embedded32 add <plugin>Add a plugin to your Embedded32 ecosystem.
embedded32 add embedded32-bridge
embedded32 add embedded32-dashboardHelp
embedded32 helpConfiguration
The embedded32.yaml file configures all runtime behavior:
# CAN Bus
can:
interface: vcan0
baudrate: 250000
enabled: true
# J1939 Protocol
j1939:
enabled: true
# Network Transports
ethernet:
udp:
enabled: true
port: 5000
tcp:
enabled: true
port: 9000
# Message Routing
bridge:
canEthernet:
enabled: true
whitelist: [0xF004, 0xFECA]
# Web Dashboard
dashboard:
enabled: true
port: 5173
# Simulators
simulator:
engine: true
transmission: true
brakes: false
# Logging
logging:
level: info
console: trueShutdown
Press Ctrl+C to gracefully shutdown:
⏹️ Shutting down gracefully...
✅ Module stopped: Dashboard
✅ Module stopped: Bridge
✅ Module stopped: Ethernet
✅ Module stopped: J1939
✅ Module stopped: CAN
✅ Shutdown completeLicense
MIT © Mukesh Mani Tripathi
