Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameter to control BlueZ data duplication while scanning #82

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sebastianhaas
Copy link

@sebastianhaas sebastianhaas commented Feb 28, 2025

This pull request adds the option to control BlueZ's data duplication according to https://github.com/bluez/bluez/blob/4465c577778d812702d752dfd2812e25a2f69b31/doc/org.bluez.Adapter.rst?plain=1#L128

While de-duplication seems to be off on a few distributions, it is on on others, essentially making continous monitoring of advertised data impossible. Also, since the offizial BlueZ documentation regarded true to be the default for duplicate data, I set this option to true as default for node-ble as well in order to preserve what I believe was the intended default operation until this point.

Related to this, documentation on DuplicateData was outdated and has now been changed: bluez/bluez#1113

I also updated the API documentation and TypeScript typings accordingly.

@sebastianhaas
Copy link
Author

Hi @chrvadala,

I just wanted to follow up on this pull request, which I submitted a while ago. Whenever you have a moment, I'd love to get your thoughts on it. Let me know if there's anything I can adjust or improve to help move it forward.

Thanks in advance for your time and consideration! Looking forward to your feedback. 😊

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.

1 participant