diff options
author | Sven Gothel <[email protected]> | 2020-11-25 01:09:51 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-11-25 01:09:51 +0100 |
commit | fd3c4825f646e0fe221625a5dd60b67d79c95ad5 (patch) | |
tree | 5c711374e0c4e546df74b91f5f4abb4e73f52676 /api | |
parent | cc475330fd173ee0e38b4a9a8cb5205fa2136bed (diff) |
DBTDevice::clearSMPStates(): Shall not clear pairing_data.sec_level_user on connected as used for security setup @ connectv2.1.34
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/DBTDevice.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/direct_bt/DBTDevice.hpp b/api/direct_bt/DBTDevice.hpp index 83aed534..37a13398 100644 --- a/api/direct_bt/DBTDevice.hpp +++ b/api/direct_bt/DBTDevice.hpp @@ -178,14 +178,14 @@ namespace direct_bt { /** * Will be performed within disconnect() and notifyDisconnected(). */ - void disconnectGATT(int caller) noexcept; + void disconnectGATT(const int caller) noexcept; /** * Will be performed within disconnect() and notifyDisconnected(). */ - void disconnectSMP(int caller) noexcept; + void disconnectSMP(const int caller) noexcept; - void clearSMPStates() noexcept; + void clearSMPStates(const bool connected) noexcept; public: const uint64_t ts_creation; |