diff options
Diffstat (limited to 'api/direct_bt/SMPHandler.hpp')
-rw-r--r-- | api/direct_bt/SMPHandler.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/direct_bt/SMPHandler.hpp b/api/direct_bt/SMPHandler.hpp index 6f16eaae..891547ea 100644 --- a/api/direct_bt/SMPHandler.hpp +++ b/api/direct_bt/SMPHandler.hpp @@ -216,10 +216,10 @@ namespace direct_bt { std::string getStateString() const noexcept { return L2CAPComm::getStateString(is_connected, has_ioerror); } /** - * If sec_level > BTSecurityLevel::NONE, establish security level per L2CAP connection. + * If sec_level > BTSecurityLevel::UNSET, change security level per L2CAP connection. * - * @param sec_level sec_level <= BTSecurityLevel::NONE will not set security level and returns false. - * @return true if a security level > BTSecurityLevel::NONE has been set successfully, false if no security level has been set or if it failed. + * @param sec_level sec_level < BTSecurityLevel::NONE will not set security level and returns false. + * @return true if a security level > BTSecurityLevel::UNSET has been set successfully, false if no security level has been set or if it failed. */ bool establishSecurity(const BTSecurityLevel sec_level); |