Add OOB DBus method for changing device properties
PATCH 1/1 Add OOB DBus method for changing device properties
It should be used when connection is made via Out of Band mechanisms. For now there is only support for remote device class setting.
--- doc/oob-api.txt | 10 +++++++++ plugins/dbusoob.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 0 deletions(-)
doc/oob-api.txt +10 -0
@@ -36,3 +36,13 @@ Methods array{byte} hash, array{byte} randomizer ReadLocalData() Possible errors: org.bluez.Error.Failed org.bluez.Error.InvalidArguments + + void SetDeviceProperty(string address, string property, + variant class) + + This method set property for devices with specified + address. For now only "Class" property (uint32) is + supported. + + Possible errors: org.bluez.Error.Failed + org.bluez.Error.InvalidArguments
plugins/dbusoob.c +54 -0
65 lines not on this page · raw message
Signature · 1 line
1.7.1