What is the longest distance allowed for the app to control bluetooth device?

When a device is connected and controlled through Bluetooth, the maximum theoretical distance is 50 m in an unblocked, interference-free, and open area. When using at home, it is recommended to control the distance within 10 meters.