diff options
author | Sven Gothel <[email protected]> | 2020-11-19 10:50:48 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-11-19 10:50:48 +0100 |
commit | c4a2b7869e2a593cc80ced6764fc6ecbc0928f6a (patch) | |
tree | b25312d935780e6d834387b82b7036e9e335480f /src/direct_bt/SMPHandler.cpp | |
parent | b22177756760aa3df4283d99ed87485f3c3657ce (diff) |
Use new BTSecurityLevel instead of uint8_t BT_SECURITY value; DBTDevice: Add [set|get]SecurityLevel() using BTSecurityLevel, overriding auto-determined mode.
Diffstat (limited to 'src/direct_bt/SMPHandler.cpp')
-rw-r--r-- | src/direct_bt/SMPHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/SMPHandler.cpp b/src/direct_bt/SMPHandler.cpp index 3255aaf8..352f53b0 100644 --- a/src/direct_bt/SMPHandler.cpp +++ b/src/direct_bt/SMPHandler.cpp @@ -200,7 +200,7 @@ SMPHandler::~SMPHandler() noexcept { clearAllCallbacks(); } -bool SMPHandler::establishSecurity(const uint8_t sec_level) { +bool SMPHandler::establishSecurity(const BTSecurityLevel sec_level) { // FIXME: Start negotiating security! // FIXME: Return true only if security has been established (encryption and optionally authentication) (void)sec_level; |