From e0d05942e436393256b61f111d5924add57840c7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sun, 9 Apr 2006 00:12:36 +0000 Subject: * Add D-Bus methods for getting remote device class information * Fix a couple of memory leaks where result of textfile_get wasn't free'd --- hcid/dbus-api.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'hcid/dbus-api.txt') diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index 51081424..a5f30101 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -416,6 +416,33 @@ Methods string GetAddress() Possible errors: org.bluez.Error.UnknownAddress org.bluez.Error.NotAvailable + string GetRemoteMajorClass(string address) + + Get the major device class of the specified device. + + Example: "computer" + + Possible errors: org.bluez.Error.UnknownAddress + org.bluez.Error.NotAvailable + + string GetRemoteMinorClass(string address) + + Get the minor device class of the specified device. + + Example: "laptop" + + Possible errors: org.bluez.Error.UnknownAddress + org.bluez.Error.NotAvailable + + array{string] GetRemoteServiceClasses(string address) + + Get the service classes of the specified device. + + Example: ["networking", "object transfer"] + + Possible errors: org.bluez.Error.UnknownAddress + org.bluez.Error.NotAvailable + string GetRemoteName(string address) Get adapter name for a remote device. This request -- cgit