diff options
author | Sven Gothel <[email protected]> | 2020-07-17 07:54:25 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-07-17 07:54:25 +0200 |
commit | 01eec2e5f4ce0c91f64bcf1035cdda22f6f6ea3a (patch) | |
tree | da76256f9ab510794701d6dfa5b0de07e49e6a4d | |
parent | 329589834f500019ff5446fd9f3cb3f7a943acb2 (diff) |
Direct-BT: Fix API doc regarding DBTDevice's HCI connect requirement; HCI connect must be performed (not a performance issue)
Our earlier code used the manager's implicit whitelist feature to connect.
The earlier performance lag was due to slow scanning parameter,
not the fact that no connection has been made.
-rw-r--r-- | api/direct_bt/ATTPDUTypes.hpp | 3 | ||||
-rw-r--r-- | api/direct_bt/DBTDevice.hpp | 3 | ||||
-rw-r--r-- | api/direct_bt/HCIHandler.hpp | 4 |
3 files changed, 1 insertions, 9 deletions
diff --git a/api/direct_bt/ATTPDUTypes.hpp b/api/direct_bt/ATTPDUTypes.hpp index c62a843a..ae58adb3 100644 --- a/api/direct_bt/ATTPDUTypes.hpp +++ b/api/direct_bt/ATTPDUTypes.hpp @@ -106,9 +106,6 @@ * > L2CAP should prioritize traffic over the HCI transport in devices that support HCI. * > Packets for Guaranteed channels should receive higher priority than packets for Best Effort channels. * - * *As we have experience slower GATT communication w/o HCI connection, - * Direct-BT enforces the HCI connection.* - * * - - - - - - - - - - - - - - - * * Module ATTPDUTypes: diff --git a/api/direct_bt/DBTDevice.hpp b/api/direct_bt/DBTDevice.hpp index ebe0cd6b..1ff1a2a4 100644 --- a/api/direct_bt/DBTDevice.hpp +++ b/api/direct_bt/DBTDevice.hpp @@ -329,8 +329,7 @@ namespace direct_bt { /** * Returns a newly established GATT connection or an already open GATT connection. * <p> - * The HCI connectLE(..) or connectBREDR(..) shall be performed first, - * to produce best performance. See {@link #connectDefault()}. + * The HCI connectLE(..) or connectBREDR(..) must be performed first, see {@link #connectDefault()}. * </p> * <p> * The returned GATTHandler is managed by this device instance diff --git a/api/direct_bt/HCIHandler.hpp b/api/direct_bt/HCIHandler.hpp index d00535c0..aa025e87 100644 --- a/api/direct_bt/HCIHandler.hpp +++ b/api/direct_bt/HCIHandler.hpp @@ -207,10 +207,6 @@ namespace direct_bt { * BT Core Spec v5.2: Vol 4, Part E HCI: 7.8.12 LE Create Connection command * </p> * <p> - * Even if not utilizing a HCI channel, it has been observed that maintaining such - * enhanced performance on subsequent communication, i.e. GATT over L2CAP. - * </p> - * <p> * Set window to the same value as the interval, enables continuous scanning. * </p> * |