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
#22104 changed things so we do only on-network discovery if we don't have network credentials at commissioning start.
But the infrastructure @chrisdecenzo put in place allows providing the network credentials later, async, after performing a scan for available networks, etc. It's no longer possible to provide those credentials after start of commissioning when using the "commission by pairing code" APIs (as opposed to the "create PASE session by pairing code, then commission by device id" APIs).
I suspect this is related to the changes in #20766 ?
Can't we add a new field to CommissioningParameters such that we can rely on that to force the network scan if no credentials are provided ?
And in chip-tool an optional param can be added to enable/disable this flag...
I suspect this is related to the changes in #20766 ?
Yes.
Can't we add a new field to CommissioningParameters such that we can rely on that to force the network scan
Yes, we can. That would also address this issue.
The problem is not forcing a network scan, by the way. That will happen if there are no credentials and we discovered over BLE. The problem is not skipping BLE discovery.
Problem
#22104 changed things so we do only on-network discovery if we don't have network credentials at commissioning start.
But the infrastructure @chrisdecenzo put in place allows providing the network credentials later, async, after performing a scan for available networks, etc. It's no longer possible to provide those credentials after start of commissioning when using the "commission by pairing code" APIs (as opposed to the "create PASE session by pairing code, then commission by device id" APIs).
Proposed Solution
Revert #22104.
@vivien-apple @woody-apple
The text was updated successfully, but these errors were encountered: