From bfa0eb96e03057a12232392066bb4e051277788a Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sat, 31 Aug 2024 23:03:14 +0800 Subject: [PATCH] =?UTF-8?q?scan=E6=96=B9=E6=B3=95=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=9C=A8=E4=B8=8D=E6=B7=BB=E5=8A=A0=E4=BB=BB=E4=BD=95=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E5=99=A8=E6=97=B6=EF=BC=8C=E8=BF=94=E5=9B=9E=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E5=88=B0=E7=9A=84=E6=89=80=E6=9C=89=E8=93=9D=E7=89=99?= =?UTF-8?q?=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ble/nrf_ble_scan/nrf_ble_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ble/nrf_ble_scan/nrf_ble_scan.c b/components/ble/nrf_ble_scan/nrf_ble_scan.c index ac66cb9..dcc4fe9 100644 --- a/components/ble/nrf_ble_scan/nrf_ble_scan.c +++ b/components/ble/nrf_ble_scan/nrf_ble_scan.c @@ -916,7 +916,7 @@ static void nrf_ble_scan_on_adv_report(nrf_ble_scan_t const * const p_ #endif scan_evt.params.filter_match.p_adv_report = p_adv_report; - + if(filter_cnt==0)is_filter_matched= true; // In the multifilter mode, the number of the active filters must equal the number of the filters matched to generate the notification. if (all_filter_mode && (filter_match_cnt == filter_cnt)) {