aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt/BTAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/direct_bt/BTAdapter.cpp')
-rw-r--r--src/direct_bt/BTAdapter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/direct_bt/BTAdapter.cpp b/src/direct_bt/BTAdapter.cpp
index 01a11724..82c6c7c1 100644
--- a/src/direct_bt/BTAdapter.cpp
+++ b/src/direct_bt/BTAdapter.cpp
@@ -296,7 +296,9 @@ void BTAdapter::printDeviceList(const std::string& prefix, const BTAdapter::devi
jau::PLAIN_PRINT(true, "- BTAdapter::%s: %zu elements", prefix.c_str(), sz);
int idx = 0;
for (auto it = list.begin(); it != list.end(); ++idx, ++it) {
- jau::PLAIN_PRINT(true, " - %d / %zu: %s", (idx+1), sz, (*it)->getAddressAndType().toString().c_str());
+ jau::PLAIN_PRINT(true, " - %d / %zu: %s, name '%s'", (idx+1), sz,
+ (*it)->getAddressAndType().toString().c_str(),
+ (*it)->getName().c_str() );
}
}
void BTAdapter::printDeviceLists() noexcept {