summaryrefslogtreecommitdiff
path: root/test/list-devices
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-07-18 16:36:35 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-07-19 10:42:20 +0300
commit91b9c50aa434319bebe79a4290d76b0725266c80 (patch)
tree60d57e2f7da9f11bb75eedec5fda8ac952217c37 /test/list-devices
parent612518368cb92e52bb3af8647adcb282926e177e (diff)
downloadbluez-91b9c50aa434319bebe79a4290d76b0725266c80.tar.gz
Remove documentation about Node API
Node API was never implemented.
Diffstat (limited to 'test/list-devices')
-rwxr-xr-xtest/list-devices19
1 files changed, 1 insertions, 18 deletions
diff --git a/test/list-devices b/test/list-devices
index 168314272..d4ed71100 100755
--- a/test/list-devices
+++ b/test/list-devices
@@ -60,10 +60,7 @@ for i in adapter_list:
properties = device.GetProperties()
for key in properties.keys():
value = properties[key]
- if (key == "Nodes"):
- list = extract_objects(value)
- print(" %s = %s" % (key, list))
- elif (key == "UUIDs"):
+ if (key == "UUIDs"):
list = extract_uuids(value)
print(" %s = %s" % (key, list))
elif (key == "Class"):
@@ -77,18 +74,4 @@ for i in adapter_list:
else:
print(" %s = %s" % (key, value))
- try:
- node_list = properties["Nodes"]
- except:
- node_list = []
-
- for x in node_list:
- node = dbus.Interface(bus.get_object("org.bluez", x),
- "org.bluez.Node")
- print(" [ " + x + " ]")
-
- properties = node.GetProperties()
- for key in properties.keys():
- print(" %s = %s" % (key, properties[key]))
-
print("")