BMS Data
BmsData
ID 2042
- Payload
- ≥ 57 bytes, variable
- Packet
- ≥ 79 bytes
- Source
- vehicle
- Category
- Sensors
Battery management system data returned in response to a QueryBmsData request. One message is sent per battery pack. Fields that are not applicable to the requested operation are set to zero.
#Fields
| Offset | Field | Type | Unit | Range | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | #originalOriginal Message |
message<any> |
– | – | The message that originated the request. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #req_statusRequest Status |
uint8_t |
Enumerated | – | Outcome of the request.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #pack_idxPack Index |
uint8_t |
– | – | Battery pack index (0-based). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #temperatureTemperature |
fp32_t |
°C | – | Pack temperature in degrees Celsius. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #voltageVoltage |
fp32_t |
V | – | Pack voltage. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #currentCurrent |
fp32_t |
A | – | Pack current (positive = charging). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #rsocRelative State of Charge |
uint8_t |
% | – | Relative state of charge. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #asocAbsolute State of Charge |
uint8_t |
% | – | Absolute state of charge. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #sohState of Health |
uint8_t |
% | – | State of health. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #remaining_capacityRemaining Capacity |
uint16_t |
mAh | – | Remaining battery capacity. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #full_charge_capacityFull Charge Capacity |
uint16_t |
mAh | – | Full charge capacity at current conditions. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #cycle_countCycle Count |
uint16_t |
– | – | Number of charge/discharge cycles. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #time_to_emptyTime to Empty |
uint16_t |
min | – | Estimated time to empty. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #time_to_fullTime to Full |
uint16_t |
min | – | Estimated time to full charge. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #battery_statusBattery Status |
uint16_t |
Bitfield | – | Raw SBS battery status register. 11 flags
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #serial_numberSerial Number |
uint16_t |
– | – | BMS serial number. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #fet_statusFET Status |
uint16_t |
Bitfield | – | Host FET control register state.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #safety_statusSafety Status |
uint32_t |
Bitfield | – | Safety Status register bitfield from the battery gauge IC. 18 flags
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #pf_statusPF Status |
uint32_t |
Bitfield | – | Permanent Failure Status register bitfield from the battery gauge IC. 18 flags
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #operation_statusOperation Status |
uint32_t |
Bitfield | – | Operation Status register bitfield from the battery gauge IC. 26 flags
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #charging_statusCharging Status |
uint16_t |
Bitfield | – | Charging Status register bitfield from the battery gauge IC. 10 flags
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #gauging_statusGauging Status |
uint16_t |
Bitfield | – | Gauging Status register bitfield from the battery gauge IC. 13 flags
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #cell_voltagesCell Voltages |
message-list<BmsCellVoltage> |
– | – | Individual cell voltages (populated for READ_CELL_VOLTAGES and READ_ALL). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #registersRegisters |
message-list<BmsRegister> |
– | – | Arbitrary SBS register values. Each entry carries a register address and its raw value, allowing the handler to expose new registers without protocol changes. Populated alongside the typed fields for READ_TELEMETRY, READ_STATUS and READ_ALL; always populated for READ_RAW. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | #dataData |
rawdata |
– | – | Raw response data for READ_RAW / WRITE_RAW operations. |