BMSData
data class BMSData(val bmsIndex: Int, val voltage: Double?, val current: Double?, val remainingCapacity: Int?, val factoryCapacity: Int?, val cycles: Int?, val temperatures: List<Double>?, val cellVoltages: List<Double>?, val isCharging: Boolean? = null, val serialNumber: String? = null, val firmwareVersion: String? = null, val chargeCurrent: Double? = null, val dischargeCurrent: Double? = null)(source)
Companion model for BMS (Battery Management System) summary data. Provides detailed battery health information beyond what EUCData carries.
Constructors
Link copied to clipboard
constructor(bmsIndex: Int, voltage: Double?, current: Double?, remainingCapacity: Int?, factoryCapacity: Int?, cycles: Int?, temperatures: List<Double>?, cellVoltages: List<Double>?, isCharging: Boolean? = null, serialNumber: String? = null, firmwareVersion: String? = null, chargeCurrent: Double? = null, dischargeCurrent: Double? = null)
Properties
Link copied to clipboard
Individual cell voltages in volts
Link copied to clipboard
Positive charging-channel current in amps.
Link copied to clipboard
Positive discharging-channel current in amps.
Link copied to clipboard
Factory/design capacity in mAh
Link copied to clipboard
Battery management firmware version.
Link copied to clipboard
Charging status of this battery pack. true when the pack is being charged, false when it is not, null when the protocol exposes neither a charging flag nor a signed BMS current.
Link copied to clipboard
Remaining capacity in mAh
Link copied to clipboard
Battery pack serial number, when reported independently of the wheel.
Link copied to clipboard
Temperature probe readings in degrees Celsius