diff --git a/doc/device-api.txt b/doc/device-api.txt
index 0f34210..3b84033 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
Possible errors: org.bluez.Error.NotConnected
- array{object} ListNodes()
-
- Returns list of device node object paths.
-
- Possible errors: org.bluez.Error.InvalidArguments
- org.bluez.Error.Failed
- org.bluez.Error.OutOfMemory
-
- object CreateNode(string uuid)
-
- Creates a persistent device node binding with a
- remote device. The actual support for the specified
- UUID depends if the device driver has support for
- persistent binding. At the moment only RFCOMM TTY
- nodes are supported.
-
- Possible errors: org.bluez.Error.InvalidArguments
- org.bluez.Error.NotSupported
-
- void RemoveNode(object node)
-
- Removes a persistent device node binding.
-
- Possible errors: org.bluez.Error.InvalidArguments
- org.bluez.Error.DoesNotExist
-
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
disconnection to a remote device has been requested.
The actual disconnection will happen 2 seconds later.
- NodeCreated(object node)
-
- Parameter is object path of created device node.
-
- NodeRemoved(object node)
-
- Parameter is object path of removed device node.
-
Properties string Address [readonly]
The Bluetooth device address of the remote device.
emitted PropertyChanged signal will show the remote
name again.
- array{object} Nodes [readonly]
-
- List of device node object paths.
-
object Adapter [readonly]
The object path of the adapter the device belongs to.
diff --git a/doc/node-api.txt b/doc/node-api.txt
deleted file mode 100644
index 3ae4dee..0000000
--- a/doc/node-api.txt
+++ /dev/null
-BlueZ D-Bus Node API description
-********************************
-
-Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
-
-
-Node hierarchy
-==============
-
-Service org.bluez
-Interface org.bluez.Node
-Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/{node0,...}
-
-Methods dict GetProperties()
-
- Returns all properties for the device node. See the
- properties section for available properties.
-
- Possible Errors: org.bluez.Error.DoesNotExist
- org.bluez.Error.InvalidArguments
-
-Properties string Name [readonly]
-
- The name of the node. For example "rfcomm0".
-
- object Device [readonly]
-
- The object path of the device this node belongs to.
diff --git a/test/list-devices b/test/list-devices
index 1683142..d4ed711 100755
--- a/test/list-devices
+++ b/test/list-devices
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"):
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("")