Those square devices look epoxy dipped, one might guess thermistor, but I have never seen one in that shape. Screams ceramic capicitor, but I doubt that.. or maybe they are ceramics used for noise suppression if the BMS is vulnerable to trash from the controller.