diff options
author | Sven Gothel <[email protected]> | 2020-11-10 04:39:29 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-11-10 04:39:29 +0100 |
commit | ea64dccaaacf96a0e42f3a1bf32c949212ff1a18 (patch) | |
tree | e809a69acd4d138392cee471ebd70472f1f441b8 /api | |
parent | cb18f506cdf94ff0194b09e07cf22f4824f5beb7 (diff) |
DBTManager::initAdapter(): Reorg setMode(..): Set modes only if not POWERED, add default SET_IO_CAPABILITY
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/DBTManager.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/direct_bt/DBTManager.hpp b/api/direct_bt/DBTManager.hpp index 86ec22aa..4bf22a2f 100644 --- a/api/direct_bt/DBTManager.hpp +++ b/api/direct_bt/DBTManager.hpp @@ -437,6 +437,8 @@ namespace direct_bt { std::shared_ptr<ConnectionInfo> getConnectionInfo(const uint16_t dev_id, const EUI48 &address, const BDAddressType address_type) noexcept; std::shared_ptr<NameAndShortName> setLocalName(const uint16_t dev_id, const std::string & name, const std::string & short_name) noexcept; + /** Security commands */ + MgmtStatus uploadLinkKey(const uint16_t dev_id, const bool debug_keys, const MgmtLinkKey &key) noexcept; MgmtStatus uploadLongTermKey(const uint16_t dev_id, const MgmtLongTermKey &key) noexcept; |