mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(ble): add config to enable sid filter feat
(cherry picked from commit 3bf230435c)
Co-authored-by: cjin <jinchen@espressif.com>
This commit is contained in:
committed by
cjin
co-authored by
cjin
parent
9f210256ed
commit
66970ed0d1
@@ -1621,6 +1621,24 @@ menu "Vendor / Optimization"
|
|||||||
depends on BT_NIMBLE_ENABLED
|
depends on BT_NIMBLE_ENABLED
|
||||||
help
|
help
|
||||||
This enable BLE high duty advertising interval feature
|
This enable BLE high duty advertising interval feature
|
||||||
|
|
||||||
|
config BT_NIMBLE_ADV_SEND_CONSTANT_DID
|
||||||
|
bool "Enable BLE Ext Adv to Send with Specific DID"
|
||||||
|
depends on SOC_ESP_NIMBLE_CONTROLLER && BT_NIMBLE_50_FEATURE_SUPPORT && !(IDF_TARGET_ESP32C2)
|
||||||
|
select BT_NIMBLE_VS_SUPPORT
|
||||||
|
help
|
||||||
|
This enable vendor-specific APIs to send specific DID for different advertising data in extended
|
||||||
|
advertising.
|
||||||
|
|
||||||
|
config BT_NIMBLE_SCAN_ALLOW_ENH_ADI_FILTER
|
||||||
|
bool "Enable BLE Ext Scan to Receive Packet with Specific ADI"
|
||||||
|
depends on SOC_ESP_NIMBLE_CONTROLLER && BT_NIMBLE_50_FEATURE_SUPPORT && !(IDF_TARGET_ESP32C2)
|
||||||
|
select BT_NIMBLE_VS_SUPPORT
|
||||||
|
help
|
||||||
|
This enables vendor-specific APIs to only receive specific groups of ADIs, and implements DIDs
|
||||||
|
duplicate filtering for extended scanning. Enabling this can reduce the unnecessary reception of
|
||||||
|
secondary channel PDUs carrying non-targeted ADIs.
|
||||||
|
|
||||||
endmenu #Vendor
|
endmenu #Vendor
|
||||||
|
|
||||||
menu "Helper Utils"
|
menu "Helper Utils"
|
||||||
|
|||||||
Submodule components/bt/host/nimble/nimble updated: d9a6fa8630...886039b39b
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@@ -2356,4 +2356,20 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MYNEWT_VAL_BLE_ADV_SEND_CONSTANT_DID
|
||||||
|
#ifdef CONFIG_BT_NIMBLE_ADV_SEND_CONSTANT_DID
|
||||||
|
#define MYNEWT_VAL_BLE_ADV_SEND_CONSTANT_DID (CONFIG_BT_NIMBLE_ADV_SEND_CONSTANT_DID)
|
||||||
|
#else
|
||||||
|
#define MYNEWT_VAL_BLE_ADV_SEND_CONSTANT_DID (0)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef MYNEWT_VAL_BLE_SCAN_ALLOW_ENH_ADI_FILTER
|
||||||
|
#ifdef CONFIG_BT_NIMBLE_SCAN_ALLOW_ENH_ADI_FILTER
|
||||||
|
#define MYNEWT_VAL_BLE_SCAN_ALLOW_ENH_ADI_FILTER (CONFIG_BT_NIMBLE_SCAN_ALLOW_ENH_ADI_FILTER)
|
||||||
|
#else
|
||||||
|
#define MYNEWT_VAL_BLE_SCAN_ALLOW_ENH_ADI_FILTER (0)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user