Repository navigation
[SL-UP] Implement provisioning shell command - #1248
Michael Duggan (miduggan24) wants to merge 2 commits into
Conversation
|
bugbot run |
PR SummaryMedium Risk Overview The new GN build wiring adds a Reviewed by Cursor Bugbot for commit 6e34c68. Configure here. |
…s in shell target)
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 6e34c68. Configure here.
| // Press both buttons to request provisioning | ||
| if (GetPlatform().GetButtonState(APP_ACTION_BUTTON)) | ||
| // Press both buttons, or the provision shell command, to request provisioning | ||
| if (sProvisionWithFactoryReset || GetPlatform().GetButtonState(APP_ACTION_BUTTON)) |
There was a problem hiding this comment.
Are you sure you need sProvisionWithFactoryReset? Looks like the lambda can capture the value of requestProvisioning for the same effect.
|
closing as provisioning will be component enabled which would work for simulated device: https://silabsiot.slack.com/archives/C08BYL4JACS/p1787323802016279 |
Summary
Renode does not simulate J-Link, so we cannot provision over J-Link RTT channel and must rely on BLE provisioning channel.
For BLE provisioning channel, have to enable provisioning mode but none of the currently supported ways of enabling would work on a simulated device:
This PR adds a provisioning shell command that allows users to trigger factory reset with provisioning enabled in the device console
Related issues
NOJIRA
Testing
Test slc build in matter_extension PR: SiliconLabsSoftware/matter_extension#1138
Send
provisionshell command, verifyprovision mode ENABLEDGN testing locally is blocked due to corporate security blocking silabs setup script slt download, but the GN pattern follows other shell implementation like icd, ble, etc. PR CI will test app builds with changes