Skip to content

Handle entry properly for subclasses of Advertisement #125

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

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

dhalbert
Copy link
Collaborator

If an entry is supplied to an Advertisement constructor, its values would override any default values, so only use the values passed in via the entry.

@kschmelzer Could you test to see if this fixes your problem?

Fixes #124.

@dhalbert dhalbert requested a review from tannewt April 16, 2021 16:46
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This looks good.

@dhalbert dhalbert mentioned this pull request Apr 16, 2021
@dhalbert dhalbert merged commit df40a24 into adafruit:master Apr 19, 2021
@dhalbert dhalbert deleted the adv-entry-handling branch April 19, 2021 15:31
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Apr 20, 2021
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.

Advertising scan fails
2 participants