Skip to content

Commit 14f97a4

Browse files
committed
added reading bms cycles bytes for Pylon BMS binding
1 parent 5d0783d commit 14f97a4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bms-pylon-rs485/src/main/java/com/airepublic/bmstoinverter/bms/pylon/rs485/PylonBmsRS485Processor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ private void readCellInformation(final BatteryPack pack, final ByteBuffer data)
338338
remainingCapacitymAh += convertAsciiBytesToShort(new byte[] { data.get(), data.get(), data.get(), data.get() }) * 100;
339339
data.getShort(); // user defined items
340340
ratedCapacitymAh += convertAsciiBytesToShort(new byte[] { data.get(), data.get(), data.get(), data.get() }) * 100;
341+
data.getShort(); // bms cycles
341342
}
342343

343344
pack.numberOfCells = totalNumberOfCells;

0 commit comments

Comments
 (0)