Smart CAN bus BMS