Skip to main content
Firmware Stable

Shell commands

Reference of all shell commands available in the BMS driver firmware.

Device control

CommandUsageDescription
swsw <0|1>Switch BMS ports: 0 = OFF, 1 = ON
swctlswctl <port> <value>Low-level switch control (debug)
awakeawakeKeep the BMS awake (prevent sleep)

Balancing

CommandUsageDescription
balancebalance [on|off|bitmask]Start/stop standard balancing, or specify a cell bitmask for manual balancing

Storage

CommandUsageDescription
storagestorageEnter storage mode
info

The storage command is only available if the storage feature is enabled in the firmware build.

Diagnostics

CommandUsageDescription
wtfwtf [history_steps]Print diagnostic info. Optionally show N history entries.
print_infoprint_info [N]Alias for wtf
driver_logdriver_logCreate a manual log entry
driver_pmerasedriver_pmeraseErase all permanent limit data

Calibration

CommandUsageDescription
calibcalibFactory calibration (requires highest permissions)
usrcalibusrcalibUser calibration for custom device information
warning

The calib command is restricted to factory use and requires the highest access rights.