-
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
Make PairingDelegate callbacks clearer #15612
Comments
related - #15409. I think that issue is s result of different assumptions about what the pairing callback means. |
Currently If I do the commissioning of a thread device from our application, I have to check the Matter logs to know what happens. I think it should be good to implement more states in the For example:
Or better: add a status for each commissioning steps in
Edit 10/06/2022: My previous remarks are not up-to-date now as some changes has been made. Now we have a callback to be notified about commissioning steps changes ( But I have new remarks:
As discussed here this is probably due to the fact that Propositions:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Just to add more context to this issue so that when someone is working on a solution they get a slightly bigger picture of that was spotted while working on #24919. Currently when |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Problem
PairingDelegate is a mishmash of "notify about PASE established", "notify about CASE established" (using the same callback!), etc.
When you get OnPairingComplete you have no idea what it actually means, especially if you are trying to commission one device while establishing CASE to another unrelated device.
Proposed Solution
Come up with a clear definition of what the callbacks on this interface mean (changing the interface as needed in the process), implement them.
The text was updated successfully, but these errors were encountered: