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

On Linux, refresh serviceUuids for incoming advertisement #187

Merged
merged 1 commit into from
May 24, 2015

Conversation

BBarash
Copy link
Contributor

@BBarash BBarash commented May 23, 2015

If an advertising device changes its service UUIDs, the old and redundant ones remain cached - even if they are no longer being advertised. As far as I'm aware this isn't desired behaviour, but it was causing problems in a use case I was exploring. When the service data is cleaned up, the service UUIDs should be as well.

In reality, only doing this every second event (as the implementation currently does), might not be wholly efficient as it could miss an instantaneous new service UUID - but will pick it up soon after anyway.

sandeepmistry added a commit that referenced this pull request May 24, 2015
On Linux, refresh serviceUuids for incoming advertisement
@sandeepmistry sandeepmistry merged commit 64053ad into noble:master May 24, 2015
@sandeepmistry
Copy link
Collaborator

@BBarash thanks, good catch!

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