aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/BTDevice.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-04-14 05:35:47 +0200
committerSven Gothel <[email protected]>2022-04-14 05:35:47 +0200
commitbabbcbf0e6134e5244556cdc866b681c1b0c1767 (patch)
tree9d72882d4f0243d088f45809631c81bee811da58 /api/direct_bt/BTDevice.hpp
parentb0cf6cee7adb38d0e8a64d9c22f44083d2a79e4d (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.hpp2
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;
/**