connectedhomeip icon indicating copy to clipboard operation
connectedhomeip copied to clipboard

[Feature] Use subscription id to restore a lost subscription

Open nykh2010 opened this issue 2 years ago • 1 comments

Feature description

when use wildcard path to subscribe, the end device would report attributes/events which be subscribed. if enable the auto-resubscribe, and in a week net environment,the subscription maybe 
 easier to lost sync and then trigger the end device report data. this would aggravate network congestion.
so it canbe use subscription id to restore the last subscription without report data?

Platform

all

Platform Version(s)

No response

Anything else?

No response

nykh2010 avatar Oct 26 '22 07:10 nykh2010

@nykh2010 If you restore the subscription but don't get reports, how do you know what the values are?

And if you're using a ClusterStateCache to store the values, then auto-resubscribe will already send along the data-versions to avoid re-sending of data that's already available....

bzbarsky-apple avatar Oct 26 '22 18:10 bzbarsky-apple