IMCInter Module Communication
v5.5.11

Query BMS Data

QueryBmsData ID 2041
Payload
≥ 5 bytes, variable
Packet
≥ 27 bytes
Source
ccu, vehicle
Category
Sensors

Request detailed battery management system data from a vehicle. The vehicle replies with one or more BmsData messages depending on the requested operation and pack index. If pack_idx is 0xFF the vehicle returns data for every detected battery pack. The operation field selects which class of data is returned, allowing future extension without protocol changes.

#Fields

Offset FieldTypeUnitRangeDescription
0 #opOperation uint8_t Enumerated –

Type of BMS data requested.

0BOP_READ_TELEMETRYRead Telemetry

Voltage, current, temperature, SOC, time to empty.

1BOP_READ_CELL_VOLTAGESRead Cell Voltages

Individual cell voltages.

2BOP_READ_STATUSRead Status

SOH, battery status, cycle count, capacity, serial, FET status.

3BOP_READ_ALLRead All

Combination of telemetry, cell voltages and status.

4BOP_READ_RAWRaw Register Read

Read an arbitrary SBS register (address in sbs_register).

5BOP_WRITE_RAWRaw Register Write

Write to an arbitrary SBS register (address in sbs_register, payload in data).

6BOP_SET_FETSet FET

Control charge/discharge/pre-charge FETs. Desired FET bit-mask in data[0-1] LE.

1 #pack_idxPack Index uint8_t –
default 0xFF

Battery pack index (0-based). Use 0xFF to address all detected packs.

2 #sbs_registerSBS Register uint8_t – –

SBS register address for READ_RAW / WRITE_RAW operations. Ignored for other operations.

3 #dataData rawdata – –

Payload for write operations (WRITE_RAW, SET_FET). For READ_RAW, data[0] specifies the expected response length in bytes (defaults to 2 if empty). Unused for other read operations.