Comments (5)
We should consider triggering resubscribe on both CASE establishment (using the new session, not creating a new one), and on any IM message received, not just ReportData.
from connectedhomeip.
In particular, we only retrigger subscription on receiving a ReportData, not on CASE establishment from the other side or the other side sending any other IM message.
from connectedhomeip.
I'm taking a look but my first thought is that currently the logic for re-subscription is only triggered when the IME gets called on OnUnsolicitedReportData. I could look into the changes needed to have CASE establishment plumb through to trigger re-subscribe and we can discuss if that's what's needed here.
@ndyck14 Do you happen to be able to readily reproduce this? If so could you upload logs from both devices?
I'm wondering if there's something else wrong / a bug that's causing this, that should be fixed first.
from connectedhomeip.
Power cycle HPM (unclear if strict precondition)
I did this with the intent of clearing CASE resume contexts (guesswork) so as to test worst case. Basically my brief mental model of resume sub is its a best effort by device. Otherwise CASE is re-established because we're looking for OTA i think.
I can try to reproduce, but is there evidence to suggest that this onus should not be on the subscriber to ensure its done as swiftly as possible? I guess in case the sub is already active, we don't want to double up? Is doubling up even possible?
from connectedhomeip.
note that my test steps were in done directed after already observing this previously without logs installed, so I've seen this happen multiple times. I've also been tracking CASEs (pun intended) for a year or more where things take too long to reconnect (eg #25091, which Boris reported on my behalf )
from connectedhomeip.
Related Issues (20)
- [1.3] Energy EVSE Cluster XML has to be updated as per spec changes
- [CERT-TEST-FAILURE] [TC-IDM-1.3] - Test failed HOT 4
- Does chip-tool provide a cluster or method to "getCurrentFabricIndex"? HOT 6
- [TC-CNET-4.4] Python script is not matching with test plan HOT 2
- [Build] Fails to build CHEF rootnode_fan_7N2TobIlOX device
- [Bug] Failed to build SDK docker image HOT 3
- [BUG] Silabs example code for 1.2 does not report correct HardwareAddress in diagnostics cluster
- [BUG] IP Addresses are missing from Diagnostics Cluster
- [DoorLock] door lock uses invalid value 0 for DaysMaskMap values when calling emberAfPluginDoorLockSetSchedule
- An active ExchangeContext needs to take appropriate action when notified of connection closure
- [CERT-TEST-FAILURE] [TC-IDM-1.3] - Test failed
- [Documentation] NetworkCommissioning cluster scanNetwork SSID min length different from 1.2 Specs HOT 2
- [BUG] Commissioning Failure on Google Ecosystem with WPA3 network
- [CERT-TEST-FAILURE] chip-bridge-app in Matter 1.2 TH fails wildcard subscriptions
- [EFR32] Explain why adv_min/adv_max durations have to be different HOT 2
- [TCR] Move to updated guidance in spec for extended advertisement
- [1.2] threadnetworkdiagnostics active-network-faults-list not according to spec HOT 2
- Include the Max TCP Payload information in the CASE session parameters during Session setup
- [Bouffalolab] bl602 conneted to router but ios home app unable to connect to it`s network
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectedhomeip.