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

ICD manager Implemenation #27283

Merged
merged 14 commits into from
Jul 10, 2023
Merged

Conversation

jmartinez-silabs
Copy link
Member

@jmartinez-silabs jmartinez-silabs commented Jun 15, 2023

This PR implements the ICD manager using a timer-based and eventing mechanism. It uses the ICD cluster variables to determine the periods in which the ICD manager needs to be in Active or Idle mode.

Additionally, the Commissioning window and failsafe status can keep the ICD in Active Mode for a longer period than the standard Active mode interval specified in the ICD attributes.

Notes:

  • This implementation currently only supports SIT ICDs. LIT support is not complete.
  • most of the changes are gated by the CHIP_CONFIG_ENABLE_ICD_SERVER and does not impact any app not built as an ICD.
  • The Silabs App can now use the ICD options. ICD cluster needs to be enabled on other apps as it is only enabled on our lighting-app. I will configure others in a subsequent PR
  • The old SED options are currently maintained but will be phased out. I intend to remove it completely in the upcoming weeks.

@github-actions
Copy link

github-actions bot commented Jul 7, 2023

PR #27283: Size comparison from 693d5ee to 876e9ff

Increases (36 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, nrfconnect, psoc6, qpg, telink)
platform target config section 693d5ee 876e9ff change % change
bl602 lighting-app bl602 (read/write) 1367614 1367622 8 0.0
.text 1051760 1051766 6 0.0
bl602+rpc (read/write) 1415058 1415066 8 0.0
.text 1083652 1083660 8 0.0
bl702 lighting-app bl702 (read/write) 1178739 1178747 8 0.0
.debug_aranges 151272 151280 8 0.0
.debug_frame 556388 556424 36 0.0
.debug_info 41908427 41915657 7230 0.0
.debug_line 5611487 5611711 224 0.0
.debug_loc 3820896 3821069 173 0.0
.debug_ranges 397176 397184 8 0.0
.debug_str 4381236 4381624 388 0.0
.text 945870 945878 8 0.0
bl702+rpc (read/write) 1277383 1277387 4 0.0
.debug_aranges 159760 159768 8 0.0
.debug_frame 585072 585108 36 0.0
.debug_info 47097470 47104905 7435 0.0
.debug_line 6038157 6038381 224 0.0
.debug_loc 4026318 4026592 274 0.0
.debug_ranges 422864 422872 8 0.0
.debug_str 4809594 4809982 388 0.0
.text 1020270 1020276 6 0.0
bl702l lighting-app bl702l (read/write) 1159120 1159128 8 0.0
.debug_aranges 145416 145424 8 0.0
.debug_frame 535020 535056 36 0.0
.debug_info 41901778 41909007 7229 0.0
.debug_line 5517385 5517609 224 0.0
.debug_loc 3753523 3753711 188 0.0
.debug_ranges 402072 402080 8 0.0
.debug_str 4391930 4392318 388 0.0
.text 934432 934438 6 0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 608002 608010 8 0.0
.debug_aranges 119808 119816 8 0.0
.debug_frame 409264 409296 32 0.0
.debug_info 20014875 20020251 5376 0.0
.debug_line 2884424 2884526 102 0.0
.debug_loclists 1739734 1739796 62 0.0
.debug_rnglists 108193 108199 6 0.0
.debug_str 3824038 3824426 388 0.0
.text 501016 501024 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 545383 545391 8 0.0
.app_xip_area 437841 437849 8 0.0
lock cyw930739m2evb_01 (read/write) 530439 530447 8 0.0
.app_xip_area 417921 417929 8 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1002684 1002764 80 0.0
.text 817848 817928 80 0.0
BRD4187C (read/write) 1029248 1029352 104 0.0
.text 864060 864164 104 0.0
lock-app BRD4161A+wf200 (read/write) 1080560 1080608 48 0.0
.text 901600 901648 48 0.0
esp32 all-clusters-app c3devkit (read only) 1088812 1088824 12 0.0
.flash.text 1088812 1088824 12 0.0
m5stack (read only) 1135487 1135507 20 0.0
.flash.text 1130103 1130123 20 0.0
k32w light k32w0+release (read only) 585196 585212 16 0.0
.text 584660 584676 16 0.0
linux thermostat-no-ble arm64 (read only) 2612012 2612028 16 0.0
.text 2216292 2216308 16 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1224776 1224792 16 0.0
text 850900 850904 4 0.0
nrf7002dk_nrf5340_cpuapp text 762328 762332 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 text 807444 807448 4 0.0
lighting-app nrf52840dk_nrf52840+rpc text 815520 815524 4 0.0
nrf52840dongle_nrf52840 text 778132 778136 4 0.0
nrf5340dk_nrf5340_cpuapp text 758760 758764 4 0.0
pump-app nrf52840dk_nrf52840 text 750512 750516 4 0.0
pump-controller-app nrf52840dk_nrf52840 text 741616 741620 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_aranges 151312 151320 8 0.0
.debug_frame 506940 506972 32 0.0
.debug_info 29714714 29721509 6795 0.0
.debug_line 4092286 4092386 100 0.0
.debug_loclists 2345295 2345359 64 0.0
.debug_rnglists 146711 146717 6 0.0
.debug_str 4433951 4434339 388 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1664684 1664700 16 0.0
.debug_aranges 148544 148552 8 0.0
.debug_frame 502736 502768 32 0.0
.debug_info 28431732 28438170 6438 0.0
.debug_line 4045409 4045509 100 0.0
.debug_loclists 2303535 2303600 65 0.0
.debug_rnglists 143461 143467 6 0.0
.debug_str 4376122 4376510 388 0.0
.text 1466164 1466180 16 0.0
light cy8ckit_062s2_43012 .debug_aranges 138904 138912 8 0.0
.debug_frame 466704 466736 32 0.0
.debug_info 23202138 23208257 6119 0.0
.debug_line 3617246 3617346 100 0.0
.debug_loclists 2144636 2144701 65 0.0
.debug_rnglists 133495 133501 6 0.0
.debug_str 4189873 4190261 388 0.0
lock cy8ckit_062s2_43012 .debug_aranges 137000 137008 8 0.0
.debug_frame 459964 459996 32 0.0
.debug_info 22900009 22906126 6117 0.0
.debug_line 3552531 3552631 100 0.0
.debug_loclists 2113216 2113281 65 0.0
.debug_rnglists 131019 131025 6 0.0
.debug_str 4145057 4145445 388 0.0
qpg lighting-app qpg6105+debug (read/write) 1172336 1172344 8 0.0
.text 619176 619184 8 0.0
telink all-clusters-app tlsr9518adk80d text 721480 721484 4 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 964996 965004 8 0.0
text 668026 668030 4 0.0
bridge-app tlsr9518adk80d text 643082 643086 4 0.0
lighting-app tlsr9518adk80d (read/write) 968952 968960 8 0.0
text 681994 681998 4 0.0
lighting-app-factory-data tlsr9518adk80d text 689514 689516 2 0.0
lighting-app-rpc tlsr9518adk80d text 726886 726888 2 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1069800 1069808 8 0.0
text 747032 747036 4 0.0
ota-requestor-app tlsr9518adk80d text 608096 608100 4 0.0
Decreases (21 builds for k32w, linux, nrfconnect, qpg, telink)
platform target config section 693d5ee 876e9ff change % change
k32w contact k32w0+release (read only) 586508 586492 -16 -0.0
.text 585972 585956 -16 -0.0
linux all-clusters-app debug (read only) 3344357 3344341 -16 -0.0
.text 2918133 2918117 -16 -0.0
chip-tool debug (read only) 18170537 18170521 -16 -0.0
.text 15600035 15600019 -16 -0.0
chip-tool-ipv6only arm64 (read only) 17485104 17485088 -16 -0.0
.text 14807540 14807524 -16 -0.0
lock-app debug (read only) 2618933 2618917 -16 -0.0
.text 2253477 2253461 -16 -0.0
ota-provider-app debug (read only) 2215437 2215421 -16 -0.0
.text 1918981 1918965 -16 -0.0
nrfconnect light-switch-app nrf52840dk_nrf52840 text 769192 769188 -4 -0.0
nrf7002dk_nrf5340_cpuapp text 738168 738164 -4 -0.0
lighting-app nrf7002dk_nrf5340_cpuapp text 738168 738164 -4 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1122868 1122852 -16 -0.0
text 772456 772448 -8 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1035544 1035528 -16 -0.0
text 689240 689236 -4 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1380820 1380804 -16 -0.0
text 742240 742232 -8 -0.0
qpg lock-app qpg6105+debug (read/write) 1130464 1130456 -8 -0.0
.text 577308 577300 -8 -0.0
telink contact-sensor-app tlsr9518adk80d (read/write) 862104 862096 -8 -0.0
text 586254 586246 -8 -0.0
light-switch-app tlsr9518adk80d (read/write) 890716 890708 -8 -0.0
text 611716 611708 -8 -0.0
lock-app tlsr9518adk80d (read/write) 917216 917208 -8 -0.0
text 614920 614914 -6 -0.0
pump-app tlsr9518adk80d (read/write) 867704 867696 -8 -0.0
text 592012 592006 -6 -0.0
pump-controller-app tlsr9518adk80d (read/write) 854724 854716 -8 -0.0
text 582356 582348 -8 -0.0
temperature-measurement-app tlsr9518adk80d (read/write) 850880 850864 -16 -0.0
text 577986 577976 -10 -0.0
thermostat tlsr9518adk80d (read/write) 896792 896784 -8 -0.0
text 617404 617394 -10 -0.0
window-covering tlsr9518adk80d (read/write) 892164 892156 -8 -0.0
text 612324 612316 -8 -0.0
Full report (69 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 693d5ee 876e9ff change % change
bl602 lighting-app bl602 (read/write) 1367614 1367622 8 0.0
.bss 83942 83942 0 0.0
.data 9624 9624 0 0.0
.text 1051760 1051766 6 0.0
bl602+rpc (read/write) 1415058 1415066 8 0.0
.bss 91990 91990 0 0.0
.data 10024 10024 0 0.0
.text 1083652 1083660 8 0.0
bl702 lighting-app bl702 (read/write) 1178739 1178747 8 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 77773 77773 0 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3592 3592 0 0.0
.debug_abbrev 1551942 1551942 0 0.0
.debug_aranges 151272 151280 8 0.0
.debug_frame 556388 556424 36 0.0
.debug_info 41908427 41915657 7230 0.0
.debug_line 5611487 5611711 224 0.0
.debug_loc 3820896 3821069 173 0.0
.debug_ranges 397176 397184 8 0.0
.debug_str 4381236 4381624 388 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 105700 105700 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 582236 582236 0 0.0
.symtab 174176 174176 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3394 3394 0 0.0
.text 0 0 0 0.0
945870 945878 8 0.0
bl702+rpc (read/write) 1277383 1277387 4 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 85821 85821 0 0.0
.bss_psram 25072 25072 0 0.0
.comment 48 48 0 0.0
.data 4144 4144 0 0.0
.debug_abbrev 1717553 1717553 0 0.0
.debug_aranges 159760 159768 8 0.0
.debug_frame 585072 585108 36 0.0
.debug_info 47097470 47104905 7435 0.0
.debug_line 6038157 6038381 224 0.0
.debug_loc 4026318 4026592 274 0.0
.debug_ranges 422864 422872 8 0.0
.debug_str 4809594 4809982 388 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 120352 120352 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 645177 645177 0 0.0
.symtab 193088 193088 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3394 3394 0 0.0
.text 0 0 0 0.0
1020270 1020276 6 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1159120 1159128 8 0.0
.boot2 292 292 0 0.0
.bss 40776 40776 0 0.0
.bss_psram 69168 69168 0 0.0
.comment 48 48 0 0.0
.data 4560 4560 0 0.0
.debug_abbrev 1552845 1552845 0 0.0
.debug_aranges 145416 145424 8 0.0
.debug_frame 535020 535056 36 0.0
.debug_info 41901778 41909007 7229 0.0
.debug_line 5517385 5517609 224 0.0
.debug_loc 3753523 3753711 188 0.0
.debug_ranges 402072 402080 8 0.0
.debug_str 4391930 4392318 388 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 140 140 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 99648 99648 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 582143 582143 0 0.0
.symtab 173504 173504 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
934432 934438 6 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 608002 608010 8 0.0
(read/write) 204172 204172 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197584 197584 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 948147 948147 0 0.0
.debug_aranges 119808 119816 8 0.0
.debug_frame 409264 409296 32 0.0
.debug_info 20014875 20020251 5376 0.0
.debug_line 2884424 2884526 102 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1739734 1739796 62 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 108193 108199 6 0.0
.debug_str 3824038 3824426 388 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104866 104866 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 485242 485242 0 0.0
.symtab 288304 288304 0 0.0
.text 501016 501024 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 545383 545391 8 0.0
.app_xip_area 437841 437849 8 0.0
.bss 62512 62512 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 530439 530447 8 0.0
.app_xip_area 417921 417929 8 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 568471 568471 0 0.0
.app_xip_area 462017 462017 0 0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 541623 541623 0 0.0
.app_xip_area 432217 432217 0 0.0
.bss 64344 64344 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1002684 1002764 80 0.0
.bss 182124 182124 0 0.0
.data 2692 2692 0 0.0
.text 817848 817928 80 0.0
BRD4187C (read/write) 1029248 1029352 104 0.0
.bss 161860 161860 0 0.0
.data 3308 3308 0 0.0
.text 864060 864164 104 0.0
lock-app BRD4161A+wf200 (read/write) 1080560 1080608 48 0.0
.bss 176244 176244 0 0.0
.data 2696 2696 0 0.0
.text 901600 901648 48 0.0
window-app BRD4187C (read/write) 1099648 1099648 0 0.0
.bss 144876 144876 0 0.0
.data 3204 3204 0 0.0
.text 951548 951548 0 0.0
esp32 all-clusters-app c3devkit (read only) 1088812 1088824 12 0.0
(read/write) 1586728 1586728 0 0.0
.dram0.bss 75944 75944 0 0.0
.dram0.data 13940 13940 0 0.0
.flash.rodata 217696 217696 0 0.0
.flash.text 1088812 1088824 12 0.0
.iram0.text 76740 76740 0 0.0
m5stack (read only) 1135487 1135507 20 0.0
(read/write) 497126 497126 0 0.0
.dram0.bss 81424 81424 0 0.0
.dram0.data 34304 34304 0 0.0
.flash.rodata 246248 246248 0 0.0
.flash.text 1130103 1130123 20 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 586508 586492 -16 -0.0
(read/write) 90112 90112 0 0.0
.bss 66108 66108 0 0.0
.data 2168 2168 0 0.0
.text 585972 585956 -16 -0.0
light k32w0+release (read only) 585196 585212 16 0.0
(read/write) 89760 89760 0 0.0
.bss 65772 65772 0 0.0
.data 2156 2156 0 0.0
.text 584660 584676 16 0.0
lock k32w0+release (read only) 557788 557788 0 0.0
(read/write) 87560 87560 0 0.0
.bss 63636 63636 0 0.0
.data 2100 2100 0 0.0
.text 557252 557252 0 0.0
linux all-clusters-app debug (read only) 3344357 3344341 -16 -0.0
(read/write) 160904 160904 0 0.0
.bss 60288 60288 0 0.0
.data 2160 2160 0 0.0
.data.rel.ro 91944 91944 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 233384 233384 0 0.0
.text 2918133 2918117 -16 -0.0
all-clusters-minimal-app debug (read only) 3057709 3057709 0 0.0
(read/write) 146664 146664 0 0.0
.bss 58176 58176 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 79960 79960 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 224488 224488 0 0.0
.text 2646341 2646341 0 0.0
bridge-app debug (read only) 2526237 2526237 0 0.0
(read/write) 129960 129960 0 0.0
.bss 50296 50296 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 69864 69864 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 173000 173000 0 0.0
.text 2180101 2180101 0 0.0
chip-tool debug (read only) 18170537 18170521 -16 -0.0
(read/write) 843088 843088 0 0.0
.bss 93528 93528 0 0.0
.data 5154 5154 0 0.0
.data.rel.ro 737072 737072 0 0.0
.dynamic 624 624 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 765825 765825 0 0.0
.text 15600035 15600019 -16 -0.0
chip-tool-ipv6only arm64 (read only) 17485104 17485088 -16 -0.0
(read/write) 910664 910664 0 0.0
.bss 102936 102936 0 0.0
.data 4448 4448 0 0.0
.data.rel.ro 774320 774320 0 0.0
.dynamic 560 560 0 0.0
.got 23472 23472 0 0.0
.init 24 24 0 0.0
.init_array 240 240 0 0.0
.rodata 688520 688520 0 0.0
.text 14807540 14807524 -16 -0.0
lighting-app debug+rpc+ui (read only) 5210585 5210585 0 0.0
(read/write) 220712 220712 0 0.0
.bss 117248 117248 0 0.0
.data 4880 4880 0 0.0
.data.rel.ro 91048 91048 0 0.0
.dynamic 672 672 0 0.0
.got 5912 5912 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 329300 329300 0 0.0
.text 4641507 4641507 0 0.0
lock-app debug (read only) 2618933 2618917 -16 -0.0
(read/write) 117360 117360 0 0.0
.bss 45376 45376 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 64024 64024 0 0.0
.dynamic 608 608 0 0.0
.got 4592 4592 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 200488 200488 0 0.0
.text 2253477 2253461 -16 -0.0
ota-provider-app debug (read only) 2215437 2215421 -16 -0.0
(read/write) 103952 103952 0 0.0
.bss 44560 44560 0 0.0
.data 2112 2112 0 0.0
.data.rel.ro 52184 52184 0 0.0
.dynamic 608 608 0 0.0
.got 3800 3800 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 154120 154120 0 0.0
.text 1918981 1918965 -16 -0.0
ota-requestor-app debug (read only) 2384421 2384421 0 0.0
(read/write) 111744 111744 0 0.0
.bss 47024 47024 0 0.0
.data 2512 2512 0 0.0
.data.rel.ro 57040 57040 0 0.0
.dynamic 608 608 0 0.0
.got 3784 3784 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 158216 158216 0 0.0
.text 2074997 2074997 0 0.0
shell debug (read only) 2880497 2880497 0 0.0
(read/write) 149320 149320 0 0.0
.bss 59240 59240 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 83000 83000 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 201554 201554 0 0.0
.text 2510130 2510130 0 0.0
thermostat-no-ble arm64 (read only) 2612012 2612028 16 0.0
(read/write) 143128 143128 0 0.0
.bss 52376 52376 0 0.0
.data 1736 1736 0 0.0
.data.rel.ro 79392 79392 0 0.0
.dynamic 560 560 0 0.0
.got 5512 5512 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 129904 129904 0 0.0
.text 2216292 2216308 16 0.0
tv-app debug (read only) 3321233 3321233 0 0.0
(read/write) 261856 261856 0 0.0
.bss 171264 171264 0 0.0
.data 4080 4080 0 0.0
.data.rel.ro 79776 79776 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 222808 222808 0 0.0
.text 2901426 2901426 0 0.0
tv-casting-app debug (read only) 9321089 9321089 0 0.0
(read/write) 221744 221744 0 0.0
.bss 52096 52096 0 0.0
.data 1744 1744 0 0.0
.data.rel.ro 161296 161296 0 0.0
.dynamic 608 608 0 0.0
.got 4968 4968 0 0.0
.init 27 27 0 0.0
.init_array 1000 1000 0 0.0
.rodata 331284 331284 0 0.0
.text 8554802 8554802 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2515576 2515576 0 0.0
.bss 216312 216312 0 0.0
.data 5152 5152 0 0.0
.text 1478260 1478260 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1224776 1224792 16 0.0
bss 155370 155370 0 0.0
rodata 139436 139436 0 0.0
text 850900 850904 4 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1325796 1325796 0 0.0
bss 138696 138696 0 0.0
rodata 134056 134056 0 0.0
text 762328 762332 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1151756 1151756 0 0.0
bss 153489 153489 0 0.0
rodata 111728 111728 0 0.0
text 807444 807448 4 0.0
light-switch-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1097360 1097360 0 0.0
bss 147887 147887 0 0.0
rodata 101284 101284 0 0.0
text 769192 769188 -4 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1354476 1354476 0 0.0
bss 132920 132920 0 0.0
rodata 188092 188092 0 0.0
text 738168 738164 -4 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read only) 4 4 0 0.0
(read/write) 1152028 1152028 0 0.0
bss 158191 158191 0 0.0
rodata 98056 98056 0 0.0
text 815520 815524 4 0.0
nrf52840dongle_nrf52840 (read only) 4 4 0 0.0
(read/write) 1117304 1117304 0 0.0
bss 166355 166355 0 0.0
rodata 87828 87828 0 0.0
text 778132 778136 4 0.0
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1097572 1097572 0 0.0
bss 155227 155227 0 0.0
rodata 100096 100096 0 0.0
text 758760 758764 4 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1354476 1354476 0 0.0
bss 132920 132920 0 0.0
rodata 188092 188092 0 0.0
text 738168 738164 -4 -0.0
lock-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1122868 1122852 -16 -0.0
bss 148556 148556 0 0.0
rodata 122896 122896 0 0.0
text 772456 772448 -8 -0.0
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1035544 1035528 -16 -0.0
bss 145788 145788 0 0.0
rodata 117052 117052 0 0.0
text 689240 689236 -4 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1380820 1380804 -16 -0.0
bss 133589 133589 0 0.0
rodata 209720 209720 0 0.0
text 742240 742232 -8 -0.0
pump-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1074852 1074852 0 0.0
bss 147313 147313 0 0.0
rodata 98152 98152 0 0.0
text 750512 750516 4 0.0
pump-controller-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1062712 1062712 0 0.0
bss 147112 147112 0 0.0
rodata 95036 95036 0 0.0
text 741616 741620 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841360 841360 0 0.0
(read/write) 1746332 1746332 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189412 189412 0 0.0
.comment 212 212 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 2568 2568 0 0.0
.debug_abbrev 1314193 1314193 0 0.0
.debug_aranges 151312 151320 8 0.0
.debug_frame 506940 506972 32 0.0
.debug_info 29714714 29721509 6795 0.0
.debug_line 4092286 4092386 100 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2345295 2345359 64 0.0
.debug_rnglists 146711 146717 6 0.0
.debug_str 4433951 4434339 388 0.0
.heap 841360 841360 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 775776 775776 0 0.0
.symtab 488144 488144 0 0.0
.text 0 0 0 0.0
1545964 1545964 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843208 843208 0 0.0
(read/write) 1664684 1664700 16 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187572 187572 0 0.0
.comment 212 212 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 2560 2560 0 0.0
.debug_abbrev 1281923 1281923 0 0.0
.debug_aranges 148544 148552 8 0.0
.debug_frame 502736 502768 32 0.0
.debug_info 28431732 28438170 6438 0.0
.debug_line 4045409 4045509 100 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2303535 2303600 65 0.0
.debug_rnglists 143461 143467 6 0.0
.debug_str 4376122 4376510 388 0.0
.heap 843208 843208 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 703417 703417 0 0.0
.symtab 461792 461792 0 0.0
.text 1466164 1466180 16 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849416 849416 0 0.0
(read/write) 1597356 1597356 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181532 181532 0 0.0
.comment 212 212 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 2392 2392 0 0.0
.debug_abbrev 1118801 1118801 0 0.0
.debug_aranges 138904 138912 8 0.0
.debug_frame 466704 466736 32 0.0
.debug_info 23202138 23208257 6119 0.0
.debug_line 3617246 3617346 100 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2144636 2144701 65 0.0
.debug_rnglists 133495 133501 6 0.0
.debug_str 4189873 4190261 388 0.0
.heap 849416 849416 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 626914 626914 0 0.0
.symtab 427328 427328 0 0.0
.text 1405044 1405044 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821960 821960 0 0.0
(read/write) 1628252 1628252 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208988 208988 0 0.0
.comment 212 212 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 2392 2392 0 0.0
.debug_abbrev 1101007 1101007 0 0.0
.debug_aranges 137000 137008 8 0.0
.debug_frame 459964 459996 32 0.0
.debug_info 22900009 22906126 6117 0.0
.debug_line 3552531 3552631 100 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2113216 2113281 65 0.0
.debug_rnglists 131019 131025 6 0.0
.debug_str 4145057 4145445 388 0.0
.heap 821960 821960 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 597143 597143 0 0.0
.symtab 417616 417616 0 0.0
.text 1408484 1408484 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1172336 1172344 8 0.0
.bss 99960 99960 0 0.0
.data 788 788 0 0.0
.text 619176 619184 8 0.0
lock-app qpg6105+debug (read/write) 1130464 1130456 -8 -0.0
.bss 94816 94816 0 0.0
.data 792 792 0 0.0
.text 577308 577300 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1050624 1050624 0 0.0
bss 98292 98292 0 0.0
text 721480 721484 4 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 964996 965004 8 0.0
bss 96288 96288 0 0.0
text 668026 668030 4 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 930404 930404 0 0.0
bss 100312 100312 0 0.0
text 643082 643086 4 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 862104 862096 -8 -0.0
bss 89972 89972 0 0.0
text 586254 586246 -8 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 890716 890708 -8 -0.0
bss 90516 90516 0 0.0
text 611716 611708 -8 -0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 968952 968960 8 0.0
bss 98652 98652 0 0.0
text 681994 681998 4 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 980332 980332 0 0.0
bss 102900 102900 0 0.0
text 689514 689516 2 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1038444 1038444 0 0.0
bss 100208 100208 0 0.0
text 726886 726888 2 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1069800 1069808 8 0.0
bss 111292 111292 0 0.0
text 747032 747036 4 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 917216 917208 -8 -0.0
bss 90636 90636 0 0.0
text 614920 614914 -6 -0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 884704 884704 0 0.0
bss 91248 91248 0 0.0
text 608096 608100 4 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 867704 867696 -8 -0.0
bss 90104 90104 0 0.0
text 592012 592006 -6 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 854724 854716 -8 -0.0
bss 89904 89904 0 0.0
text 582356 582348 -8 -0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 850880 850864 -16 -0.0
bss 89812 89812 0 0.0
text 577986 577976 -10 -0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 896792 896784 -8 -0.0
bss 90348 90348 0 0.0
text 617404 617394 -10 -0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 892164 892156 -8 -0.0
bss 90640 90640 0 0.0
text 612324 612316 -8 -0.0

src/app/icd/ICDEventManager.cpp Show resolved Hide resolved
src/app/icd/ICDEventManager.cpp Outdated Show resolved Hide resolved
src/app/icd/ICDEventManager.cpp Outdated Show resolved Hide resolved
src/app/icd/ICDManager.cpp Outdated Show resolved Hide resolved
src/app/icd/ICDManager.cpp Show resolved Hide resolved
src/include/platform/CHIPDeviceEvent.h Outdated Show resolved Hide resolved
src/include/platform/CHIPDeviceEvent.h Show resolved Hide resolved
src/messaging/ExchangeContext.cpp Outdated Show resolved Hide resolved
src/messaging/ExchangeContext.cpp Show resolved Hide resolved
src/messaging/ExchangeContext.cpp Show resolved Hide resolved
@mergify mergify bot merged commit ac060dc into project-chip:master Jul 10, 2023
@jmartinez-silabs
Copy link
Member Author

jmartinez-silabs commented Jul 10, 2023

@jmartinez-silabs jmartinez-silabs deleted the ICD_Manager branch July 10, 2023 21:34
woody-apple pushed a commit to woody-apple/connectedhomeip that referenced this pull request Jul 12, 2023
* Add Events for ICD (WIP)

* Rename SED defines, Add some timer funcionality to Extend a existing timer. Implemented ICDModes and initial operationalState logic WIP

* Change SetFastPolling and SetSlowPolling to setPollingInterval with a param. Call is handled by ICD Manager. Replace the sed ifdef by icd for silabs platform WIP

* Fix a bunch of dependencies, includes and build issues WIP

* Use a init function instead of the constructor, as the attributes value aren't ready

* Add a Keep active mechanism for commisisoning window and failsafe

* cleanup, add app user wakeup

change #ifdef to #if

fix missing rename. add // nogncheck on some conditional include

Fix some error caught by the ci

* Addresses comments + conditional define for tests

* SetPollingInterval causes issue for apps that has both thread and wifi. Priority to the thread imp for now. Needs to be reworked

* Rebase, It brings updated system Apis, And addresse most of the comments

* Stay active when an exchange context expect a response.

* Update The message rx handling event naming. Move related ICD events to PublicEventTypes for the time being

* #if ICD_SERVER the icd related event posts

* Address comments and nits
doru91 added a commit to NXP/matter that referenced this pull request Aug 4, 2023
Add platform configurations required to use the ICD Manager
Implementation (introduced by upstream PR project-chip#27283).

Signed-off-by: Doru Gucea <[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.

5 participants