From 91bd72587a9b4c428e89eb158ee3f740dc8edcaa Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 9 Feb 2024 10:52:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=93=9D=E7=89=99=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E6=89=AB=E6=8F=8F=EF=BC=8C=E5=90=8D=E5=AD=97=E7=B2=BE?= =?UTF-8?q?=E7=A1=AE=E5=8C=B9=E9=85=8D=E6=94=B9=E4=B8=BA=E5=90=8D=E5=AD=97?= =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E5=8C=B9=E9=85=8D?= 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 6d9f8c1..ac66cb9 100644 --- a/components/ble/nrf_ble_scan/nrf_ble_scan.c +++ b/components/ble/nrf_ble_scan/nrf_ble_scan.c @@ -241,7 +241,7 @@ static bool adv_name_compare(ble_gap_evt_adv_report_t const * p_adv_report, // Compare the name found with the name filter. for (index = 0; index < counter; index++) { - if (ble_advdata_name_find(p_adv_report->data.p_data, + if (ble_advdata_name_fuzzy_find(p_adv_report->data.p_data, data_len, p_name_filter->target_name[index])) {