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

[TI]Use ip-acquired indication to trigger dns server #21891

Merged
merged 2 commits into from
Aug 15, 2022

Conversation

abiradarti
Copy link
Contributor

@abiradarti abiradarti commented Aug 15, 2022

Problem

CC32xx lock app device was having issues to chip tool once it was provisioned via Wi-Fi onto the network

Change overview

DNS server started once IP address is acquired

Testing

Lock app functional testing

@github-actions
Copy link

github-actions bot commented Aug 15, 2022

PR #21891: Size comparison from 8e85a50 to 3eebfbd

Increases (1 build for telink)
platform target config section 8e85a50 3eebfbd change % change
telink lighting-app tlsr9518adk80d (read/write) 830304 830312 8 0.0
text 589386 589390 4 0.0
Decreases (1 build for cyw30739)
platform target config section 8e85a50 3eebfbd change % change
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 598962 598954 -8 -0.0
.app_xip_area 476348 476340 -8 -0.0
Full report (14 builds for bl602, cyw30739, k32w, linux, mbed, nrfconnect, telink)
platform target config section 8e85a50 3eebfbd change % change
bl602 lighting-app bl602 (read/write) 1383050 1383050 0 0.0
.bss 119882 119882 0 0.0
.data 4480 4480 0 0.0
.text 1050716 1050716 0 0.0
bl602+rpc (read/write) 1428290 1428290 0 0.0
.bss 127322 127322 0 0.0
.data 4600 4600 0 0.0
.text 1082216 1082216 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586006 586006 0 0.0
.app_xip_area 462672 462672 0 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591822 591822 0 0.0
.app_xip_area 463704 463704 0 0.0
.bss 70560 70560 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) 598962 598954 -8 -0.0
.app_xip_area 476348 476340 -8 -0.0
.bss 65088 65088 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w light k32w0+release (read/write) 645028 645028 0 0.0
.bss 69848 69848 0 0.0
.data 2044 2044 0 0.0
.text 570408 570408 0 0.0
lock k32w0+release (read/write) 702572 702572 0 0.0
.bss 70320 70320 0 0.0
.data 2052 2052 0 0.0
.text 627472 627472 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10130196 10130196 0 0.0
(read/write) 698673 698673 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643424 643424 0 0.0
.dynamic 560 560 0 0.0
.got 13720 13720 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 487412 487412 0 0.0
.text 8005780 8005780 0 0.0
thermostat-no-ble arm64 (read only) 2356244 2356244 0 0.0
(read/write) 141825 141825 0 0.0
.bss 55345 55345 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5048 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140508 140508 0 0.0
.text 1978016 1978016 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454392 2454392 0 0.0
.bss 214692 214692 0 0.0
.data 5872 5872 0 0.0
.text 1417036 1417036 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180003 1180003 0 0.0
bss 143350 143350 0 0.0
rodata 143412 143412 0 0.0
text 814396 814396 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159899 1159899 0 0.0
bss 142588 142588 0 0.0
rodata 135108 135108 0 0.0
text 803384 803384 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808384 808384 0 0.0
bss 71096 71096 0 0.0
noinit 43488 43488 0 0.0
text 571312 571312 0 0.0
lighting-app tlsr9518adk80d (read/write) 830304 830312 8 0.0
bss 71952 71952 0 0.0
noinit 43488 43488 0 0.0
text 589386 589390 4 0.0

@github-actions
Copy link

github-actions bot commented Aug 15, 2022

PR #21891: Size comparison from 8e85a50 to 36dea2b

Increases (1 build for telink)
platform target config section 8e85a50 36dea2b change % change
telink lighting-app tlsr9518adk80d text 589386 589388 2 0.0
Decreases (2 builds for nrfconnect, telink)
platform target config section 8e85a50 36dea2b change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814396 814392 -4 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 808384 808376 -8 -0.0
text 571312 571308 -4 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 8e85a50 36dea2b change % change
bl602 lighting-app bl602 (read/write) 1383050 1383050 0 0.0
.bss 119882 119882 0 0.0
.data 4480 4480 0 0.0
.text 1050716 1050716 0 0.0
bl602+rpc (read/write) 1428290 1428290 0 0.0
.bss 127322 127322 0 0.0
.data 4600 4600 0 0.0
.text 1082216 1082216 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672295 672295 0 0.0
(read/write) 179216 179216 0 0.0
.bss 74404 74404 0 0.0
.data 3372 3372 0 0.0
.rodata 88703 88703 0 0.0
.text 583276 583276 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637679 637679 0 0.0
(read/write) 157980 157980 0 0.0
.bss 73692 73692 0 0.0
.data 3372 3372 0 0.0
.rodata 77951 77951 0 0.0
.text 559404 559404 0 0.0
lock-ftd LP_CC2652R7 (read only) 674027 674027 0 0.0
(read/write) 167676 167676 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76643 76643 0 0.0
.text 596904 596904 0 0.0
lock-mtd LP_CC2652R7 (read only) 656779 656779 0 0.0
(read/write) 180612 180612 0 0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101731 101731 0 0.0
.text 554568 554568 0 0.0
pump-app LP_CC2652R7 (read only) 684771 684771 0 0.0
(read/write) 157740 157740 0 0.0
.bss 71524 71524 0 0.0
.data 3296 3296 0 0.0
.rodata 89931 89931 0 0.0
.text 594356 594356 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669223 669223 0 0.0
(read/write) 173408 173408 0 0.0
.bss 71644 71644 0 0.0
.data 3292 3292 0 0.0
.rodata 85487 85487 0 0.0
.text 583256 583256 0 0.0
shell LP_CC2652R7 (read only) 664994 664994 0 0.0
(read/write) 182036 182036 0 0.0
.bss 76724 76724 0 0.0
.data 3376 3376 0 0.0
.rodata 85650 85650 0 0.0
.text 579028 579028 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586006 586006 0 0.0
.app_xip_area 462672 462672 0 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591822 591822 0 0.0
.app_xip_area 463704 463704 0 0.0
.bss 70560 70560 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) 598962 598962 0 0.0
.app_xip_area 476348 476348 0 0.0
.bss 65088 65088 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1099996 1099996 0 0.0
.bss 132980 132980 0 0.0
.data 2068 2068 0 0.0
.text 964928 964928 0 0.0
BRD4161A+rpc (read/write) 1154264 1154264 0 0.0
.bss 149668 149668 0 0.0
.data 2280 2280 0 0.0
.text 1002296 1002296 0 0.0
BRD4161A+rs911x (read/write) 989408 989408 0 0.0
.bss 162320 162320 0 0.0
.data 2056 2056 0 0.0
.text 825012 825012 0 0.0
lock-app BRD4161A+wf200 (read/write) 1139116 1139116 0 0.0
.bss 145496 145496 0 0.0
.data 2064 2064 0 0.0
.text 991536 991536 0 0.0
window-app BRD4161A (read/write) 1091444 1091444 0 0.0
.bss 134412 134412 0 0.0
.data 2096 2096 0 0.0
.text 954916 954916 0 0.0
esp32 all-clusters-app c3devkit (read only) 1027616 1027616 0 0.0
(read/write) 1488218 1488218 0 0.0
.dram0.bss 70480 70480 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217704 217704 0 0.0
.flash.text 1027616 1027616 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1081007 1081007 0 0.0
(read/write) 490168 490168 0 0.0
.dram0.bss 75984 75984 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 248044 248044 0 0.0
.flash.text 1075623 1075623 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 645028 645028 0 0.0
.bss 69848 69848 0 0.0
.data 2044 2044 0 0.0
.text 570408 570408 0 0.0
lock k32w0+release (read/write) 702572 702572 0 0.0
.bss 70320 70320 0 0.0
.data 2052 2052 0 0.0
.text 627472 627472 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10130196 10130196 0 0.0
(read/write) 698673 698673 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643424 643424 0 0.0
.dynamic 560 560 0 0.0
.got 13720 13720 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 487412 487412 0 0.0
.text 8005780 8005780 0 0.0
thermostat-no-ble arm64 (read only) 2356244 2356244 0 0.0
(read/write) 141825 141825 0 0.0
.bss 55345 55345 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5048 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140508 140508 0 0.0
.text 1978016 1978016 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454392 2454392 0 0.0
.bss 214692 214692 0 0.0
.data 5872 5872 0 0.0
.text 1417036 1417036 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180003 1180003 0 0.0
bss 143350 143350 0 0.0
rodata 143412 143412 0 0.0
text 814396 814392 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159899 1159899 0 0.0
bss 142588 142588 0 0.0
rodata 135108 135108 0 0.0
text 803384 803384 0 0.0
p6 all-clusters-app default (read only) 881392 881392 0 0.0
(read/write) 1697300 1697300 0 0.0
.bss 149296 149296 0 0.0
.data 2656 2656 0 0.0
.text 1536960 1536960 0 0.0
all-clusters-minimal-app default (read only) 882112 882112 0 0.0
(read/write) 1641340 1641340 0 0.0
.bss 148576 148576 0 0.0
.data 2656 2656 0 0.0
.text 1481720 1481720 0 0.0
light-app default (read only) 890432 890432 0 0.0
(read/write) 1560012 1560012 0 0.0
.bss 140464 140464 0 0.0
.data 2448 2448 0 0.0
.text 1408712 1408712 0 0.0
lock-app default (read only) 885936 885936 0 0.0
(read/write) 1597180 1597180 0 0.0
.bss 144944 144944 0 0.0
.data 2464 2464 0 0.0
.text 1441384 1441384 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808384 808376 -8 -0.0
bss 71096 71096 0 0.0
noinit 43488 43488 0 0.0
text 571312 571308 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 830304 830304 0 0.0
bss 71952 71952 0 0.0
noinit 43488 43488 0 0.0
text 589386 589388 2 0.0

@woody-apple woody-apple enabled auto-merge (squash) August 15, 2022 23:26
@woody-apple woody-apple merged commit 8d8b636 into project-chip:master Aug 15, 2022
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
)

* use ip-acquired indication to trigger dns server

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
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.

3 participants