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

Fix the extended discovery time limit to actually be obeyed properly. #20019

Conversation

bzbarsky-apple
Copy link
Contributor

@bzbarsky-apple bzbarsky-apple commented Jun 27, 2022

Fixes #16522

Tested that if CHIP_DEVICE_CONFIG_EXTENDED_DISCOVERY_TIMEOUT_SECS is set to
CHIP_DEVICE_CONFIG_DISCOVERY_NO_TIMEOUT then we advertise extended discovery
in all the conditions where we are not advertising commissionable discovery.

If CHIP_DEVICE_CONFIG_EXTENDED_DISCOVERY_TIMEOUT_SECS is set to another value, verified that:

  1. We do not start advertising extended discovery on startup.
  2. If we start advertising commissionable discovery on startup, then after the
    commissioning window closes (whether due to being commissioned or timing out)
    we we start advertising extended discovery until that times out.
  3. If we open a new commissioning window and then RevokeCommissioning, we start
    advertising extended discovery until it times out.
  4. If we open a new commissioning window and then commission the device, we
    start advertising extended discovery until it times out.
  5. If in a state with two fabrics commissioned we remove a fabric we do not
    start advertising extended discovery (unlike before this change).
  6. If in a state with two fabrics commissioned and extended discovery
    advertising ongoing we remove one of the fabrics, we keep advertising
    extended discovery until it times out.

Problem

See #16522

Change overview

Keep better track of when we actually need to start extended discovery and when we need to reset its timer; don't reset the timer if we're not starting a new extended discovery period.

Testing

For all tests I used all-clusters-app compiled with extended discovery enabled. I modified it to allow smaller commissioning window timeouts than 3 minutes to speed up testing.

For item 1: Start commissioned all-clusters app and verify that it only advertises operational.

for item 2: Start uncommissioned all-clusters-app, verify (via dns-sd) that it advertises commissionable until the commissioning window closes, then advertises extended discovery until that timeout expires.

For item 3: Start commissioned all-clusters-app, use chip-tool pairing open-commissioning-window and chip-tool administratorcommissioning revoke-commissioning.

For item 4: Start commissioned all-clusters-app, use chip-tool pairing open-commissioning-window to open a BCM window and chip-tool pairing code --commissioner-name beta to pair with the original manual code.

For item 5: Starting after item 4, wait until the extended discovery times out, then do a remove-fabric command via chip-tool.

For item 6: Repeat item 4 and 5, but do the remove before the extended discovery has timed out.

Fixes project-chip#16522

Tested that if CHIP_DEVICE_CONFIG_EXTENDED_DISCOVERY_TIMEOUT_SECS is set to
CHIP_DEVICE_CONFIG_DISCOVERY_NO_TIMEOUT then we advertise extended discovery
in all the conditions where we are not advertising commissionable discovery.

If CHIP_DEVICE_CONFIG_EXTENDED_DISCOVERY_TIMEOUT_SECS is set to another value, verified that:

1. We do not start advertising extended discovery on startup.
2. If we start advertising commissionable discovery on startup, then after the
   commissioning window closes (whether due to being commissioned or timing out)
   we we start advertising extended discovery until that times out.
3. If we open a new commissioning window and then RevokeCommissioning, we start
   advertising extended discovery until it times out.
4. If we open a new commissioning window and then commission the device, we
   start advertising extended discovery until it times out.
5. If in a state with two fabrics commissioned we remove a fabric we do _not_
   start advertising extended discovery (unlike before this change).
6. If in a state with two fabrics commissioned and extended discovery
   advertising ongoing we remove one of the fabrics, we keep advertising
   extended discovery until it times out.
@github-actions
Copy link

github-actions bot commented Jun 28, 2022

PR #20019: Size comparison from cba92c0 to 9d01379

Increases (19 builds for cc13x2_26x2, cyw30739, efr32, k32w, nrfconnect, telink)
platform target config section cba92c0 9d01379 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 188068 188204 136 0.1
.bss 75876 75884 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read/write) 198624 198760 136 0.1
.bss 75172 75180 8 0.0
lock-ftd LP_CC2652R7 (read/write) 175672 175808 136 0.1
.bss 72908 72916 8 0.0
lock-mtd LP_CC2652R7 (read/write) 146024 146032 8 0.0
.bss 68628 68636 8 0.0
pump-app LP_CC2652R7 (read/write) 166960 167216 256 0.2
.bss 72996 73004 8 0.0
pump-controller-app LP_CC2652R7 (read/write) 181176 181492 316 0.2
.bss 73116 73124 8 0.0
shell LP_CC2652R7 (read/write) 191116 191236 120 0.1
.bss 78180 78188 8 0.0
cyw30739 light cyw930739m2evb_01 .bss 65952 65960 8 0.0
lock cyw930739m2evb_01 .bss 66144 66152 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 65160 65168 8 0.0
efr32 lighting-app BRD4161A .bss 134756 134764 8 0.0
BRD4161A+rpc .bss 151444 151452 8 0.0
BRD4161A+rs911x .bss 140472 140480 8 0.0
window-app BRD4161A .bss 134836 134844 8 0.0
k32w light k32w061+release .bss 71276 71284 8 0.0
lock k32w061+release .bss 71748 71756 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 bss 144650 144658 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 bss 143886 143894 8 0.0
telink lighting-app tlsr9518adk80d bss 73164 73172 8 0.0
Decreases (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cba92c0 9d01379 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664915 664787 -128 -0.0
.text 576708 576580 -128 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653655 653527 -128 -0.0
.text 561980 561852 -128 -0.0
lock-ftd LP_CC2652R7 (read only) 667455 667327 -128 -0.0
.text 590992 590864 -128 -0.0
lock-mtd LP_CC2652R7 (read only) 616871 616743 -128 -0.0
.text 540520 540392 -128 -0.0
pump-app LP_CC2652R7 (read only) 677023 676775 -248 -0.0
.rodata 88367 88215 -152 -0.2
.text 588172 588076 -96 -0.0
pump-controller-app LP_CC2652R7 (read only) 662927 662619 -308 -0.0
.rodata 84215 84067 -148 -0.2
.text 578232 578072 -160 -0.0
shell LP_CC2652R7 (read only) 657370 657258 -112 -0.0
.text 572404 572292 -112 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 580462 580414 -48 -0.0
.app_xip_area 457472 457416 -56 -0.0
lock cyw930739m2evb_01 (read/write) 582030 581982 -48 -0.0
.app_xip_area 458848 458792 -56 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583502 583202 -300 -0.1
.app_xip_area 461360 461052 -308 -0.1
efr32 lighting-app BRD4161A (read/write) 1081412 1081116 -296 -0.0
.text 944588 944284 -304 -0.0
BRD4161A+rpc (read/write) 1135684 1135412 -272 -0.0
.text 981960 981680 -280 -0.0
BRD4161A+rs911x (read/write) 946552 946288 -264 -0.0
.text 804012 803740 -272 -0.0
lock-app BRD4161A+wf200 (read/write) 1121280 1121160 -120 -0.0
.bss 140920 140912 -8 -0.0
.text 978280 978168 -112 -0.0
window-app BRD4161A (read/write) 1066676 1066396 -280 -0.0
.text 929740 929452 -288 -0.0
esp32 all-clusters-app c3devkit (read only) 1018714 1018706 -8 -0.0
(read/write) 1486498 1486386 -112 -0.0
.dram0.bss 71824 71816 -8 -0.0
.flash.rodata 214624 214512 -112 -0.1
.flash.text 1018714 1018706 -8 -0.0
m5stack (read only) 1072927 1072923 -4 -0.0
(read/write) 488600 488480 -120 -0.0
.dram0.bss 77344 77336 -8 -0.0
.flash.rodata 245116 245004 -112 -0.0
.flash.text 1067543 1067539 -4 -0.0
k32w light k32w061+release (read/write) 659704 659584 -120 -0.0
.text 580636 580508 -128 -0.0
lock k32w061+release (read/write) 685960 685840 -120 -0.0
.text 606408 606280 -128 -0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9922548 9922436 -112 -0.0
(read/write) 675665 675649 -16 -0.0
.bss 42625 42609 -16 -0.0
.text 7910660 7910548 -112 -0.0
thermostat-no-ble arm64 (read only) 2591212 2591148 -64 -0.0
(read/write) 181761 181745 -16 -0.0
.bss 88705 88689 -16 -0.0
.text 2186448 2186384 -64 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2446928 2446816 -112 -0.0
.bss 215716 215708 -8 -0.0
.text 1409572 1409460 -112 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174579 1174271 -308 -0.0
rodata 141284 141136 -148 -0.1
text 809712 809552 -160 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155447 1155139 -308 -0.0
rodata 133216 133068 -148 -0.1
text 799416 799260 -156 -0.0
p6 all-clusters-app default (read/write) 2565240 2565096 -144 -0.0
.bss 150896 150888 -8 -0.0
.text 1523504 1523360 -144 -0.0
all-clusters-minimal-app default (read/write) 2511104 2510960 -144 -0.0
.bss 150176 150168 -8 -0.0
.text 1469368 1469224 -144 -0.0
light-app default (read/write) 2441240 2441112 -128 -0.0
.bss 142232 142224 -8 -0.0
.text 1399504 1399376 -128 -0.0
lock-app default (read/write) 2467528 2467392 -136 -0.0
.bss 142080 142072 -8 -0.0
.text 1425792 1425656 -136 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 797712 797580 -132 -0.0
bss 72344 72336 -8 -0.0
text 564552 564538 -14 -0.0
lighting-app tlsr9518adk80d (read/write) 817780 817440 -340 -0.0
text 581096 580904 -192 -0.0
Full report (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cba92c0 9d01379 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664915 664787 -128 -0.0
(read/write) 188068 188204 136 0.1
.bss 75876 75884 8 0.0
.data 3356 3356 0 0.0
.rodata 87891 87891 0 0.0
.text 576708 576580 -128 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653655 653527 -128 -0.0
(read/write) 198624 198760 136 0.1
.bss 75172 75180 8 0.0
.data 3356 3356 0 0.0
.rodata 91359 91359 0 0.0
.text 561980 561852 -128 -0.0
lock-ftd LP_CC2652R7 (read only) 667455 667327 -128 -0.0
(read/write) 175672 175808 136 0.1
.bss 72908 72916 8 0.0
.data 3280 3280 0 0.0
.rodata 75983 75983 0 0.0
.text 590992 590864 -128 -0.0
lock-mtd LP_CC2652R7 (read only) 616871 616743 -128 -0.0
(read/write) 146024 146032 8 0.0
.bss 68628 68636 8 0.0
.data 3280 3280 0 0.0
.rodata 75863 75863 0 0.0
.text 540520 540392 -128 -0.0
pump-app LP_CC2652R7 (read only) 677023 676775 -248 -0.0
(read/write) 166960 167216 256 0.2
.bss 72996 73004 8 0.0
.data 3280 3280 0 0.0
.rodata 88367 88215 -152 -0.2
.text 588172 588076 -96 -0.0
pump-controller-app LP_CC2652R7 (read only) 662927 662619 -308 -0.0
(read/write) 181176 181492 316 0.2
.bss 73116 73124 8 0.0
.data 3276 3276 0 0.0
.rodata 84215 84067 -148 -0.2
.text 578232 578072 -160 -0.0
shell LP_CC2652R7 (read only) 657370 657258 -112 -0.0
(read/write) 191116 191236 120 0.1
.bss 78180 78188 8 0.0
.data 3360 3360 0 0.0
.rodata 84650 84650 0 0.0
.text 572404 572292 -112 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 580462 580414 -48 -0.0
.app_xip_area 457472 457416 -56 -0.0
.bss 65952 65960 8 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 582030 581982 -48 -0.0
.app_xip_area 458848 458792 -56 -0.0
.bss 66144 66152 8 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583502 583202 -300 -0.1
.app_xip_area 461360 461052 -308 -0.1
.bss 65160 65168 8 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1081412 1081116 -296 -0.0
.bss 134756 134764 8 0.0
.data 2048 2048 0 0.0
.text 944588 944284 -304 -0.0
BRD4161A+rpc (read/write) 1135684 1135412 -272 -0.0
.bss 151444 151452 8 0.0
.data 2260 2260 0 0.0
.text 981960 981680 -280 -0.0
BRD4161A+rs911x (read/write) 946552 946288 -264 -0.0
.bss 140472 140480 8 0.0
.data 2048 2048 0 0.0
.text 804012 803740 -272 -0.0
lock-app BRD4161A+wf200 (read/write) 1121280 1121160 -120 -0.0
.bss 140920 140912 -8 -0.0
.data 2060 2060 0 0.0
.text 978280 978168 -112 -0.0
window-app BRD4161A (read/write) 1066676 1066396 -280 -0.0
.bss 134836 134844 8 0.0
.data 2076 2076 0 0.0
.text 929740 929452 -288 -0.0
esp32 all-clusters-app c3devkit (read only) 1018714 1018706 -8 -0.0
(read/write) 1486498 1486386 -112 -0.0
.dram0.bss 71824 71816 -8 -0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 214624 214512 -112 -0.1
.flash.text 1018714 1018706 -8 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1072927 1072923 -4 -0.0
(read/write) 488600 488480 -120 -0.0
.dram0.bss 77344 77336 -8 -0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245116 245004 -112 -0.0
.flash.text 1067543 1067539 -4 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 659704 659584 -120 -0.0
.bss 71276 71284 8 0.0
.data 1992 1992 0 0.0
.text 580636 580508 -128 -0.0
lock k32w061+release (read/write) 685960 685840 -120 -0.0
.bss 71748 71756 8 0.0
.data 2004 2004 0 0.0
.text 606408 606280 -128 -0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9922548 9922436 -112 -0.0
(read/write) 675665 675649 -16 -0.0
.bss 42625 42609 -16 -0.0
.data 1152 1152 0 0.0
.data.rel.ro 614632 614632 0 0.0
.dynamic 528 528 0 0.0
.got 13440 13440 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 472260 472260 0 0.0
.text 7910660 7910548 -112 -0.0
thermostat-no-ble arm64 (read only) 2591212 2591148 -64 -0.0
(read/write) 181761 181745 -16 -0.0
.bss 88705 88689 -16 -0.0
.data 1704 1704 0 0.0
.data.rel.ro 83256 83256 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165036 165036 0 0.0
.text 2186448 2186384 -64 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2446928 2446816 -112 -0.0
.bss 215716 215708 -8 -0.0
.data 5872 5872 0 0.0
.text 1409572 1409460 -112 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174579 1174271 -308 -0.0
bss 144650 144658 8 0.0
rodata 141284 141136 -148 -0.1
text 809712 809552 -160 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155447 1155139 -308 -0.0
bss 143886 143894 8 0.0
rodata 133216 133068 -148 -0.1
text 799416 799260 -156 -0.0
p6 all-clusters-app default (read/write) 2565240 2565096 -144 -0.0
.bss 150896 150888 -8 -0.0
.data 2776 2776 0 0.0
.text 1523504 1523360 -144 -0.0
all-clusters-minimal-app default (read/write) 2511104 2510960 -144 -0.0
.bss 150176 150168 -8 -0.0
.data 2776 2776 0 0.0
.text 1469368 1469224 -144 -0.0
light-app default (read/write) 2441240 2441112 -128 -0.0
.bss 142232 142224 -8 -0.0
.data 2592 2592 0 0.0
.text 1399504 1399376 -128 -0.0
lock-app default (read/write) 2467528 2467392 -136 -0.0
.bss 142080 142072 -8 -0.0
.data 2600 2600 0 0.0
.text 1425792 1425656 -136 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 797712 797580 -132 -0.0
bss 72344 72336 -8 -0.0
noinit 40416 40416 0 0.0
text 564552 564538 -14 -0.0
lighting-app tlsr9518adk80d (read/write) 817780 817440 -340 -0.0
bss 73164 73172 8 0.0
noinit 40416 40416 0 0.0
text 581096 580904 -192 -0.0

src/app/server/Dnssd.cpp Outdated Show resolved Hide resolved
Co-authored-by: chrisdecenzo <[email protected]>
@github-actions
Copy link

github-actions bot commented Jun 28, 2022

PR #20019: Size comparison from cba92c0 to 296692f

Increases (19 builds for cc13x2_26x2, cyw30739, efr32, k32w, nrfconnect, telink)
platform target config section cba92c0 296692f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 188068 188204 136 0.1
.bss 75876 75884 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read/write) 198624 198760 136 0.1
.bss 75172 75180 8 0.0
lock-ftd LP_CC2652R7 (read/write) 175672 175808 136 0.1
.bss 72908 72916 8 0.0
lock-mtd LP_CC2652R7 (read/write) 146024 146032 8 0.0
.bss 68628 68636 8 0.0
pump-app LP_CC2652R7 (read/write) 166960 167216 256 0.2
.bss 72996 73004 8 0.0
pump-controller-app LP_CC2652R7 (read/write) 181176 181492 316 0.2
.bss 73116 73124 8 0.0
shell LP_CC2652R7 (read/write) 191116 191236 120 0.1
.bss 78180 78188 8 0.0
cyw30739 light cyw930739m2evb_01 .bss 65952 65960 8 0.0
lock cyw930739m2evb_01 .bss 66144 66152 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 .bss 65160 65168 8 0.0
efr32 lighting-app BRD4161A .bss 134756 134764 8 0.0
BRD4161A+rpc .bss 151444 151452 8 0.0
BRD4161A+rs911x .bss 140472 140480 8 0.0
window-app BRD4161A .bss 134836 134844 8 0.0
k32w light k32w061+release .bss 71276 71284 8 0.0
lock k32w061+release .bss 71748 71756 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 bss 144650 144658 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 bss 143886 143894 8 0.0
telink lighting-app tlsr9518adk80d bss 73164 73172 8 0.0
Decreases (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cba92c0 296692f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664915 664787 -128 -0.0
.text 576708 576580 -128 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653655 653527 -128 -0.0
.text 561980 561852 -128 -0.0
lock-ftd LP_CC2652R7 (read only) 667455 667327 -128 -0.0
.text 590992 590864 -128 -0.0
lock-mtd LP_CC2652R7 (read only) 616871 616743 -128 -0.0
.text 540520 540392 -128 -0.0
pump-app LP_CC2652R7 (read only) 677023 676775 -248 -0.0
.rodata 88367 88215 -152 -0.2
.text 588172 588076 -96 -0.0
pump-controller-app LP_CC2652R7 (read only) 662927 662619 -308 -0.0
.rodata 84215 84067 -148 -0.2
.text 578232 578072 -160 -0.0
shell LP_CC2652R7 (read only) 657370 657258 -112 -0.0
.text 572404 572292 -112 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 580462 580414 -48 -0.0
.app_xip_area 457472 457416 -56 -0.0
lock cyw930739m2evb_01 (read/write) 582030 581990 -40 -0.0
.app_xip_area 458848 458800 -48 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583502 583202 -300 -0.1
.app_xip_area 461360 461052 -308 -0.1
efr32 lighting-app BRD4161A (read/write) 1081412 1081116 -296 -0.0
.text 944588 944284 -304 -0.0
BRD4161A+rpc (read/write) 1135684 1135412 -272 -0.0
.text 981960 981680 -280 -0.0
BRD4161A+rs911x (read/write) 946552 946288 -264 -0.0
.text 804012 803740 -272 -0.0
lock-app BRD4161A+wf200 (read/write) 1121280 1121160 -120 -0.0
.bss 140920 140912 -8 -0.0
.text 978280 978168 -112 -0.0
window-app BRD4161A (read/write) 1066676 1066396 -280 -0.0
.text 929740 929452 -288 -0.0
esp32 all-clusters-app c3devkit (read only) 1018714 1018706 -8 -0.0
(read/write) 1486498 1486386 -112 -0.0
.dram0.bss 71824 71816 -8 -0.0
.flash.rodata 214624 214512 -112 -0.1
.flash.text 1018714 1018706 -8 -0.0
m5stack (read only) 1072927 1072923 -4 -0.0
(read/write) 488600 488480 -120 -0.0
.dram0.bss 77344 77336 -8 -0.0
.flash.rodata 245116 245004 -112 -0.0
.flash.text 1067543 1067539 -4 -0.0
k32w light k32w061+release (read/write) 659704 659584 -120 -0.0
.text 580636 580508 -128 -0.0
lock k32w061+release (read/write) 685960 685840 -120 -0.0
.text 606408 606280 -128 -0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9922548 9904020 -18528 -0.2
(read/write) 675665 675633 -32 -0.0
.bss 42625 42609 -16 -0.0
.data.rel.ro 614632 614616 -16 -0.0
.rodata 472260 472164 -96 -0.0
.text 7910660 7892276 -18384 -0.2
thermostat-no-ble arm64 (read only) 2591212 2591148 -64 -0.0
(read/write) 181761 181745 -16 -0.0
.bss 88705 88689 -16 -0.0
.text 2186448 2186384 -64 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2446928 2446816 -112 -0.0
.bss 215716 215708 -8 -0.0
.text 1409572 1409460 -112 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174579 1174271 -308 -0.0
rodata 141284 141136 -148 -0.1
text 809712 809548 -164 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155447 1155139 -308 -0.0
rodata 133216 133068 -148 -0.1
text 799416 799260 -156 -0.0
p6 all-clusters-app default (read/write) 2565240 2565096 -144 -0.0
.bss 150896 150888 -8 -0.0
.text 1523504 1523360 -144 -0.0
all-clusters-minimal-app default (read/write) 2511104 2510960 -144 -0.0
.bss 150176 150168 -8 -0.0
.text 1469368 1469224 -144 -0.0
light-app default (read/write) 2441240 2441112 -128 -0.0
.bss 142232 142224 -8 -0.0
.text 1399504 1399376 -128 -0.0
lock-app default (read/write) 2467528 2467392 -136 -0.0
.bss 142080 142072 -8 -0.0
.text 1425792 1425656 -136 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 797712 797580 -132 -0.0
bss 72344 72336 -8 -0.0
text 564552 564540 -12 -0.0
lighting-app tlsr9518adk80d (read/write) 817780 817440 -340 -0.0
text 581096 580902 -194 -0.0
Full report (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cba92c0 296692f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 664915 664787 -128 -0.0
(read/write) 188068 188204 136 0.1
.bss 75876 75884 8 0.0
.data 3356 3356 0 0.0
.rodata 87891 87891 0 0.0
.text 576708 576580 -128 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653655 653527 -128 -0.0
(read/write) 198624 198760 136 0.1
.bss 75172 75180 8 0.0
.data 3356 3356 0 0.0
.rodata 91359 91359 0 0.0
.text 561980 561852 -128 -0.0
lock-ftd LP_CC2652R7 (read only) 667455 667327 -128 -0.0
(read/write) 175672 175808 136 0.1
.bss 72908 72916 8 0.0
.data 3280 3280 0 0.0
.rodata 75983 75983 0 0.0
.text 590992 590864 -128 -0.0
lock-mtd LP_CC2652R7 (read only) 616871 616743 -128 -0.0
(read/write) 146024 146032 8 0.0
.bss 68628 68636 8 0.0
.data 3280 3280 0 0.0
.rodata 75863 75863 0 0.0
.text 540520 540392 -128 -0.0
pump-app LP_CC2652R7 (read only) 677023 676775 -248 -0.0
(read/write) 166960 167216 256 0.2
.bss 72996 73004 8 0.0
.data 3280 3280 0 0.0
.rodata 88367 88215 -152 -0.2
.text 588172 588076 -96 -0.0
pump-controller-app LP_CC2652R7 (read only) 662927 662619 -308 -0.0
(read/write) 181176 181492 316 0.2
.bss 73116 73124 8 0.0
.data 3276 3276 0 0.0
.rodata 84215 84067 -148 -0.2
.text 578232 578072 -160 -0.0
shell LP_CC2652R7 (read only) 657370 657258 -112 -0.0
(read/write) 191116 191236 120 0.1
.bss 78180 78188 8 0.0
.data 3360 3360 0 0.0
.rodata 84650 84650 0 0.0
.text 572404 572292 -112 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 580462 580414 -48 -0.0
.app_xip_area 457472 457416 -56 -0.0
.bss 65952 65960 8 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 582030 581990 -40 -0.0
.app_xip_area 458848 458800 -48 -0.0
.bss 66144 66152 8 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 583502 583202 -300 -0.1
.app_xip_area 461360 461052 -308 -0.1
.bss 65160 65168 8 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1081412 1081116 -296 -0.0
.bss 134756 134764 8 0.0
.data 2048 2048 0 0.0
.text 944588 944284 -304 -0.0
BRD4161A+rpc (read/write) 1135684 1135412 -272 -0.0
.bss 151444 151452 8 0.0
.data 2260 2260 0 0.0
.text 981960 981680 -280 -0.0
BRD4161A+rs911x (read/write) 946552 946288 -264 -0.0
.bss 140472 140480 8 0.0
.data 2048 2048 0 0.0
.text 804012 803740 -272 -0.0
lock-app BRD4161A+wf200 (read/write) 1121280 1121160 -120 -0.0
.bss 140920 140912 -8 -0.0
.data 2060 2060 0 0.0
.text 978280 978168 -112 -0.0
window-app BRD4161A (read/write) 1066676 1066396 -280 -0.0
.bss 134836 134844 8 0.0
.data 2076 2076 0 0.0
.text 929740 929452 -288 -0.0
esp32 all-clusters-app c3devkit (read only) 1018714 1018706 -8 -0.0
(read/write) 1486498 1486386 -112 -0.0
.dram0.bss 71824 71816 -8 -0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 214624 214512 -112 -0.1
.flash.text 1018714 1018706 -8 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1072927 1072923 -4 -0.0
(read/write) 488600 488480 -120 -0.0
.dram0.bss 77344 77336 -8 -0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245116 245004 -112 -0.0
.flash.text 1067543 1067539 -4 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 659704 659584 -120 -0.0
.bss 71276 71284 8 0.0
.data 1992 1992 0 0.0
.text 580636 580508 -128 -0.0
lock k32w061+release (read/write) 685960 685840 -120 -0.0
.bss 71748 71756 8 0.0
.data 2004 2004 0 0.0
.text 606408 606280 -128 -0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9922548 9904020 -18528 -0.2
(read/write) 675665 675633 -32 -0.0
.bss 42625 42609 -16 -0.0
.data 1152 1152 0 0.0
.data.rel.ro 614632 614616 -16 -0.0
.dynamic 528 528 0 0.0
.got 13440 13440 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 472260 472164 -96 -0.0
.text 7910660 7892276 -18384 -0.2
thermostat-no-ble arm64 (read only) 2591212 2591148 -64 -0.0
(read/write) 181761 181745 -16 -0.0
.bss 88705 88689 -16 -0.0
.data 1704 1704 0 0.0
.data.rel.ro 83256 83256 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165036 165036 0 0.0
.text 2186448 2186384 -64 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2446928 2446816 -112 -0.0
.bss 215716 215708 -8 -0.0
.data 5872 5872 0 0.0
.text 1409572 1409460 -112 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174579 1174271 -308 -0.0
bss 144650 144658 8 0.0
rodata 141284 141136 -148 -0.1
text 809712 809548 -164 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155447 1155139 -308 -0.0
bss 143886 143894 8 0.0
rodata 133216 133068 -148 -0.1
text 799416 799260 -156 -0.0
p6 all-clusters-app default (read/write) 2565240 2565096 -144 -0.0
.bss 150896 150888 -8 -0.0
.data 2776 2776 0 0.0
.text 1523504 1523360 -144 -0.0
all-clusters-minimal-app default (read/write) 2511104 2510960 -144 -0.0
.bss 150176 150168 -8 -0.0
.data 2776 2776 0 0.0
.text 1469368 1469224 -144 -0.0
light-app default (read/write) 2441240 2441112 -128 -0.0
.bss 142232 142224 -8 -0.0
.data 2592 2592 0 0.0
.text 1399504 1399376 -128 -0.0
lock-app default (read/write) 2467528 2467392 -136 -0.0
.bss 142080 142072 -8 -0.0
.data 2600 2600 0 0.0
.text 1425792 1425656 -136 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 797712 797580 -132 -0.0
bss 72344 72336 -8 -0.0
noinit 40416 40416 0 0.0
text 564552 564540 -12 -0.0
lighting-app tlsr9518adk80d (read/write) 817780 817440 -340 -0.0
bss 73164 73172 8 0.0
noinit 40416 40416 0 0.0
text 581096 580902 -194 -0.0

Addresses review comments.
@bzbarsky-apple bzbarsky-apple merged commit cab048f into project-chip:master Jun 28, 2022
@bzbarsky-apple bzbarsky-apple deleted the extended-discovery-time-limit branch June 28, 2022 20:40
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.

Extended discovery timeout is extended on each DnssdServer::StartServer
5 participants