linux - Ubunu, BlueZ, Enumerating paired devices -


using bluez bluetooth stack, how programatiacally enumerate devices paired , not connected?

update: below wasn't easy thought be. adapter_get_devices starting point. helpful, if post sample out of that.
if don't have enough time, can use same bt-device tool command line appropriate command line params , output via pipe. other choice use listdevices api in org.bluez.adapter interface list of paired devices , hope thing in org.bluez.devices interface you.
update 2: in devices interface can use, getproperties method in answer

does gsoc code sample link help. in c , hope done on python dbus well. api adapter_get_devices. yet try this.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -