diff options
author | Sven Gothel <[email protected]> | 2022-04-14 05:35:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-04-14 05:35:47 +0200 |
commit | babbcbf0e6134e5244556cdc866b681c1b0c1767 (patch) | |
tree | 9d72882d4f0243d088f45809631c81bee811da58 /api/direct_bt/BTDevice.hpp | |
parent | b0cf6cee7adb38d0e8a64d9c22f44083d2a79e4d (diff) |
BTDevice::notifyLEFeature(): Remove HCIStatusCode param and only call with SUCCESS status code
In case of a connection failure, status code is !SUCCESS and we shall not enter into pairing mode!
Diffstat (limited to 'api/direct_bt/BTDevice.hpp')
-rw-r--r-- | api/direct_bt/BTDevice.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/direct_bt/BTDevice.hpp b/api/direct_bt/BTDevice.hpp index 803208aa..ae20a48c 100644 --- a/api/direct_bt/BTDevice.hpp +++ b/api/direct_bt/BTDevice.hpp @@ -162,7 +162,7 @@ namespace direct_bt { void notifyDisconnected() noexcept; void notifyConnected(std::shared_ptr<BTDevice> sthis, const uint16_t handle, const SMPIOCapability io_cap) noexcept; - void notifyLEFeatures(std::shared_ptr<BTDevice> sthis, const HCIStatusCode status, const LE_Features features) noexcept; + void notifyLEFeatures(std::shared_ptr<BTDevice> sthis, const LE_Features features) noexcept; void notifyLEPhyUpdateComplete(const HCIStatusCode status, const LE_PHYs Tx, const LE_PHYs Rx) noexcept; /** |