diff options
-rwxr-xr-x | test/test-device | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-device b/test/test-device index 12cadb06..720c945b 100755 --- a/test/test-device +++ b/test/test-device @@ -58,6 +58,8 @@ if (args[0] == "list"): if "org.bluez.Device" not in interfaces: continue properties = interfaces["org.bluez.Device"] + if properties["Adapter"] != adapter_path: + continue; print("%s %s" % (properties["Address"], properties["Alias"])) sys.exit(0) |