Skip to contentSkip to conversation

Add OOB DBus method for changing device properties

PATCH New Bartosz Szatkowski 1 participant 1 message Jun 7, 2011 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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
index d838712..606dd38 100644
@@ -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