How to un-pair a device via DBus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I'm asking just for a hint, how to do stuff, as I'm probably missing something obvoius.

My application controls all bluetooth events and options via DBus interface. I already use Connect/Disconnect methods of devices, their Trusted property etc., as described here:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/device-api.txt

However, when I call CancelPairing method, I always receive DoesNotExist error.

My intention is to remove a paired device from the devices list, or at least mark is as "not paired", so that the device must pair again before anything else.

Please note that setting the Paired property to "off" does not work as this property is read-only.

Also the solution of deleting the device's directory is not a good option for me as the bluetooth daemon would probably need to be restarted.

How to invoke device removal or un-pair via DBus ?

Thanks for any answers!
Libor Peltan

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux