Hi bluebt
Could you explain what happens after you call gap_set_scan_duplicate_filter(1).
it depends on the Bluetooth Controller how well it filters duplicates, e.g. or how many items it can cache.
I would recommend to keep a list or bd_addr in your application, and only report a new device if it's not already in the list.
Best
Matthias
> On 12 Apr 2023, at 13:59, bluebt <
qq1438...@gmail.com> wrote:
>
> When scanning, how to delete duplicate BLE device display, I found a function gap_set_scan_duplicate_filter(1); found invalid after calling.
>
> <1.png>
>
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
btstack-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/btstack-dev/375b75b2-0eae-462b-b86a-521598bef902n%40googlegroups.com.
> <1.png>