-
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
[Telink] Fix restart BLE adv after basic commissioning fail #28808
[Telink] Fix restart BLE adv after basic commissioning fail #28808
Conversation
PR #28808: Size comparison from 2b805b2 to bbd2a8d Increases (3 builds for bl602, bl702, bl702l)
Full report (9 builds for bl602, bl702, bl702l, cc32xx, mbed, qpg)
|
PR #28808: Size comparison from e289bd1 to 21178f1 Increases (20 builds for bl702, psoc6, telink)
Decreases (5 builds for bl602, cyw30739, efr32, nrfconnect, psoc6)
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
21178f1
to
6e19a4f
Compare
PR #28808: Size comparison from 5313f74 to 6e19a4f Increases (18 builds for telink)
Decreases (1 build for efr32)
Full report (62 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
@bzbarsky-apple Could you perform PR review? |
@s07641069 Boris is in vacation until Aug 27. Could get another reviewer (ask on slack) or if nobody else availabe I can fast track this as platform-specific fix |
No problem let's merge. |
bool isBasicCommissioningMode = chip::Server::GetInstance().GetCommissioningWindowManager().GetCommissioningMode() == | ||
Dnssd::CommissioningMode::kEnabledBasic; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does basic vs enhanced matter here?
If commissioner A opens a basic commissioning window, commissioner B is trying to commission, and commissioner A removes itself during that time... why would we want to reset mid-commissioning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bzbarsky-apple
Changes are no longer relevant.
Please see:
#28947
…chip#28808) * [Telink] Fix restart BLE adv after basic commissioning fail * Restyled by whitespace * Restyled by clang-format --------- Co-authored-by: Restyled.io <commits@restyled.io>
…chip#28808) * [Telink] Fix restart BLE adv after basic commissioning fail * Restyled by whitespace * Restyled by clang-format --------- Co-authored-by: Restyled.io <commits@restyled.io>
To restart the BLE advertising after the basic commissioning failed to need to restore the default values to the setting partition after erasing.
For this need to reboot the system only after a problem during the basic commissioning mode.
The setting partition will be set during the system initialization.