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

Update to Matter SDK wheels 2024.7.1 #809

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Conversation

agners
Copy link
Collaborator

@agners agners commented Jul 18, 2024

This fixes Subscription issues. Mainly it avoids being stuck in subscription setup if there is a communication issue with the device.

Fixes: #807

This fixes Subscription issues. Mainly it avoids being stuck in
subscription setup if there is a communication issue with the
device.

Fixes: #807
@agners agners added the maintenance Code (quality) improvement or small enhancement which not a new feature label Jul 18, 2024
@frenck frenck merged commit a8ada3d into main Jul 18, 2024
4 checks passed
@frenck frenck deleted the bump-sdk-wheels-to-2024.7.1 branch July 18, 2024 08:58
agners added a commit that referenced this pull request Sep 3, 2024
With the update of the Matter SDK wheels to 2024.7.1 (#809) the SDK
no longer auto-resubscribes when the read of the subscription fails
(see project-chip/connectedhomeip#34370).
The Server had a comment that it relies on mDNS rediscovery to
re-establish the subscription. But this is not always the case. This
change adds a retry mechanism to the subscription setup for a fixed
period of time after seeing it via mDNS.

Additionally, it avoids recreating the subscription if the liveness
timeout did not occur yet. This puts more trust into the SDK handling
the subscriptions.
agners added a commit that referenced this pull request Sep 3, 2024
With the update of the Matter SDK wheels to 2024.7.1 (#809) the SDK
no longer auto-resubscribes when the read of the subscription fails
(see project-chip/connectedhomeip#34370).
The Server had a comment that it relies on mDNS rediscovery to
re-establish the subscription. But this is not always the case. This
change adds a retry mechanism to the subscription setup for a fixed
period of time after seeing it via mDNS.

Additionally, it avoids recreating the subscription if the liveness
timeout did not occur yet. This puts more trust into the SDK handling
the subscriptions.
agners added a commit that referenced this pull request Sep 3, 2024
With the update of the Matter SDK wheels to 2024.7.1 (#809) the SDK
no longer auto-resubscribes when the read of the subscription fails
(see project-chip/connectedhomeip#34370).
The Server had a comment that it relies on mDNS rediscovery to
re-establish the subscription. But this is not always the case. This
change adds a retry mechanism to the subscription setup for a fixed
period of time after seeing it via mDNS.

Additionally, it avoids recreating the subscription if the liveness
timeout did not occur yet. This puts more trust into the SDK handling
the subscriptions.
agners added a commit that referenced this pull request Sep 12, 2024
Since #809 initial subscriptions error out if there is a communication
issue. This makes the subscription callback return alway at some point,
even if there are communication issues.

This makes the setup node timer unnecessary. So drop this code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Code (quality) improvement or small enhancement which not a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ATTENTION: Node x (yz) did not complete setup in 30 minutes. - Nodes stuck in setup
2 participants