Module protocol

Source
Expand description

Defines the communication protocol for Daly BMS.

Structs§

BmsReset
Represents a command to reset the BMS.
CellBalanceState
Represents a command to request the balance state of individual cells.
CellTemperatures
Represents a command to request individual cell temperatures. The BMS returns cell temperatures in multiple frames.
CellVoltageRange
Represents the range of cell voltages (highest and lowest) in the battery pack.
CellVoltages
Represents a command to request individual cell voltages. The BMS returns cell voltages in multiple frames.
IOState
Represents the state of digital inputs (DI) and digital outputs (DO).
MosfetStatus
Represents the status of the MOSFETs and battery capacity.
SetChargeMosfet
Represents a command to enable or disable the charging MOSFET.
SetDischargeMosfet
Represents a command to enable or disable the discharging MOSFET.
SetSoc
Represents a command to set the State of Charge (SOC) percentage.
Soc
Represents the State of Charge (SOC) and related battery metrics.
Status
Represents various status information of the BMS.
TemperatureRange
Represents the range of temperatures (highest and lowest) measured by the BMS.

Enums§

Address
Represents the sender/receiver address in a BMS command. Currently, only the Host address is defined, as the BMS address can vary.
ErrorCode
Represents various error codes and alarm states reported by the BMS.
MosfetMode
Represents the operational mode of the MOSFETs.

Constants§

MINIMUM_DELAY
Minimum delay required between sending commands to the BMS. This is to prevent overwhelming the BMS with requests.