-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix onFailureCb in MTRBaseDevice's subscribeToAttributePaths #26076
Comments
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this issue
Apr 19, 2023
1) Improve documentation for subcribeTo* functions on MTRBaseDevice. 2) Fix the implementation to not call the subscriptionEstablished handler when the subscription actually errors out before the subscribe is complete. 3) Fix the error handling in the implementation to report path-specific errors using the same mechanism as MTRDevice. Fixes project-chip#26076
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this issue
Apr 19, 2023
1) Improve documentation for subcribeTo* functions on MTRBaseDevice. 2) Fix the implementation to not call the subscriptionEstablished handler when the subscription actually errors out before the subscribe is complete. 3) Fix the error handling in the implementation to report path-specific errors using the same mechanism as MTRDevice. Fixes project-chip#26076
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this issue
Apr 19, 2023
1) Improve documentation for subcribeTo* functions on MTRBaseDevice. 2) Fix the implementation to not call the subscriptionEstablished handler when the subscription actually errors out before the subscribe is complete. 3) Fix the error handling in the implementation to report path-specific errors using the same mechanism as MTRDevice. Fixes project-chip#26076
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this issue
Apr 20, 2023
1) Improve documentation for subcribeTo* functions on MTRBaseDevice. 2) Fix the implementation to not call the subscriptionEstablished handler when the subscription actually errors out before the subscribe is complete. 3) Fix the error handling in the implementation to report path-specific errors using the same mechanism as MTRDevice. Fixes project-chip#26076
bzbarsky-apple
added a commit
that referenced
this issue
Apr 20, 2023
…#26168) * Fix handling of path-specific errors in MTRBaseDevice subscribe code. 1) Improve documentation for subcribeTo* functions on MTRBaseDevice. 2) Fix the implementation to not call the subscriptionEstablished handler when the subscription actually errors out before the subscribe is complete. 3) Fix the error handling in the implementation to report path-specific errors using the same mechanism as MTRDevice. Fixes #26076 * Address review comment.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See TODO comment being added in #25840: paths-specific failures are not handled correctly
The text was updated successfully, but these errors were encountered: