Skip to content

Conversation

@TomTorger
Copy link
Contributor

@TomTorger TomTorger commented Oct 9, 2021

The while loop will continue to create the Peripheral object, even if successful on the first go. On a nuc, this causes exceptions and ultimately a failure to connect.

@TomTorger TomTorger changed the title added escape clause to while loop to eliminate retries after successf… added escape clause to while loop to eliminate retries after successfull connection: Closes issue 50 in my case Oct 9, 2021
@TomTorger TomTorger changed the title added escape clause to while loop to eliminate retries after successfull connection: Closes issue 50 in my case added escape clause to while loop to eliminate retries after successfull connection: Closes #50 in my case Oct 9, 2021
@TomTorger TomTorger changed the title added escape clause to while loop to eliminate retries after successfull connection: Closes #50 in my case added escape clause to while loop to eliminate retries after successfull connection: Closes 50 in my case Oct 9, 2021
@TomTorger TomTorger changed the title added escape clause to while loop to eliminate retries after successfull connection: Closes 50 in my case added escape clause to while loop to eliminate retries after successfull connection: Closes #50 in my case Oct 9, 2021
@TomTorger
Copy link
Contributor Author

Tried to link it to issue #50 , seems likely they are suffering from the same behavior.

@sverrham
Copy link
Collaborator

Nice catch, looks right to me, I guess I can merge it but best if @MartyTremblay would merge it and do a release if he is happy.

@MartyTremblay
Copy link
Member

I've been chronically neglectful this project so my apologies for not being more responsive.

Merging now,

@sverrham, feel free to merge going forward. This is as much yours than mine ;)

@MartyTremblay MartyTremblay merged commit a091fc1 into custom-components:master Nov 16, 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.

3 participants