Expand description
Defines the communication protocol for Daly BMS.
Structs§
- BmsReset
- Represents a command to reset the BMS.
- Cell
Balance State - Represents a command to request the balance state of individual cells.
- Cell
Temperatures - Represents a command to request individual cell temperatures. The BMS returns cell temperatures in multiple frames.
- Cell
Voltage Range - Represents the range of cell voltages (highest and lowest) in the battery pack.
- Cell
Voltages - 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).
- Mosfet
Status - Represents the status of the MOSFETs and battery capacity.
- SetCharge
Mosfet - Represents a command to enable or disable the charging MOSFET.
- SetDischarge
Mosfet - 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.
- Temperature
Range - 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.
- Error
Code - Represents various error codes and alarm states reported by the BMS.
- Mosfet
Mode - 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.