Shell commands
Reference of all shell commands available in the BMS driver firmware.
Device control
| Command | Usage | Description |
|---|---|---|
sw | sw <0|1> | Switch BMS ports: 0 = OFF, 1 = ON |
swctl | swctl <port> <value> | Low-level switch control (debug) |
awake | awake | Keep the BMS awake (prevent sleep) |
Balancing
| Command | Usage | Description |
|---|---|---|
balance | balance [on|off|bitmask] | Start/stop standard balancing, or specify a cell bitmask for manual balancing |
Storage
| Command | Usage | Description |
|---|---|---|
storage | storage | Enter storage mode |
info
The storage command is only available if the storage feature is enabled in the firmware build.
Diagnostics
| Command | Usage | Description |
|---|---|---|
wtf | wtf [history_steps] | Print diagnostic info. Optionally show N history entries. |
print_info | print_info [N] | Alias for wtf |
driver_log | driver_log | Create a manual log entry |
driver_pmerase | driver_pmerase | Erase all permanent limit data |
Calibration
| Command | Usage | Description |
|---|---|---|
calib | calib | Factory calibration (requires highest permissions) |
usrcalib | usrcalib | User calibration for custom device information |
warning
The calib command is restricted to factory use and requires the highest access rights.