Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to Retrieve the list of Scanned and Connected devices.😢 #171

Closed
Rachagundla opened this issue Dec 5, 2022 · 4 comments
Closed

Comments

@Rachagundla
Copy link

The Flutter_Blue_Plus plugin not able to detect any nearby available devices. The method getConnectedDevices() from BluetoothManager not list out the available devices.
The mDevices size: 0 from flutter_ble_plus showing zero.

logs: -
D/BluetoothManager(18124): getConnectedDevices
D/FlutterBluePlugin(18124): mDevices size: 0
W/1.raster(18124): type=1400 audit(0.0:785011): avc: denied { search } for name="battery" dev="sysfs" ino=7009 scontext=u:r:untrusted_app:s0:c154,c256,c512,c768 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=0

@lgaljer20
Copy link

try enabling GPS

@qinrunhao
Copy link

Hi @Rachagundla
I also encountered this problem. It was clear that two Bluetooth devices were connected, but the method getConnectedDevices() returned 0. Has the host solved it?

@qinrunhao
Copy link

I think I know why. The underlying code only supports BLE Bluetooth connection, and cannot recognize and connect classic Bluetooth. So my Bluetooth headset and Bluetooth speaker weren't recognized by the plug-in.

@gorychama
Copy link

gorychama commented Jan 24, 2023

Apparently, in BLE Bluetooth connection, you need to enable GPS, the issue mentioned here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants