0

I wrote the code to turn ON and scan the available Bluetooth.

Reference1

Reference2

The code works fine on all the phones except "Xiaomi Redmi Note8 Pro" or above.

The Redmi phone has Additional settings under Bluetooth settings.

  1. Pair compatible devices
  2. 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.

Bluetooth Settings Additional Settings OS Version

Vinit ...
  • 1,409
  • 10
  • 37
  • 66
  • As you mentioned, that you have written the code to scan, is the device with No name present in the scan list ? – Rahul Patil May 24 '21 at 08:34
  • It scans the device with no name only when the second setting "Show Bluetooth devices without names." is enabled. If this setting is disabled then it scans the device with the name only. And I am not able to find the code to enable this setting. – Vinit ... May 24 '21 at 09:41

0 Answers0