aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-09-20 22:28:21 +0200
committerSven Gothel <[email protected]>2020-09-20 22:28:21 +0200
commitf2e1a6b9ce05d5e919cd4118004126be02f77326 (patch)
tree8dd7fc4d2c865817487e20eaa1e039efb47190d7 /api
parent63a94870a0aa90d97c0ba358154b036412a48b7c (diff)
DBTAdapter::mgmtEvNewSettingsMgmt: Update DBTAdapter::btMode from new setting (and expose in debug message)
Diffstat (limited to 'api')
-rw-r--r--api/direct_bt/DBTAdapter.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/direct_bt/DBTAdapter.hpp b/api/direct_bt/DBTAdapter.hpp
index fbc4e080..b8890061 100644
--- a/api/direct_bt/DBTAdapter.hpp
+++ b/api/direct_bt/DBTAdapter.hpp
@@ -509,7 +509,8 @@ namespace direct_bt {
/** Returns shared DBTDevice if found, otherwise nullptr */
std::shared_ptr<DBTDevice> findDiscoveredDevice (EUI48 const & mac, const BDAddressType macType) noexcept;
- std::string toString() const noexcept override;
+ std::string toString() const noexcept override { return toString(true); }
+ std::string toString(bool includeDiscoveredDevices) const noexcept;
/**
* This is a debug facility only, to observe consistency