-
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
kSecurePairing not reported in OnCommissioningStatusUpdate() #19382
Comments
Also at the begining of the commissioning, if the device is not discoverable by BLE/WiFi/IP But in case of success, it is not called at the same point (before everyhing else) with Some examplesExample of a success commissioning:
Example when the device is turned off during the commissioning:
Example when the device is turned off before the commissioning
So what we can see:
|
There are two steps here: "pairing" and "commissioning"... The former means "establish a PASE session" and the latter is "everything after that". But more fundamentally, there are APIs, people were trying to not break them, we added more notifications, and the result is a mess that is known to not be very good. See existing issues on this.
See above.
Probably not but see above about people adding things here without it really making sense necessarily... |
I think, having some mechanisms to be notified about commissioning steps is a good idea for those (like us) building controller apps. It can be used to display the commissioning progress to the user (with progress circle, checks ..) But currently we can't only use I'm going to close this issue as there are issues talking about it |
Problem
On TE9 commit, the class
DevicePairingDelegate
define virtual methods that we can implement to notify the application about problems and steps during the commissioning.The function
OnCommissioningStatusUpdate()
is called when each commissioning step defined inchip::Controller::CommissioningStage
are finished except one:kSecurePairing
The step
kSecurePairing
have it's own callbackOnStatusUpdate()
So my issue is just to know:
kSecurePairing
is not reported withOnCommissioningStatusUpdate()
?OnStatusUpdate()
and usingOnCommissioningStatusUpdate()
forkSecurePairing
?The text was updated successfully, but these errors were encountered: