aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/DBTAdapter.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-05-30 15:04:16 +0200
committerSven Gothel <[email protected]>2020-05-30 15:04:16 +0200
commit824a64482257fa4f4fb6db50edbdb9c947e24615 (patch)
tree18f088a725b17f3280d6b2376677d238b19fbf6d /api/direct_bt/DBTAdapter.hpp
parent821dd9b08e30000b0758080fcf149d153eedf1d4 (diff)
DBTDevice::disconnect: After skipping the hci_disconnect, the manager::disconnect() shall still occur ensuring DISCONNECT being sent
Also fix DBTAdapter disconnect friend declaration.
Diffstat (limited to 'api/direct_bt/DBTAdapter.hpp')
-rw-r--r--api/direct_bt/DBTAdapter.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/direct_bt/DBTAdapter.hpp b/api/direct_bt/DBTAdapter.hpp
index 34cb5e3f..c55a0bd8 100644
--- a/api/direct_bt/DBTAdapter.hpp
+++ b/api/direct_bt/DBTAdapter.hpp
@@ -167,7 +167,7 @@ namespace direct_bt {
friend std::shared_ptr<DBTDevice> DBTDevice::getSharedInstance() const;
friend void DBTDevice::releaseSharedInstance() const;
friend std::shared_ptr<ConnectionInfo> DBTDevice::getConnectionInfo();
- friend void DBTDevice::disconnect(const uint8_t reason);
+ friend void DBTDevice::disconnect(const bool disconnectManager, const uint8_t reason);
friend uint16_t DBTDevice::connectLE(HCIAddressType peer_mac_type, HCIAddressType own_mac_type,
uint16_t interval, uint16_t window,
uint16_t min_interval, uint16_t max_interval,