The Bafang M series due to the closed firmware, allows very limited settings, maximum speed, wheel circumference, wheel diameter and calibration of the torque and motor speed sensor.
You can use BESST or CAN interface, but the parameters that you can set are the same.
In the case of the torque...