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

No adapter was found on Linux Ubuntu 23.10 #284

Open SnowCharmQ opened 6 months ago

SnowCharmQ commented 6 months ago

Hi there. I do use the repository on the host Dell laptop so it can not be the problem shown in #220 . When I try to run the example folders in the simpleble directory, I get the result: No adapter was found. But I check the status of Bluetooth by using the tool Bluetooth Manager, it indeed shows that there are two adaptors in my device. Could you please help me fix this bug?

SnowCharmQ commented 6 months ago

Besides, I tried the library simplebluez and got the error messages:

terminate called after throwing an instance of 'SimpleDBus::Exception::DBusException'
  what():  org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /home/snowcharm/anaconda3/var/run/dbus/system_bus_socket: No such file or directory
Aborted

The results of the tool Bluetooth Manager can be found below: image