mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
change(ble): Enable pdu type trig in duplicate in default mode as before
This commit is contained in:
parent
0b2fde8a17
commit
d64f902c95
@ -670,7 +670,7 @@ void ble_controller_scan_duplicate_config()
|
||||
uint32_t duplicate_mode = FILTER_DUPLICATE_DEFAULT;
|
||||
uint32_t cache_size = CONFIG_BT_LE_SCAN_DUPL_CACHE_SIZE;
|
||||
if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 0) {
|
||||
duplicate_mode = FILTER_DUPLICATE_ADDRESS;
|
||||
duplicate_mode = FILTER_DUPLICATE_ADDRESS | FILTER_DUPLICATE_PDUTYPE;
|
||||
} else if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 1) {
|
||||
duplicate_mode = FILTER_DUPLICATE_ADVDATA;
|
||||
} else if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 2) {
|
||||
|
@ -636,7 +636,7 @@ void ble_controller_scan_duplicate_config()
|
||||
uint32_t duplicate_mode = FILTER_DUPLICATE_DEFAULT;
|
||||
uint32_t cache_size = CONFIG_BT_LE_SCAN_DUPL_CACHE_SIZE;
|
||||
if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 0) {
|
||||
duplicate_mode = FILTER_DUPLICATE_ADDRESS;
|
||||
duplicate_mode = FILTER_DUPLICATE_ADDRESS | FILTER_DUPLICATE_PDUTYPE;
|
||||
} else if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 1) {
|
||||
duplicate_mode = FILTER_DUPLICATE_ADVDATA;
|
||||
} else if (CONFIG_BT_LE_SCAN_DUPL_TYPE == 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user