Skip to content

Conversation

@mhaberler
Copy link
Contributor

Description

I am positive scanning with scanDuplicates = false is fundamentally broken - the dup filter in the BLE stack doesnt do the right thing for beacon type sensors

this is not a PR, just a proof of concept

  • use scanDuplicates = true
  • compare manufacturerdata and servicedata of an ad to the previous ad and only go ahead if changed

works on MacOS and Linux

tszheichoi and others added 4 commits July 5, 2025 10:43
- scan with duplicates permitted
- record last advertisement in a map
- compare current to last ad for identical servicedata and manufacturer data
- skip if equal

(code here does not skip them, just logs new vs duplicate ad)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants