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

Respect updated DNS SD broadcast names in TV app #25355

Merged
merged 11 commits into from
Mar 8, 2023

Conversation

cliffamzn
Copy link
Contributor

@cliffamzn cliffamzn commented Feb 27, 2023

When a device is advertising over dns-sd and the TX bits change (device name) a message is sent out to indicate that the old advertisement should be expired and the new one should be used.

In the current implementation of the casting app, we stop listening to updates after the discoveryDurationSeconds timeout. This causes us to miss messages and Android seems to fall back to the cached value of the DNS advertisement.

We need to change the usage pattern here so that clients stop the discovery manually after it is started and keep it active for the lifetime they need it for.

I also updated the test apps to behave a bit nicer with discovered commissioners.

Fixes #25492

@github-actions
Copy link

PR #25355: Size comparison from e807d2d to e808d61

Full report (1 build for cc32xx)
platform target config section e807d2d e808d61 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642601 642601 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930126 930126 0 0.0
.debug_aranges 87280 87280 0 0.0
.debug_frame 299812 299812 0 0.0
.debug_info 20256131 20256131 0 0.0
.debug_line 2656120 2656120 0 0.0
.debug_loc 2797440 2797440 0 0.0
.debug_ranges 281768 281768 0 0.0
.debug_str 3023104 3023104 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105761 105761 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 377825 377825 0 0.0
.symtab 256224 256224 0 0.0
.text 534716 534716 0 0.0

@github-actions
Copy link

PR #25355: Size comparison from 11c2f5b to 70c8576

Decreases (1 build for cc32xx)
platform target config section 11c2f5b 70c8576 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20261953 20261952 -1 -0.0
Full report (1 build for cc32xx)
platform target config section 11c2f5b 70c8576 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643001 643001 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930155 930155 0 0.0
.debug_aranges 87280 87280 0 0.0
.debug_frame 299824 299824 0 0.0
.debug_info 20261953 20261952 -1 -0.0
.debug_line 2657102 2657102 0 0.0
.debug_loc 2799620 2799620 0 0.0
.debug_ranges 282184 282184 0 0.0
.debug_str 3023185 3023185 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105881 105881 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 377825 377825 0 0.0
.symtab 256240 256240 0 0.0
.text 534996 534996 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 3, 2023

PR #25355: Size comparison from f62853e to fdfdeb5

Decreases (1 build for cc32xx)
platform target config section f62853e fdfdeb5 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20262929 20262927 -2 -0.0
Full report (3 builds for cc32xx, qpg)
platform target config section f62853e fdfdeb5 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930213 930213 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262929 20262927 -2 -0.0
.debug_line 2657820 2657820 0 0.0
.debug_loc 2800026 2800026 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 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 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 535412 535412 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151852 1151852 0 0.0
.bss 99812 99812 0 0.0
.data 852 852 0 0.0
.text 598948 598948 0 0.0
lock-app qpg6105+debug (read/write) 1118892 1118892 0 0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565992 565992 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 7, 2023

PR #25355: Size comparison from 3889a44 to bd5e3eb

Decreases (1 build for cc32xx)
platform target config section 3889a44 bd5e3eb change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20267388 20267387 -1 -0.0
Full report (1 build for cc32xx)
platform target config section 3889a44 bd5e3eb change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 644425 644425 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930235 930235 0 0.0
.debug_aranges 87344 87344 0 0.0
.debug_frame 300044 300044 0 0.0
.debug_info 20267388 20267387 -1 -0.0
.debug_line 2659771 2659771 0 0.0
.debug_loc 2802807 2802807 0 0.0
.debug_ranges 282960 282960 0 0.0
.debug_str 3024017 3024017 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 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 378514 378514 0 0.0
.symtab 256624 256624 0 0.0
.text 536372 536372 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 8, 2023

PR #25355: Size comparison from ab87102 to 13517a7

Decreases (1 build for cc32xx)
platform target config section ab87102 13517a7 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20267387 20267386 -1 -0.0
Full report (1 build for cc32xx)
platform target config section ab87102 13517a7 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 644425 644425 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930235 930235 0 0.0
.debug_aranges 87344 87344 0 0.0
.debug_frame 300044 300044 0 0.0
.debug_info 20267387 20267386 -1 -0.0
.debug_line 2659771 2659771 0 0.0
.debug_loc 2802807 2802807 0 0.0
.debug_ranges 282960 282960 0 0.0
.debug_str 3024017 3024017 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 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 378514 378514 0 0.0
.symtab 256624 256624 0 0.0
.text 536372 536372 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 8, 2023

PR #25355: Size comparison from 6bb8917 to 875d5d8

Increases (1 build for qpg)
platform target config section 6bb8917 875d5d8 change % change
qpg lock-app qpg6105+debug (read/write) 1119516 1119524 8 0.0
.text 566616 566624 8 0.0
Decreases (1 build for cc32xx)
platform target config section 6bb8917 875d5d8 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20267388 20267387 -1 -0.0
Full report (5 builds for cc32xx, linux, qpg)
platform target config section 6bb8917 875d5d8 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 644425 644425 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930235 930235 0 0.0
.debug_aranges 87344 87344 0 0.0
.debug_frame 300044 300044 0 0.0
.debug_info 20267388 20267387 -1 -0.0
.debug_line 2659771 2659771 0 0.0
.debug_loc 2802807 2802807 0 0.0
.debug_ranges 282960 282960 0 0.0
.debug_str 3024017 3024017 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 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 378514 378514 0 0.0
.symtab 256624 256624 0 0.0
.text 536372 536372 0 0.0
linux chip-tool-ipv6only arm64 (read only) 12162004 12162004 0 0.0
(read/write) 733448 733448 0 0.0
.bss 34296 34296 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 675552 675552 0 0.0
.dynamic 560 560 0 0.0
.got 15384 15384 0 0.0
.init 24 24 0 0.0
.init_array 216 216 0 0.0
.rodata 588388 588388 0 0.0
.text 9832980 9832980 0 0.0
thermostat-no-ble arm64 (read only) 2521556 2521556 0 0.0
(read/write) 145240 145240 0 0.0
.bss 56344 56344 0 0.0
.data 1784 1784 0 0.0
.data.rel.ro 77688 77688 0 0.0
.dynamic 560 560 0 0.0
.got 5368 5368 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 150864 150864 0 0.0
.text 2108288 2108288 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1153116 1153116 0 0.0
.bss 99916 99916 0 0.0
.data 852 852 0 0.0
.text 600212 600212 0 0.0
lock-app qpg6105+debug (read/write) 1119516 1119524 8 0.0
.bss 96308 96308 0 0.0
.data 864 864 0 0.0
.text 566616 566624 8 0.0

Copy link
Contributor

@andy31415 andy31415 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checkmark for the purposes of updating a sample app with changes and checkmarks from app owner - I have not deeply checked the logic and without a review for 1 week this probably qualifies for fast track.

Had a comment about oddness of having a hash/equals that only considers partial class data (and I can understand usage in the array adapter ... but it is odd/unexpected that if (contains) { remove(); } add is not actually a noop but rather replaces same;fkey data).

leaving up to app maintainer to decide what to do with it, I am giving the checkmark in advance.

@cliffamzn
Copy link
Contributor Author

Checkmark for the purposes of updating a sample app with changes and checkmarks from app owner - I have not deeply checked the logic and without a review for 1 week this probably qualifies for fast track.

Had a comment about oddness of having a hash/equals that only considers partial class data (and I can understand usage in the array adapter ... but it is odd/unexpected that if (contains) { remove(); } add is not actually a noop but rather replaces same;fkey data).

leaving up to app maintainer to decide what to do with it, I am giving the checkmark in advance.

Thanks! - To clarify the behavior, it does the contains to check if it is "effectively" equal, but in actual use there are some elements that might change on a new broadcast update (such as the broadcast name), and in those cases i still want the button updated.

@github-actions
Copy link

github-actions bot commented Mar 8, 2023

PR #25355: Size comparison from 43d45ef to 203dd6f

Increases (1 build for cc32xx)
platform target config section 43d45ef 203dd6f change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20267468 20267470 2 0.0
Full report (1 build for cc32xx)
platform target config section 43d45ef 203dd6f change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 644425 644425 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930235 930235 0 0.0
.debug_aranges 87344 87344 0 0.0
.debug_frame 300044 300044 0 0.0
.debug_info 20267468 20267470 2 0.0
.debug_line 2659770 2659770 0 0.0
.debug_loc 2802853 2802853 0 0.0
.debug_ranges 282960 282960 0 0.0
.debug_str 3024079 3024079 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 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 378571 378571 0 0.0
.symtab 256624 256624 0 0.0
.text 536372 536372 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 8, 2023

PR #25355: Size comparison from 43d45ef to 5cd98c4

Increases (6 builds for cc13x2_26x2, cyw30739, psoc6, qpg)
platform target config section 43d45ef 5cd98c4 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 169664 169672 8 0.0
lock-mtd LP_CC2652R7 (read/write) 179348 179356 8 0.0
cyw30739 lock cyw930739m2evb_01 (read/write) 591858 591866 8 0.0
.app_xip_area 463332 463340 8 0.0
psoc6 light cy8ckit_062s2_43012 .debug_info 22870846 22870847 1 0.0
lock cy8ckit_062s2_43012 .debug_info 23122949 23122950 1 0.0
qpg lighting-app qpg6105+debug (read/write) 1153108 1153116 8 0.0
.text 600204 600212 8 0.0
Decreases (9 builds for bl602, bl702, cc13x2_26x2, mbed, psoc6)
platform target config section 43d45ef 5cd98c4 change % change
bl602 lighting-app bl602 .text 1027958 1027956 -2 -0.0
bl702 lighting-app bl702 .debug_info 40860978 40860977 -1 -0.0
.text 958518 958516 -2 -0.0
bl702+rpc (read/write) 1282471 1282455 -16 -0.0
.debug_info 45487837 45487835 -2 -0.0
.text 1033860 1033856 -4 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 681431 681423 -8 -0.0
.text 592588 592580 -8 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 644575 644567 -8 -0.0
.text 565856 565848 -8 -0.0
lock-mtd LP_CC2652R7 (read only) 664371 664363 -8 -0.0
.text 560368 560360 -8 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2467664 2467600 -64 -0.0
.text 1430308 1430244 -64 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27984913 27984912 -1 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27529379 27529377 -2 -0.0
Full report (23 builds for bl602, bl702, cc13x2_26x2, cyw30739, linux, mbed, psoc6, qpg)
platform target config section 43d45ef 5cd98c4 change % change
bl602 lighting-app bl602 (read/write) 1352006 1352006 0 0.0
.bss 94690 94690 0 0.0
.data 9744 9744 0 0.0
.text 1027958 1027956 -2 -0.0
bl602+rpc (read/write) 1397454 1397454 0 0.0
.bss 102738 102738 0 0.0
.data 10136 10136 0 0.0
.text 1058892 1058892 0 0.0
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3358 3358 0 0.0
(read/write) 1191803 1191803 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 69793 69793 0 0.0
.bss_psram 30160 30160 0 0.0
.comment 48 48 0 0.0
.data 4072 4072 0 0.0
.debug_abbrev 1556803 1556803 0 0.0
.debug_aranges 134576 134576 0 0.0
.debug_frame 493364 493364 0 0.0
.debug_info 40860978 40860977 -1 -0.0
.debug_line 5294228 5294228 0 0.0
.debug_loc 3423795 3423795 0 0.0
.debug_ranges 373192 373192 0 0.0
.debug_str 3584892 3584892 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 108160 108160 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 576232 576232 0 0.0
.symtab 174128 174128 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 958518 958516 -2 -0.0
bl702+rpc 0 0 0 0.0
(read only) 3358 3358 0 0.0
(read/write) 1282471 1282455 -16 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 77841 77841 0 0.0
.bss_psram 30432 30432 0 0.0
.comment 48 48 0 0.0
.data 4616 4616 0 0.0
.debug_abbrev 1708918 1708918 0 0.0
.debug_aranges 142904 142904 0 0.0
.debug_frame 521308 521308 0 0.0
.debug_info 45487837 45487835 -2 -0.0
.debug_line 5699571 5699571 0 0.0
.debug_loc 3621810 3621810 0 0.0
.debug_ranges 397192 397192 0 0.0
.debug_str 3989088 3989088 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 122368 122368 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 637557 637557 0 0.0
.symtab 192624 192624 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 1033860 1033856 -4 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 681431 681423 -8 -0.0
(read/write) 169664 169672 8 0.0
.bss 80788 80788 0 0.0
.data 3352 3352 0 0.0
.rodata 88527 88527 0 0.0
.text 592588 592580 -8 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 644575 644567 -8 -0.0
(read/write) 157456 157456 0 0.0
.bss 79988 79988 0 0.0
.data 3352 3352 0 0.0
.rodata 78399 78399 0 0.0
.text 565856 565848 -8 -0.0
lock-ftd LP_CC2652R7 (read only) 678375 678375 0 0.0
(read/write) 170184 170184 0 0.0
.bss 78340 78340 0 0.0
.data 3316 3316 0 0.0
.rodata 76711 76711 0 0.0
.text 601184 601184 0 0.0
lock-mtd LP_CC2652R7 (read only) 664371 664363 -8 -0.0
(read/write) 179348 179356 8 0.0
.bss 73500 73500 0 0.0
.data 3316 3316 0 0.0
.rodata 103523 103523 0 0.0
.text 560368 560360 -8 -0.0
pump-app LP_CC2652R7 (read only) 691611 691611 0 0.0
(read/write) 157692 157692 0 0.0
.bss 78316 78316 0 0.0
.data 3280 3280 0 0.0
.rodata 91083 91083 0 0.0
.text 600048 600048 0 0.0
pump-controller-app LP_CC2652R7 (read only) 676563 676563 0 0.0
(read/write) 172876 172876 0 0.0
.bss 78452 78452 0 0.0
.data 3304 3304 0 0.0
.rodata 86971 86971 0 0.0
.text 589112 589112 0 0.0
shell LP_CC2652R7 (read only) 672870 672870 0 0.0
(read/write) 180296 180296 0 0.0
.bss 82860 82860 0 0.0
.data 3348 3348 0 0.0
.rodata 85430 85430 0 0.0
.text 587128 587128 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587890 587890 0 0.0
.app_xip_area 464660 464660 0 0.0
.bss 65672 65672 0 0.0
.data 740 740 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591858 591866 8 0.0
.app_xip_area 463332 463340 8 0.0
.bss 70960 70960 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 552254 552254 0 0.0
.app_xip_area 434616 434616 0 0.0
.bss 60120 60120 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
linux chip-tool-ipv6only arm64 (read only) 12164036 12164036 0 0.0
(read/write) 733448 733448 0 0.0
.bss 34296 34296 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 675552 675552 0 0.0
.dynamic 560 560 0 0.0
.got 15384 15384 0 0.0
.init 24 24 0 0.0
.init_array 216 216 0 0.0
.rodata 588516 588516 0 0.0
.text 9834884 9834884 0 0.0
thermostat-no-ble arm64 (read only) 2522036 2522036 0 0.0
(read/write) 145256 145256 0 0.0
.bss 56344 56344 0 0.0
.data 1784 1784 0 0.0
.data.rel.ro 77712 77712 0 0.0
.dynamic 560 560 0 0.0
.got 5368 5368 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 150960 150960 0 0.0
.text 2108640 2108640 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2467664 2467600 -64 -0.0
.bss 215804 215804 0 0.0
.data 5880 5880 0 0.0
.text 1430308 1430244 -64 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841000 841000 0 0.0
(read/write) 1763012 1763012 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189704 189704 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2640 2640 0 0.0
.debug_abbrev 1253632 1253632 0 0.0
.debug_aranges 111464 111464 0 0.0
.debug_frame 374680 374680 0 0.0
.debug_info 27984913 27984912 -1 -0.0
.debug_line 3794850 3794850 0 0.0
.debug_loc 3698912 3698912 0 0.0
.debug_ranges 364816 364816 0 0.0
.debug_str 3533360 3533360 0 0.0
.heap 841000 841000 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 581702 581702 0 0.0
.symtab 426048 426048 0 0.0
.text 1562280 1562280 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841808 841808 0 0.0
(read/write) 1703204 1703204 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188904 188904 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2632 2632 0 0.0
.debug_abbrev 1238965 1238965 0 0.0
.debug_aranges 110696 110696 0 0.0
.debug_frame 377016 377016 0 0.0
.debug_info 27529379 27529377 -2 -0.0
.debug_line 3802349 3802349 0 0.0
.debug_loc 3682113 3682113 0 0.0
.debug_ranges 362752 362752 0 0.0
.debug_str 3520482 3520482 0 0.0
.heap 841808 841808 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 541411 541411 0 0.0
.symtab 410960 410960 0 0.0
.text 1503280 1503280 0 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850072 850072 0 0.0
(read/write) 1616948 1616948 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180808 180808 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1074302 1074302 0 0.0
.debug_aranges 102904 102904 0 0.0
.debug_frame 347300 347300 0 0.0
.debug_info 22870846 22870847 1 0.0
.debug_line 3355077 3355077 0 0.0
.debug_loc 3357302 3357302 0 0.0
.debug_ranges 321312 321312 0 0.0
.debug_str 3319253 3319253 0 0.0
.heap 850072 850072 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 477128 477128 0 0.0
.symtab 378944 378944 0 0.0
.text 1425288 1425288 0 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 822296 822296 0 0.0
(read/write) 1673604 1673604 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208568 208568 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2480 2480 0 0.0
.debug_abbrev 1076263 1076263 0 0.0
.debug_aranges 103312 103312 0 0.0
.debug_frame 349088 349088 0 0.0
.debug_info 23122949 23122950 1 0.0
.debug_line 3357139 3357139 0 0.0
.debug_loc 3381646 3381646 0 0.0
.debug_ranges 323872 323872 0 0.0
.debug_str 3338170 3338170 0 0.0
.heap 822296 822296 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 480942 480942 0 0.0
.symtab 381152 381152 0 0.0
.text 1454168 1454168 0 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1153108 1153116 8 0.0
.bss 99916 99916 0 0.0
.data 852 852 0 0.0
.text 600204 600212 8 0.0
lock-app qpg6105+debug (read/write) 1119524 1119524 0 0.0
.bss 96308 96308 0 0.0
.data 864 864 0 0.0
.text 566624 566624 0 0.0

cliffamzn and others added 2 commits March 8, 2023 10:59
This clarifies that the objects are "effectively equal" rather than
truly equal.
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

PR #25355: Size comparison from 43d45ef to f83e33c

Full report (1 build for cc32xx)
platform target config section 43d45ef f83e33c change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 644425 644425 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930235 930235 0 0.0
.debug_aranges 87344 87344 0 0.0
.debug_frame 300044 300044 0 0.0
.debug_info 20267468 20267468 0 0.0
.debug_line 2659770 2659770 0 0.0
.debug_loc 2802853 2802853 0 0.0
.debug_ranges 282960 282960 0 0.0
.debug_str 3024079 3024079 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 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 378571 378571 0 0.0
.symtab 256624 256624 0 0.0
.text 536372 536372 0 0.0

@cliffamzn cliffamzn enabled auto-merge (squash) March 8, 2023 19:22
@cliffamzn cliffamzn merged commit 1f2f882 into project-chip:master Mar 8, 2023
@cliffamzn cliffamzn deleted the tv_friendly_name branch March 8, 2023 21:00
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
* Respect updated DNS SD broadcast names

When a device is advertising over dns-sd and the TX bits change (device
name) a message is sent out to indicate that the old adverisment should
be expired and the new one should be used.

In the current implementation of the casting app, we stop listening to
updates after the `discoveryDurationSeconds` timeout. This causes us to
miss messages and Android seems to fall back to the cached value of the
DNS advertisment.

We need to change the usage pattern here so that clients stop the
discovery manually after it is started and keep it active for the
lifetime they need it for.

I also updated the test apps to behave a bit nicer with discovered
commissioners.
mwswartwout pushed a commit to mwswartwout/connectedhomeip that referenced this pull request Mar 27, 2023
* Respect updated DNS SD broadcast names

When a device is advertising over dns-sd and the TX bits change (device
name) a message is sent out to indicate that the old adverisment should
be expired and the new one should be used.

In the current implementation of the casting app, we stop listening to
updates after the `discoveryDurationSeconds` timeout. This causes us to
miss messages and Android seems to fall back to the cached value of the
DNS advertisment.

We need to change the usage pattern here so that clients stop the
discovery manually after it is started and keep it active for the
lifetime they need it for.

I also updated the test apps to behave a bit nicer with discovered
commissioners.
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.

[BUG] TV sample app does not receive DNSSD updates
4 participants