-
Notifications
You must be signed in to change notification settings - Fork 488
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
Comments
try enabling GPS |
Hi @Rachagundla |
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. |
Apparently, in BLE Bluetooth connection, you need to enable GPS, the issue mentioned here. |
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
The text was updated successfully, but these errors were encountered: