diff options
author | Sven Gothel <[email protected]> | 2021-06-15 14:58:05 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-06-15 14:58:05 +0200 |
commit | 8fd5e62090df664f2519293b21ccc99b7e495af8 (patch) | |
tree | 4bb248da754895ceae7bd2342ce87ad8ff61383e /java/jau/direct_bt/DBTAdapter.java | |
parent | 3c1aa61438d2631776c6f3652d4eefc4bf8fec75 (diff) |
[D]BTAdapter.printDeviceList[s](..): Also print device name in debug output.
Diffstat (limited to 'java/jau/direct_bt/DBTAdapter.java')
-rw-r--r-- | java/jau/direct_bt/DBTAdapter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/jau/direct_bt/DBTAdapter.java b/java/jau/direct_bt/DBTAdapter.java index 09aec7e1..8d8ae441 100644 --- a/java/jau/direct_bt/DBTAdapter.java +++ b/java/jau/direct_bt/DBTAdapter.java @@ -548,7 +548,8 @@ public class DBTAdapter extends DBTObject implements BTAdapter if( null == d ) { BTUtils.fprintf_td(System.err, " - %d / %d: nil%s", (idx+1), sz, System.lineSeparator()); } else { - BTUtils.fprintf_td(System.err, " - %d / %d: %s%s", (idx+1), sz, d.getAddressAndType().toString(), System.lineSeparator()); + BTUtils.fprintf_td(System.err, " - %d / %d: %s, name '%s'%s", (idx+1), sz, + d.getAddressAndType().toString(), d.getName(), System.lineSeparator()); } } } |