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

feat: allow and handle response timeouts for GET-type CC commands #1505

Merged
merged 36 commits into from
Jan 27, 2021

Conversation

AlCalzone
Copy link
Member

@AlCalzone AlCalzone commented Jan 26, 2021

This PR paves the way for a more permissive handling of missing node responses. Based on the discussion in #1415, we have to expect a timeout for every GET-type CC command and we have to handle it in a way that a missing response does not break everything (e.g. abort and restart interviews for uncritical queries).

As a side-effect the code that previously used ignoreTimeout is more readable now.

closes: #1305
fixes: #1369

@zwave-js-assistant
Copy link

🚧 It seems like this PR has lint errors 🚧
I should be able to fix them for you. If you want me to, just comment
@zwave-js-bot fix lint

1 similar comment
@zwave-js-assistant
Copy link

🚧 It seems like this PR has lint errors 🚧
I should be able to fix them for you. If you want me to, just comment
@zwave-js-bot fix lint

@AlCalzone AlCalzone marked this pull request as ready for review January 27, 2021 10:21
@AlCalzone
Copy link
Member Author

@zwave-js-bot pack this

@zwave-js-bot
Copy link
Collaborator

👋 Hey @AlCalzone!
I've started to deploy this PR as a development build.
You can monitor the progress here.

@zwave-js-bot
Copy link
Collaborator

🎉 The packages have been published.
You can now install the test version with npm install [email protected].

@AlCalzone AlCalzone changed the title feat: for every GET-type CC command, a timeout has to be expected feat: allow and handle response timeouts for GET-type CC commands Jan 27, 2021
@AlCalzone AlCalzone merged commit c2429bf into master Jan 27, 2021
@AlCalzone AlCalzone deleted the cc-no-response branch January 27, 2021 22:55
blhoward2 pushed a commit to blhoward2/node-zwave-js that referenced this pull request Feb 12, 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.

[bug] Aeotec Smart Switch 6 - Fails to complete Interview
2 participants