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 'Failed to get extended timeout configuration' error #13280

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

lmpprk
Copy link
Contributor

@lmpprk lmpprk commented Dec 30, 2021

Problem

What is being fixed? Examples:

Change overview

Add SetExtendedDiscoveryTimeoutSecs (20 seconds, referencing other example app) to nrf light example

Testing

Log observed on nRF52840dongle

[00:15:00.475,311] <dbg> chip.LogV: [DIS]GetExtendedDiscoveryTimeoutSecs 20
[00:15:00.475,402] <dbg> chip.LogV: [DIS]Scheduling Extended Discovery timeout in secs=20
[00:15:00.529,022] <dbg> chip.LogV: [DL]CHIPoBLE advertising set to off
[00:15:00.529,144] <inf> chip: [DL]CHIPoBLE advertising disabled because of timeout expired
[00:15:00.529,571] <inf> chip: [DL]CHIPoBLE advertising stopped
[00:15:00.529,754] <inf> chip: [DL]NFC Tag emulation stopped
[00:15:20.476,074] <dbg> chip.LogV: [DIS]OnExpiration - valid time out
[00:15:20.476,165] <dbg> chip.LogV: [DL]Using Thread extended MAC for hostname.

@github-actions
Copy link

github-actions bot commented Jan 4, 2022

PR #13280: Size comparison from 99c1985 to 0983769

Full report (19 builds for k32w, linux, p6, qpg, telink)
platform target config section 99c1985 0983769 change % change
k32w light k32w061+release (read/write) 647440 647440 0 0.0
.bss 76184 76184 0 0.0
.data 1904 1904 0 0.0
.text 563552 563552 0 0.0
lock k32w061+release (read/write) 632264 632264 0 0.0
.bss 75896 75896 0 0.0
.data 1860 1860 0 0.0
.text 548708 548708 0 0.0
linux all-clusters-app debug (read only) 2081089 2081089 0 0.0
(read/write) 141632 141632 0 0.0
.bss 60896 60896 0 0.0
.data 1184 1184 0 0.0
.data.rel.ro 73984 73984 0 0.0
.dynamic 592 592 0 0.0
.got 4152 4152 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 168420 168420 0 0.0
.text 1756818 1756818 0 0.0
bridge-app debug+rpc (read only) 1587573 1587573 0 0.0
(read/write) 86720 86720 0 0.0
.bss 44576 44576 0 0.0
.data 1760 1760 0 0.0
.data.rel.ro 35248 35248 0 0.0
.dynamic 592 592 0 0.0
.got 4000 4000 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 134196 134196 0 0.0
.text 1341141 1341141 0 0.0
chip-tool debug (read only) 7021389 7021389 0 0.0
(read/write) 212728 212728 0 0.0
.bss 37816 37816 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 168072 168072 0 0.0
.dynamic 592 592 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 600 600 0 0.0
.rodata 379121 379121 0 0.0
.text 6213877 6213877 0 0.0
chip-tool-ipv6only arm64 (read only) 7010188 7010188 0 0.0
(read/write) 324849 324849 0 0.0
.bss 54209 54209 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 208960 208960 0 0.0
.dynamic 560 560 0 0.0
.got 56880 56880 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 383300 383300 0 0.0
.text 5934516 5934516 0 0.0
lighting-app debug+rpc (read only) 1858609 1858609 0 0.0
(read/write) 118816 118816 0 0.0
.bss 49376 49376 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 62712 62712 0 0.0
.dynamic 608 608 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 152892 152892 0 0.0
.text 1555938 1555938 0 0.0
ota-provider-app debug (read only) 1497369 1497369 0 0.0
(read/write) 82592 82592 0 0.0
.bss 46176 46176 0 0.0
.data 936 936 0 0.0
.data.rel.ro 30216 30216 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 568 568 0 0.0
.rodata 133398 133398 0 0.0
.text 1254626 1254626 0 0.0
ota-requestor-app debug (read only) 1569825 1569825 0 0.0
(read/write) 86024 86024 0 0.0
.bss 47872 47872 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 31832 31832 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 138119 138119 0 0.0
.text 1319650 1319650 0 0.0
shell debug (read only) 867177 867177 0 0.0
(read/write) 61968 61968 0 0.0
.bss 17064 17064 0 0.0
.data 256 256 0 0.0
.data.rel.ro 40056 40056 0 0.0
.dynamic 592 592 0 0.0
.got 3616 3616 0 0.0
.init 27 27 0 0.0
.init_array 352 352 0 0.0
.rodata 88338 88338 0 0.0
.text 668386 668386 0 0.0
thermostat-no-ble arm64 (read only) 2021852 2021852 0 0.0
(read/write) 143937 143937 0 0.0
.bss 63985 63985 0 0.0
.data 880 880 0 0.0
.data.rel.ro 72200 72200 0 0.0
.dynamic 560 560 0 0.0
.got 3936 3936 0 0.0
.init 24 24 0 0.0
.init_array 296 296 0 0.0
.rodata 128476 128476 0 0.0
.text 1680848 1680848 0 0.0
tv-app debug (read only) 2174785 2174785 0 0.0
(read/write) 371224 371224 0 0.0
.bss 294368 294368 0 0.0
.data 2848 2848 0 0.0
.data.rel.ro 68032 68032 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 184884 184884 0 0.0
.text 1826802 1826802 0 0.0
p6 all-clusters-app default (read/write) 2391112 2391112 0 0.0
.bss 116564 116564 0 0.0
.data 2552 2552 0 0.0
.text 1349376 1349376 0 0.0
light-app default (read/write) 2323680 2323680 0 0.0
.bss 105856 105856 0 0.0
.data 2384 2384 0 0.0
.text 1281944 1281944 0 0.0
lock-app default (read/write) 2295880 2295880 0 0.0
.bss 104736 104736 0 0.0
.data 2336 2336 0 0.0
.text 1254144 1254144 0 0.0
qpg lighting-app qpg6105+debug (read only) 531096 531096 0 0.0
(read/write) 146936 146936 0 0.0
.bss 86656 86656 0 0.0
.data 1004 1004 0 0.0
.text 525776 525776 0 0.0
lock-app qpg6105+debug (read only) 502876 502876 0 0.0
(read/write) 146940 146940 0 0.0
.bss 85792 85792 0 0.0
.data 952 952 0 0.0
.text 497556 497556 0 0.0
persistent-storage-app qpg6105+debug (read only) 106448 106448 0 0.0
(read/write) 146938 146938 0 0.0
.bss 36146 36146 0 0.0
.data 288 288 0 0.0
.text 101128 101128 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 831754 831754 0 0.0
bss 86840 86840 0 0.0
noinit 37160 37160 0 0.0
text 580232 580232 0 0.0

@andy31415
Copy link
Contributor

fast track: platform specific change

@andy31415 andy31415 merged commit fa89fc4 into project-chip:master Jan 4, 2022
@lmpprk lmpprk deleted the discovery-timeout branch January 4, 2022 23:09
step0035 pushed a commit to hank820/connectedhomeip that referenced this pull request Feb 8, 2022
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.

nRF lighting app example getting "Failed to get extended timeout configuration" error
2 participants