You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many cases, the selection of network credentials needs to be done asynchronously during the PASE session. For example, after the commissioner determines the network technology of the target (WiFi or Thread) and after a network scan has been done. Often this selection will need user or cloud input, so it needs to be asynchronous.
A workaround was quickly added in PR add ScanNetworks step to CHIPDeviceController #20766 which includes a pause/resume feature of the AutoCommissioner but a cleaner fix would be to introduce steps in CHIPDeviceController for requesting network credentials. This would allow commissioning apps to avoid needing to create their own AutoCommissioner and pass it in to CHIPDeviceController.
Proposed Solution
Add optional steps to CHIPDeviceController for obtaining network credentials from its caller.
The text was updated successfully, but these errors were encountered:
And to be clear, the issue is not "creating your own AutoCommissioner"; the issue is the extra pause API and whatnot, which introduces yet another way of doing async operations via the delegate when we have a perfectly good way already: async call into the delegate.
Problem
Proposed Solution
The text was updated successfully, but these errors were encountered: