Skip to content

Speed up connectToAdvertisingDevice#874

Open
maBarabas wants to merge 2 commits into
PhilipsHue:masterfrom
maBarabas:fast-connect
Open

Speed up connectToAdvertisingDevice#874
maBarabas wants to merge 2 commits into
PhilipsHue:masterfrom
maBarabas:fast-connect

Conversation

@maBarabas

Copy link
Copy Markdown

Fixes #873 for the case where there is no previous scan running.

It is a 3x performance improvement in my project where the prescan takes 5 seconds as suggested by the README, but the device is discovered in less than a second. The time taken to connect to the device changes from 6 seconds to 2 seconds.

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.

Performance issue with connectToAdvertisingDevice

1 participant