Skip to content
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

Do not reset state if query image is not available (either not availa… #25068

Merged

Conversation

nivi-apple
Copy link
Contributor

…ble, or protocol not supported or if delegate returns busy)

Fixes #25067

@nivi-apple nivi-apple force-pushed the ota_fix_test_remove_reset_state branch 4 times, most recently from 7aebeb8 to e489967 Compare February 15, 2023 00:24
@github-actions
Copy link

PR #25068: Size comparison from a6d2883 to 8a67319

Full report (1 build for cc32xx)
platform target config section a6d2883 8a67319 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640577 640577 0 0.0
(read/write) 204100 204100 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197504 197504 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 930806 930806 0 0.0
.debug_aranges 87360 87360 0 0.0
.debug_frame 299864 299864 0 0.0
.debug_info 20307078 20307078 0 0.0
.debug_line 2654650 2654650 0 0.0
.debug_loc 2787110 2787110 0 0.0
.debug_ranges 280904 280904 0 0.0
.debug_str 3001983 3001983 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105665 105665 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375952 375952 0 0.0
.symtab 255888 255888 0 0.0
.text 532792 532792 0 0.0

nivi-apple and others added 3 commits February 14, 2023 18:31
…ble, or protocol not supported or if delegate returns busy)
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
@nivi-apple nivi-apple force-pushed the ota_fix_test_remove_reset_state branch from 8a67319 to ecf57b2 Compare February 15, 2023 02:32
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
@nivi-apple nivi-apple force-pushed the ota_fix_test_remove_reset_state branch 5 times, most recently from 3f71eb8 to 79bf22f Compare February 15, 2023 03:10
@nivi-apple nivi-apple force-pushed the ota_fix_test_remove_reset_state branch from 79bf22f to 5241912 Compare February 15, 2023 03:14
@github-actions
Copy link

PR #25068: Size comparison from a6d2883 to 5241912

Decreases (1 build for cc32xx)
platform target config section a6d2883 5241912 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20307078 20307077 -1 -0.0
Full report (1 build for cc32xx)
platform target config section a6d2883 5241912 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640577 640577 0 0.0
(read/write) 204100 204100 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197504 197504 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 930806 930806 0 0.0
.debug_aranges 87360 87360 0 0.0
.debug_frame 299864 299864 0 0.0
.debug_info 20307078 20307077 -1 -0.0
.debug_line 2654650 2654650 0 0.0
.debug_loc 2787110 2787110 0 0.0
.debug_ranges 280904 280904 0 0.0
.debug_str 3001983 3001983 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105665 105665 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375952 375952 0 0.0
.symtab 255888 255888 0 0.0
.text 532792 532792 0 0.0

Co-authored-by: Carol Yang <clyang@apple.com>
@bzbarsky-apple bzbarsky-apple merged commit 5401763 into project-chip:master Feb 16, 2023
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
project-chip#25068)

* Do not reset state if query image is not available (either not available, or protocol not supported or if delegate returns busy)

* Update src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

* Addressed review comments

* Update src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

* fix format specifier for nodeid and fabric index in the logs

* Update src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm

Co-authored-by: Carol Yang <clyang@apple.com>

* Fix style and bump up the default retry delay we communicate.

---------

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Carol Yang <clyang@apple.com>
@nivi-apple nivi-apple deleted the ota_fix_test_remove_reset_state branch March 5, 2024 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not reset OTA provider state if query image returns not available
4 participants