Updated Bluez DBUS-API Document?

I just tried running the vala bluez example (found on the DbusClientSamples page) and I got this error:

GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Method "DiscoverDevices" with signature "" on interface "org.bluez.Adapter" doesn't exist 

Is the sample using an outdated API? If so, where can I find an updated bluez DBUS API document? All the documents that I find (by search query) contain the DiscoverDevices method, so I'm pretty confused.

+7
bluetooth glib dbus vala gio
source share
2 answers

AFAICT org.bluez.Adapter is gone (I don't see it on my Fedora 20 system, running bluez-5.12). Instead org.bluez.Adapter1 . You can get all the latest bluez D-Bus API documentation at https://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc

+8
source share

The best way to get the BlueZ DBus documentation is to download the source code from the BlueZ website, unzip it, and then look in the doc . All existing DBus APIs are listed here.

I have been using these documents a lot lately. You might ask better, but they are good enough. This is mostly obvious, and the most unobvious problems are explained.

+1
source share

All Articles