I have a problem with my application, it does not detect Bluetooth connections, it gives me a blank list, I have already given permissions to the application and it still does not work

Hello Luis - welcome to the forum!

Well, permissions are missing from your App Code. I suggest you use Anke's extension "GetApiLevel"

........ to determine if they need to be applied, like this:

Also, you will need to ensure that your phone/tablet and the target device have Bluetooth enabled. What version of Android and what version of Bluetooth are you using?

We may also need to see your script/sketch for the target device and it's Name & Model number.