-
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
[BUG] Multiple CASE establishment #28337
Comments
That sounds like an Android-specific bug. Certainly on iOS multiple parallel resolves work just fine. |
So it's definitely not a dnssd limitation? |
Not a general one, no. Specific implementations may have problems, of course. |
Just leaving a note here, maybe it will help someone: @bzbarsky-apple
|
@DanijelBojcic On a constrained device, you can't queue up things: if there is no memory, then there is no memory.
I would have expected Android to set |
#28451 may fix your issue @DanijelBojcic |
@DanijelBojcic I assume this issue is resolved, if this is still outstanding, please kindly reopen it, thanks |
Reproduction steps
We are using Matter for offline communication between our hardware and app. The hardware is running as a matter bridge - I'll call it Controller.
We have achieved to skip the commissioning flow by preloading RCAC,NOC,IPK,CATS,etc. - This way the app and the Controller only need to initiate a CASE session.
When the app renders a card on the UI it subscribes to its Controller.
The problem occurs when the app renders multiple cards that are on multiple Controllers. Matter performs multiple
OperationalSessionSetup::LookupPeerAddress
, which results in only the first one to succeed, every other session will timeout. I have created an interval on the Java side, which recalls the subscribe on every errored node every 15 secs. In every cycle only one DNSSD lookup will succeed. One-by-one it will subscribe to every Controller, but thats not acceptableI tried to workaround the issue by establishing a CASE with an IP address, because in most cases the app already knows the Controllers IP. In this method the sigma1 and the sigma2 is being sent and received, but the sigma3 is only sent by the app, but it times out. ( Sometimes it worked though like a charm )
I don't know if its a bug or it is supposed to be working like this, but it would be nice if the core would implement a queue or something like that.
Bug prevalence
every time
GitHub hash of the SDK that was being used
4088a77
Platform
android
Platform Version(s)
1.0.0.2
Anything else?
No response
The text was updated successfully, but these errors were encountered: