-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Determine if peer id or scoped node id is more appropriate for commissioning callbacks. #16994
Comments
Please see #16882 (comment) for discussion |
Another option is to pass the pointer to the DeviceCommissioner and the node id, if a given DeviceCommissioner is associated with a specific fabric. Which maybe it's not? |
The caller should already know about the device commisioner becuase it registered against it. So it already can get that information. |
If you feel strongly about using scoped node id, I am also fine with that. Caller can also get the compressed fabric id from from the scoped node id if there is one present and the scoped node id is happy to take an undefined fabric id |
|
Right, that's the thing. What is the data that really identifies "that thing we are commissioning" in a way that the consumer can make sense of it? The input the consumer provides to the PASE/commissioning process is:
So arguably the thing we should provide in the callback is just the "node id", since that's the only identifier for the "commissioning process" we really have around.... |
I guess the one exception is the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
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
Peer id isn't unique, but it's also deeply related to commissioning and my be all the caller has to work with.
Arguments for using peer id:
Arguments for using scoped node id:
Proposed Solution
If we're going to change this, we should change it quickly
The text was updated successfully, but these errors were encountered: