-
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
Fix joining fabric print in ChipDeviceController
#21297
Fix joining fabric print in ChipDeviceController
#21297
Conversation
…c ID by moving it to the right location
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
PR #21297: Size comparison from 40d5dab to d3dd931 Increases (10 builds for cyw30739, esp32, linux, psoc6, telink)
Decreases (4 builds for bl602, cyw30739, efr32, psoc6)
Full report (32 builds for bl602, cyw30739, efr32, esp32, linux, mbed, psoc6, telink)
|
PR #21297: Size comparison from 40d5dab to d4ea0f4 Increases (4 builds for cyw30739, esp32, linux, psoc6)
Decreases (6 builds for bl602, efr32, linux, psoc6, telink)
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, psoc6, telink)
|
By the new criteria for inclusion to 1.0, this PR will not be justifiable. Closing it out and will re-open once we branch for 1.0. |
PR #21297: Size comparison from 51a5082 to f9a4a1d Increases (11 builds for bl602, bl702, esp32, linux, psoc6, telink)
Decreases (7 builds for cyw30739, efr32, esp32, psoc6)
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
PR #21297: Size comparison from 5030df4 to bfe8d73 Increases (11 builds for bl602, bl702, linux, psoc6, telink)
Decreases (2 builds for esp32, psoc6)
Full report (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
* Fix joining fabric print to actually emit a sensible compressed fabric ID by moving it to the right location * Review fixes * Added FabricID to the print Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
* Fix joining fabric print to actually emit a sensible compressed fabric ID by moving it to the right location * Review fixes * Added FabricID to the print Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
Problem
The print
Joining the fabric at index 1. Compressed fabric ID is: 0x00000000
would always emit a value of 0 for the compressed fabric ID. This is becauseGetCompressedFabricId
eventually callsGetFabricInfo
, which checks ifmState
isState::Initialized
to return a valid value.The print is being called from within
InitControllerNOCChain
, which is well before the state gets set to initialized.Fix
Just move the print.