We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c7e3b commit 883013dCopy full SHA for 883013d
src/NimBLEDevice.cpp
@@ -915,9 +915,11 @@ bool NimBLEDevice::init(const std::string& deviceName) {
915
# endif
916
917
# if CONFIG_BTDM_BLE_SCAN_DUPL
918
- bt_cfg.normal_adv_size = m_scanDuplicateSize;
919
- bt_cfg.scan_duplicate_type = m_scanFilterMode;
+ bt_cfg.normal_adv_size = m_scanDuplicateSize;
+ bt_cfg.scan_duplicate_type = m_scanFilterMode;
920
+# if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
921
bt_cfg.dup_list_refresh_period = m_scanDuplicateResetTime;
922
+# endif
923
# elif CONFIG_BT_LE_SCAN_DUPL
924
bt_cfg.ble_ll_rsp_dup_list_count = m_scanDuplicateSize;
925
bt_cfg.ble_ll_adv_dup_list_count = m_scanDuplicateSize;
0 commit comments