OpenBluetoothToolbox / SimpleBLE

SimpleBLE - the all-in-one Bluetooth library for MacOS, iOS, Windows, Linux and Android.
https://www.simpleble.org
Other
619 stars 107 forks source link

Linux: SimpleBLE fails to find services for some peripherals #299

Open JoeHowse opened 3 months ago

JoeHowse commented 3 months ago

On Linux, SimpleBLE cannot find or use the services of peripherals which are based on the Feasycom FSC-BT986 Bluetooth module (https://www.feasycom.com/fsc-bt986). Peripheral.services() returns an empty list and Peripheral.notify(...) (with known-correct UUIDs) throws RuntimeError: Service with UUID ... not found.

UUIDs for Feasycom modules:

This is apparently a SimpleBLE issue because both bluetoothctl and Bleak can find and use the services of these peripherals.

Currently, I am unsure of the cause or extent of the issue. SimpleBLE does work on Linux for at least some peripherals based on other hardware.

System specs:

[Edit: Updated bullet point on Bluetooth adapters tested] [Edit: Added UUIDs]