aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/HCIHandler.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-11-04 11:04:53 +0100
committerSven Gothel <[email protected]>2021-11-04 11:04:53 +0100
commit904e57b3f4f54ae114e02f69a001e29e922c2933 (patch)
tree5e7b182c1b09d09abc1d4463cdb52db018529fb2 /api/direct_bt/HCIHandler.hpp
parentba0da397ed22c0a8d5ff694f5042fabc4a33fb17 (diff)
HCIHandler/BTAdapter::startDiscovery(): le_scan_active default false -> true, we like EIR w/ device name
Diffstat (limited to 'api/direct_bt/HCIHandler.hpp')
-rw-r--r--api/direct_bt/HCIHandler.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/direct_bt/HCIHandler.hpp b/api/direct_bt/HCIHandler.hpp
index 2561dd0b..50043770 100644
--- a/api/direct_bt/HCIHandler.hpp
+++ b/api/direct_bt/HCIHandler.hpp
@@ -581,7 +581,7 @@ namespace direct_bt {
* </p>
*
* @param filter_dup true to filter out duplicate AD PDUs (default), otherwise all will be reported.
- * @param le_scan_active true enables delivery of active scanning PDUs, otherwise no scanning PDUs shall be sent (default)
+ * @param le_scan_active true enables delivery of active scanning PDUs like EIR w/ device name (default), otherwise no scanning PDUs shall be sent.
* @param own_mac_type HCILEOwnAddressType::PUBLIC (default) or random/private.
* @param le_scan_interval in units of 0.625ms, default value 24 for 15ms; Value range [4 .. 0x4000] for [2.5ms .. 10.24s]
* @param le_scan_window in units of 0.625ms, default value 24 for 15ms; Value range [4 .. 0x4000] for [2.5ms .. 10.24s]. Shall be <= le_scan_interval
@@ -589,7 +589,7 @@ namespace direct_bt {
* @see le_read_local_features()
*/
HCIStatusCode le_start_scan(const bool filter_dup=true,
- const bool le_scan_active=false,
+ const bool le_scan_active=true,
const HCILEOwnAddressType own_mac_type=HCILEOwnAddressType::PUBLIC,
const uint16_t le_scan_interval=24, const uint16_t le_scan_window=24,
const uint8_t filter_policy=0x00) noexcept;