Battery repair issue

I have an ebike made with Bafang kit.
After some extended storage the battery would not charge.
I suspect the BMS is not functioning any more.
Where I live spare battery pack is not available.

After opening the pack 4p x12sx3.63V Nom 43V 450w I found ali cells down to about 1.6v well below the 2.75 cutoff minimum. No 'bad' cells found so far.

If I purchase a new BMS how can I be sure it can control the Bafang 5p smart charger?? I see reference to UART in the description and suspect the BMS needs to talk to the charger.
Can shipment help me identify suitable BMS replacement part??