diff options
author | Sven Gothel <[email protected]> | 2020-10-25 02:32:37 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-10-25 02:32:37 +0200 |
commit | 5d3d7df23b1f499e27f1956e885f1a40d7a0de3b (patch) | |
tree | 206c3ae864c40fb35f1fdea23e1d86469c85520a /api/direct_bt/DBTManager.hpp | |
parent | 27d0b2381fe32a3cee9ce19200e42d749cbe8a76 (diff) |
MgmtEvent::Opcode::NEW_SETTINGS: Be fully functional w/o Adapter: DBTManager shall update AdapterInfo state
DBTAdapter hence requires to cache the old AdapterInfo state to realize the changed bits
and for AdapterStatusListener forwarding.
Diffstat (limited to 'api/direct_bt/DBTManager.hpp')
-rw-r--r-- | api/direct_bt/DBTManager.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/direct_bt/DBTManager.hpp b/api/direct_bt/DBTManager.hpp index 55ce4330..5a230cab 100644 --- a/api/direct_bt/DBTManager.hpp +++ b/api/direct_bt/DBTManager.hpp @@ -208,6 +208,7 @@ namespace direct_bt { std::shared_ptr<AdapterInfo> initAdapter(const uint16_t dev_id, const BTMode btMode) noexcept; void shutdownAdapter(const uint16_t dev_id) noexcept; + bool mgmtEvNewSettingsCB(std::shared_ptr<MgmtEvent> e) noexcept; bool mgmtEvClassOfDeviceChangedCB(std::shared_ptr<MgmtEvent> e) noexcept; bool mgmtEvDeviceDiscoveringCB(std::shared_ptr<MgmtEvent> e) noexcept; bool mgmtEvDeviceFoundCB(std::shared_ptr<MgmtEvent> e) noexcept; |