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

ESP32: check ap info in IsStationConnected #31438

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

wqx6
Copy link
Contributor

@wqx6 wqx6 commented Jan 16, 2024

We should also check the AP info for ESP32Utils::IsStationConnected() to make sure that the ESP32 STA netif connects to a certain AP.

Copy link

github-actions bot commented Jan 16, 2024

PR #31438: Size comparison from 7ef397e to b9ca45f

Increases (1 build for esp32)
platform target config section 7ef397e b9ca45f change % change
esp32 all-clusters-app c3devkit (read only) 1159178 1159186 8 0.0
.flash.text 1159178 1159186 8 0.0
Decreases (2 builds for efr32, esp32)
platform target config section 7ef397e b9ca45f change % change
efr32 lighting-app BRD4161A+rs9116 (read/write) 1042384 1042376 -8 -0.0
.text 846932 846924 -8 -0.0
esp32 all-clusters-app m5stack (read only) 1205039 1205031 -8 -0.0
.flash.text 1198875 1198867 -8 -0.0
Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 7ef397e b9ca45f change % change
bl602 lighting-app bl602 (read/write) 1420086 1420086 0 0.0
.bss 85184 85184 0 0.0
.data 9488 9488 0 0.0
.rodata 157048 157048 0 0.0
.text 1087726 1087726 0 0.0
bl602+mfd (read/write) 1434558 1434558 0 0.0
.bss 85352 85352 0 0.0
.data 9456 9456 0 0.0
.rodata 156008 156008 0 0.0
.text 1103094 1103094 0 0.0
bl602+rpc (read/write) 1467822 1467822 0 0.0
.bss 93216 93216 0 0.0
.data 9856 9856 0 0.0
.rodata 164616 164616 0 0.0
.text 1119474 1119474 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1184899 1184899 0 0.0
.bss 11133 11133 0 0.0
.data 3656 3656 0 0.0
.rodata 106420 106420 0 0.0
.text 957160 957160 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1195775 1195775 0 0.0
.bss 11309 11309 0 0.0
.data 3640 3640 0 0.0
.rodata 105360 105360 0 0.0
.text 968968 968968 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1276535 1276535 0 0.0
.bss 19597 19597 0 0.0
.data 4216 4216 0 0.0
.rodata 121792 121792 0 0.0
.text 1031970 1031970 0 0.0
bl706-eth (read/write) 1004249 1004249 0 0.0
.bss 23692 23692 0 0.0
.data 3232 3232 0 0.0
.rodata 99752 99752 0 0.0
.text 749796 749796 0 0.0
bl706-wifi (read/write) 1235138 1235138 0 0.0
.bss 10577 10577 0 0.0
.data 3672 3672 0 0.0
.rodata 120732 120732 0 0.0
.text 977928 977928 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1154288 1154288 0 0.0
.bss 16328 16328 0 0.0
.data 5024 5024 0 0.0
.rodata 100424 100424 0 0.0
.text 950030 950030 0 0.0
bl702l+mfd (read/write) 1166252 1166252 0 0.0
.bss 16504 16504 0 0.0
.data 5000 5000 0 0.0
.rodata 99364 99364 0 0.0
.text 962406 962406 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 778080 778080 0 0.0
(read/write) 168380 168380 0 0.0
.bss 90452 90452 0 0.0
.data 3524 3524 0 0.0
.rodata 88904 88904 0 0.0
.text 688912 688912 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 794088 794088 0 0.0
(read/write) 178608 178608 0 0.0
.bss 100628 100628 0 0.0
.data 3552 3552 0 0.0
.rodata 83112 83112 0 0.0
.text 710708 710708 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 782392 782392 0 0.0
(read/write) 173064 173064 0 0.0
.bss 95084 95084 0 0.0
.data 3552 3552 0 0.0
.rodata 109760 109760 0 0.0
.text 672364 672364 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 735000 735000 0 0.0
(read/write) 167384 167384 0 0.0
.bss 89232 89232 0 0.0
.data 3512 3512 0 0.0
.rodata 84488 84488 0 0.0
.text 650248 650248 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 720528 720528 0 0.0
(read/write) 167564 167564 0 0.0
.bss 89416 89416 0 0.0
.data 3508 3508 0 0.0
.rodata 80328 80328 0 0.0
.text 639936 639936 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 568106 568106 0 0.0
(read/write) 207744 207744 0 0.0
.bss 201028 201028 0 0.0
.data 1592 1592 0 0.0
.rodata 84034 84034 0 0.0
.text 481948 481948 0 0.0
lock CC3235SF_LAUNCHXL (read only) 621458 621458 0 0.0
(read/write) 208144 208144 0 0.0
.bss 201504 201504 0 0.0
.data 1520 1520 0 0.0
.rodata 105898 105898 0 0.0
.text 513436 513436 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 562103 562103 0 0.0
.app_xip_area 452257 452257 0 0.0
.bss 64688 64688 0 0.0
.data 732 732 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 544359 544359 0 0.0
.app_xip_area 429777 429777 0 0.0
.bss 69384 69384 0 0.0
.data 772 772 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 563103 563103 0 0.0
.app_xip_area 454713 454713 0 0.0
.bss 63272 63272 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 558679 558679 0 0.0
.app_xip_area 447057 447057 0 0.0
.bss 66392 66392 0 0.0
.data 804 804 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1042384 1042376 -8 -0.0
.bss 192656 192656 0 0.0
.data 2776 2776 0 0.0
.text 846932 846924 -8 -0.0
BRD4187C (read/write) 1105216 1105216 0 0.0
.bss 194932 194932 0 0.0
.data 3384 3384 0 0.0
.text 906880 906880 0 0.0
lock-app BRD4161A+wf200 (read/write) 1118332 1118332 0 0.0
.bss 188040 188040 0 0.0
.data 2800 2800 0 0.0
.text 927472 927472 0 0.0
window-app BRD4187C (read/write) 1138440 1138440 0 0.0
.bss 166924 166924 0 0.0
.data 3292 3292 0 0.0
.text 968204 968204 0 0.0
esp32 all-clusters-app c3devkit (read only) 1159178 1159186 8 0.0
(read/write) 1670416 1670416 0 0.0
.dram0.bss 71752 71752 0 0.0
.dram0.data 13588 13588 0 0.0
.flash.rodata 241072 241072 0 0.0
.flash.text 1159178 1159186 8 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1205039 1205031 -8 -0.0
(read/write) 521028 521028 0 0.0
.dram0.bss 78616 78616 0 0.0
.dram0.data 35132 35132 0 0.0
.flash.rodata 271360 271360 0 0.0
.flash.text 1198875 1198867 -8 -0.0
.iram0.text 125403 125403 0 0.0
k32w contact k32w0+release (read only) 606672 606672 0 0.0
(read/write) 81172 81172 0 0.0
.bss 68952 68952 0 0.0
.data 2236 2236 0 0.0
.text 606136 606136 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 691964 691964 0 0.0
.bss 67608 67608 0 0.0
.data 2788 2788 0 0.0
.text 578096 578096 0 0.0
light k32w0+release (read only) 596032 596032 0 0.0
(read/write) 79188 79188 0 0.0
.bss 67016 67016 0 0.0
.data 2188 2188 0 0.0
.text 595496 595496 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 783760 783760 0 0.0
.bss 77284 77284 0 0.0
.data 2000 2000 0 0.0
.text 661024 661024 0 0.0
lock k32w0+release (read only) 577488 577488 0 0.0
(read/write) 78644 78644 0 0.0
.bss 66496 66496 0 0.0
.data 2164 2164 0 0.0
.text 576952 576952 0 0.0
linux air-purifier-app debug (read only) 2534605 2534605 0 0.0
(read/write) 127192 127192 0 0.0
.bss 46272 46272 0 0.0
.data 2144 2144 0 0.0
.data.rel.ro 72856 72856 0 0.0
.dynamic 608 608 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 179688 179688 0 0.0
.text 2179637 2179637 0 0.0
all-clusters-app debug (read only) 5467681 5467681 0 0.0
(read/write) 459640 459640 0 0.0
.bss 131600 131600 0 0.0
.data 4448 4448 0 0.0
.data.rel.ro 316376 316376 0 0.0
.dynamic 624 624 0 0.0
.got 5336 5336 0 0.0
.init 27 27 0 0.0
.init_array 1248 1248 0 0.0
.rodata 315708 315708 0 0.0
.text 4738467 4738467 0 0.0
all-clusters-minimal-app debug (read only) 4960513 4960513 0 0.0
(read/write) 234640 234640 0 0.0
.bss 127216 127216 0 0.0
.data 4384 4384 0 0.0
.data.rel.ro 95976 95976 0 0.0
.dynamic 624 624 0 0.0
.got 5296 5296 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 271885 271885 0 0.0
.text 4456339 4456339 0 0.0
bridge-app debug (read only) 4425785 4425785 0 0.0
(read/write) 215976 215976 0 0.0
.bss 117816 117816 0 0.0
.data 6144 6144 0 0.0
.data.rel.ro 85312 85312 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 219509 219509 0 0.0
.text 3987731 3987731 0 0.0
chip-tool debug (read only) 11783297 11783297 0 0.0
(read/write) 506264 506264 0 0.0
.bss 94200 94200 0 0.0
.data 5058 5058 0 0.0
.data.rel.ro 399792 399792 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 429689 429689 0 0.0
.text 10663795 10663795 0 0.0
chip-tool-ipv6only arm64 (read only) 11357776 11357776 0 0.0
(read/write) 575672 575672 0 0.0
.bss 103256 103256 0 0.0
.data 4472 4472 0 0.0
.data.rel.ro 439024 439024 0 0.0
.dynamic 512 512 0 0.0
.got 20040 20040 0 0.0
.init 24 24 0 0.0
.init_array 240 240 0 0.0
.rodata 340396 340396 0 0.0
.text 10147148 10147148 0 0.0
lighting-app debug+rpc+ui (read only) 5312601 5312601 0 0.0
(read/write) 224904 224904 0 0.0
.bss 118880 118880 0 0.0
.data 4800 4800 0 0.0
.data.rel.ro 93728 93728 0 0.0
.dynamic 672 672 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 341172 341172 0 0.0
.text 4726787 4726787 0 0.0
lock-app debug (read only) 4511001 4511001 0 0.0
(read/write) 203600 203600 0 0.0
.bss 113248 113248 0 0.0
.data 4096 4096 0 0.0
.data.rel.ro 79544 79544 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 247413 247413 0 0.0
.text 4053587 4053587 0 0.0
ota-provider-app debug (read only) 4175217 4175217 0 0.0
(read/write) 192680 192680 0 0.0
.bss 113248 113248 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 69312 69312 0 0.0
.dynamic 624 624 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 201749 201749 0 0.0
.text 3781619 3781619 0 0.0
ota-requestor-app debug (read only) 4266129 4266129 0 0.0
(read/write) 196960 196960 0 0.0
.bss 114144 114144 0 0.0
.data 4656 4656 0 0.0
.data.rel.ro 72288 72288 0 0.0
.dynamic 624 624 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 205589 205589 0 0.0
.text 3864387 3864387 0 0.0
shell debug (read only) 2831409 2831409 0 0.0
(read/write) 153808 153808 0 0.0
.bss 62120 62120 0 0.0
.data 1344 1344 0 0.0
.data.rel.ro 84584 84584 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 183200 183200 0 0.0
.text 2476210 2476210 0 0.0
thermostat-no-ble arm64 (read only) 4354776 4354776 0 0.0
(read/write) 246496 246496 0 0.0
.bss 121624 121624 0 0.0
.data 3328 3328 0 0.0
.data.rel.ro 102776 102776 0 0.0
.dynamic 512 512 0 0.0
.got 12088 12088 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 155916 155916 0 0.0
.text 3856316 3856316 0 0.0
tv-app debug (read only) 5412273 5412273 0 0.0
(read/write) 349128 349128 0 0.0
.bss 243136 243136 0 0.0
.data 6464 6464 0 0.0
.data.rel.ro 92248 92248 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1120 1120 0 0.0
.rodata 273461 273461 0 0.0
.text 4901187 4901187 0 0.0
tv-casting-app debug (read only) 9653945 9653945 0 0.0
(read/write) 338080 338080 0 0.0
.bss 155936 155936 0 0.0
.data 2912 2912 0 0.0
.data.rel.ro 172384 172384 0 0.0
.dynamic 624 624 0 0.0
.got 5064 5064 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 365768 365768 0 0.0
.text 8826483 8826483 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2527136 2527136 0 0.0
.bss 220240 220240 0 0.0
.data 5208 5208 0 0.0
.text 1489820 1489820 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1080676 1080676 0 0.0
bss 129507 129507 0 0.0
rodata 107572 107572 0 0.0
text 795860 795860 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1205224 1205224 0 0.0
bss 121717 121717 0 0.0
rodata 140140 140140 0 0.0
text 792888 792888 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1041272 1041272 0 0.0
bss 129300 129300 0 0.0
rodata 98888 98888 0 0.0
text 765268 765268 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 835584 835584 0 0.0
(read/write) 1767844 1767844 0 0.0
.bss 195124 195124 0 0.0
.data 2632 2632 0 0.0
.text 1561700 1561700 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837816 837816 0 0.0
(read/write) 1707516 1707516 0 0.0
.bss 192908 192908 0 0.0
.data 2616 2616 0 0.0
.text 1503604 1503604 0 0.0
light cy8ckit_062s2_43012 (read only) 844504 844504 0 0.0
(read/write) 1632428 1632428 0 0.0
.bss 186404 186404 0 0.0
.data 2432 2432 0 0.0
.text 1435204 1435204 0 0.0
lock cy8ckit_062s2_43012 (read only) 817384 817384 0 0.0
(read/write) 1659340 1659340 0 0.0
.bss 213500 213500 0 0.0
.data 2456 2456 0 0.0
.text 1434996 1434996 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1117792 1117792 0 0.0
.bss 101224 101224 0 0.0
.data 808 808 0 0.0
.text 630172 630172 0 0.0
lock-app qpg6105+debug (read/write) 1081760 1081760 0 0.0
.bss 97520 97520 0 0.0
.data 852 852 0 0.0
.text 594136 594136 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 822382 822382 0 0.0
bss 50916 50916 0 0.0
text 614582 614582 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1096008 1096008 0 0.0
bss 100488 100488 0 0.0
text 774964 774964 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1085284 1085284 0 0.0
bss 109696 109696 0 0.0
text 754414 754414 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 935732 935732 0 0.0
bss 93664 93664 0 0.0
text 647662 647662 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 822610 822610 0 0.0
bss 50960 50960 0 0.0
text 614952 614952 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 980276 980276 0 0.0
bss 79004 79004 0 0.0
text 695494 695494 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1094260 1094260 0 0.0
bss 99840 99840 0 0.0
text 770790 770790 0 0.0
lock-app-dfu tlsr9528a (read only) 4 4 0 0.0
(read/write) 966332 966332 0 0.0
bss 97304 97304 0 0.0
text 648720 648720 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 949668 949668 0 0.0
bss 92348 92348 0 0.0
text 664030 664030 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 881520 881520 0 0.0
bss 69032 69032 0 0.0
text 623068 623068 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 822164 822164 0 0.0
bss 57276 57276 0 0.0
text 589992 589992 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705632 705632 0 0.0
bss 73568 73568 0 0.0
text 462136 462136 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 824346 824346 0 0.0
bss 51096 51096 0 0.0
text 617696 617696 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879397 879397 0 0.0
bss 60744 60744 0 0.0
text 631888 631888 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 846536 846536 0 0.0
bss 57564 57564 0 0.0
text 608458 608458 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 840728 840728 0 0.0
bss 57880 57880 0 0.0
text 602412 602412 0 0.0

@mergify mergify bot merged commit 9958ed1 into project-chip:master Jan 16, 2024
57 checks passed
espressif-bot pushed a commit to espressif/connectedhomeip that referenced this pull request Apr 2, 2024
espressif-bot pushed a commit to espressif/connectedhomeip that referenced this pull request Apr 2, 2024
[cherry-pick] ESP32: check ap info in IsStationConnected (project-chip#31438)

See merge request espressif/connectedhomeip!13
Jerry-ESP pushed a commit to Jerry-ESP/connectedhomeip that referenced this pull request Apr 25, 2024
andy31415 pushed a commit that referenced this pull request Apr 26, 2024
… v1.2-branch (#33161)

* [1.1] Cherry pick Thread DNS client and memory leak fixes (#31457)

* [app] Fix DeferredAttributePersister memory leak (#31075)

* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Code review

---------

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 3e8aeeb)

* [OpenThread] Harden DNS record parsing (#31227)

OpenThread applications would crash upon receiving an empty
DNS TXT record. The reason was that the code for copying OT
DNS service info object into Matter DnssdService object
would not initialize the TXT entry count in the latter
object in such a case.

In the reported case, the Matter stack was presented an
empty TXT record because OpenThread's DNS client received
a TXT record with TTL 0 and it discarded its contents.
Nevertheless, the issue could be reproduced by publishing
Matter service without TXT entries and kicking off DNS query.

1. Initialize the TXT entry and subtype count properly in all
   scenarios.
2. Do not even process the service info object if an error was
   returned by OpenThread before.
3. Extract some boilerplate to a separate function to improve
   readability.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 76b6bb5)

* ESP32: Add EndpointQueueFilter for ESP32 platform (#31440)

* Add EndpointQueueFilter for ESP32 platform

* Restyled by clang-format

* Restyled by gn

* fix compile error when disabling inet ipv4

* review changes

* Restyled by clang-format

* review changes

* review changes

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* [ESP32] Limit number of returned WiFi scan results to configured limit (#30780)

Scan results are allocated on the heap and on a resource critical device
where heap is less, this may fail if there are a lot of APs in the
vicinity.

* [ESP32] Fix the threading issue in nimble (#29180)

* [ESP32] Fix the threading issue in nimble

Send ble connection error than executing in nimble thread context

* comment explaining why we are posting connection error event

* Adding a comment for kCHIPoBLEConnectionError

* IM: Create ReadHandler after Session Establishment for Subscription Resumption (#30491)

* IM: Create ReadHandler after Session Establishment for Subscription Resumption

* Restyled by clang-format

* Make SubscriptionResumptionHelper inherits from SubscriptionInfo

* review changes

* Rename Helper to SessionEstablisher

* Restyled by clang-format

* RAII changes

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* [ESP32] Fix adding NDEBUG flag to CPPFLAGS (#30763)

In esp-idf, NDEBUG flag is added to CPPFLAGS only if assertions are
disabled. Making this inline to that.

* Add records of session establishment for subscription resumption (#31755)

* Add records of session establishment for subscription resumption

* Restyled by clang-format

* review changes

* Schedule subscription resumption when failing to establish the session in SubscriptionResumptionSessionEstablisher

* Add option to set subscription timeout resumption retry interval seconds for Linux app
Add cirque test for subscription resumption timeout

* Restyled by clang-format

* Restyled by autopep8

* Restyled by isort

* fix CI building

* Add test to the test list

* add subscription resumption restries number to SubscriptionInfo struct

* review changes

* make resumption retries persistent

* Restyled by clang-format

* ci build fixes

* try to fix cirque test

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* ESP32: check ap info in IsStationConnected (#31438)

* Add checks for mOTInst in GenericThreadStackManagerImpl_OpenThread (#32482)

* Add checks for mOTInst in GenericThreadStackManagerImpl_OpenThread

* review changes

* [ESP32] Fix few attributes with fixed quality in DeviceInfoProvider (#32893)

* [ESP32] Fix few attributes with fixed quality in DeviceInfoProvider

Fixed labels, supported locales, supported calendar types were being
read from the nvs(flash) and during OTA its a hassle if one wants to
upgrade these values. Added few APIs to set the data for these
attributes in ESP32DeviceInfoProvider.

* Restyled by clang-format

* Restyled by prettier-markdown

* fix the lint errors

* Add back the original Device info provider which reads from the nvs

Add StaticESP32DeviceInfoProvider along with APIs to set data

Remove changes from example and add a guide along with usage

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* Implement BLE Manager Shutdown for nimble host (#33109)

* [ESP32] Implement BLE Manager Shutdown for nimble host

- Replace ble deinit imple in Esp32AppServer with BLEMgr().Shutdown()
- Replace few ESP_LOG with ChipLog in Esp32AppServer
- Move ble deinit kCommissioningComplete switch case
- Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED

* Restyled by clang-format

* address reviews

* Add checks for timer handler

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* [ESP32]  Made a provision to generate esp_secure_cert partition in factory partition script. (#29840)

* Made a provision to generate esp_secure_cert partition in factory partition script.

- Added the provision to generate esp_secure_cert_partition based on option --dac-in-secure-cert.
- Refactored some code of the existing script - made it more modular.

* made outdir user governed

* Added the support for onboarding paylaod in factory script (#31274)

---------

Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Wang Qixiang <43193572+wqx6@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Shubham Patil <shubham.patil@espressif.com>
Co-authored-by: shripad621git <79364691+shripad621git@users.noreply.github.com>
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.

2 participants