I wrote the code to turn ON and scan the available Bluetooth.
The code works fine on all the phones except "Xiaomi Redmi Note8 Pro" or above.
The Redmi phone has Additional settings under Bluetooth settings.
- Pair compatible devices
- Show Bluetooth devices without names.
Basically, I am trying to pair Bluetooth devices having No Name with this phone. But not able to enable this setting through the code. I manually need to enable this setting then only devices able to connect with this phone.
How to enable all the Bluetooth settings in Redmi phones??
Find the screenshots.