Skip to content

Updates MdnsDiscovery class and affected test scripts to address issues #39737

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

Open
wants to merge 179 commits into
base: master
Choose a base branch
from

Conversation

raul-marquez-csa
Copy link
Contributor

@raul-marquez-csa raul-marquez-csa commented Jun 27, 2025

Testing

Main Fixes

  • PTR record info retrieval failure, #37154 and #524

  • AAAA record info retrieval failure and query request spamming

  • Ensures mDNS info isn't retrieved from cache

  • Ensures queries are sent over IPv6 only #536

Main updates

Individual Methods: Implemented individual methods per record type: get_srv_record, get_txt_record, get_quada_records, get_ptr_records.

Improved AAAA record handling: Switched previous AAAA record query code for Zeroconf out-of-box address resolver. Encapsulates AAAA record data into it's own QuadaRecord class.

Improved PTR record handling: Removed service info querying for discovered instances since only the PTR info is required. Encapsulates the PTR record data into it's own PtrRecord class.

Improved logging: Improved logging for get_all_service_types method #524

Added new method: get_commissionable_subtypes

Added asserts file: Contains assertions for TXT keys, instance/hostnames, service types, as per the spec. These can be reused wherever needed in the test scripts.

MdnsDiscovery class cross-updates: Updates TC-SC-4.3, TC-CADMIN-1.3.4, TC-CADMIN-1.5, TC-CADMIN-1.15, TC-ICDM-5.1, and cadmin_support.py to match MdnsDiscovery class updates.

Documentation

Added documentation for the MdnsDiscovery class to assist with PR review and help understand how the different components fit together, given the size and scope of the codebase.

This is the official documentation.
📃 MdnsDiscovery Class Documentation

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request updates the mdns class and TC-SC-4.3 test case. The changes include adding new methods for retrieving SRV, TXT, and AAAA records, improving error handling, and refactoring some of the existing code. The code review identified opportunities to improve error handling, logging, and documentation.

Copy link

PR #39737: Size comparison from 41c7192 to 796d6ec

Full report (3 builds for cc32xx, stm32)
platform target config section 41c7192 796d6ec change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 549446 549446 0 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582566 582566 0 0.0
RAM 205344 205344 0 0.0
stm32 light STM32WB5MM-DK FLASH 466228 466228 0 0.0
RAM 141368 141368 0 0.0

@raul-marquez-csa raul-marquez-csa changed the title Updates mdns class and TC-SC-4.3 Updates MdnsDiscovery class (and TC-SC-4.3 to match and test updates) Jun 27, 2025
Copy link

github-actions bot commented Jun 27, 2025

PR #39737: Size comparison from 06523c2 to 1ec8aa9

Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 06523c2 1ec8aa9 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1103168 1103168 0 0.0
RAM 179026 179026 0 0.0
bl702 lighting-app bl702+eth FLASH 656576 656576 0 0.0
RAM 134969 134969 0 0.0
bl702+wifi FLASH 833758 833758 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066384 1066384 0 0.0
RAM 117389 117389 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 895930 895930 0 0.0
RAM 105676 105676 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979648 979648 0 0.0
RAM 109876 109876 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 764056 764056 0 0.0
RAM 103360 103360 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 775764 775764 0 0.0
RAM 108536 108536 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 721856 721856 0 0.0
RAM 96940 96940 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 706156 706156 0 0.0
RAM 97140 97140 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 549446 549446 0 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582566 582566 0 0.0
RAM 205344 205344 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 663517 663517 0 0.0
RAM 77464 77464 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 683369 683369 0 0.0
RAM 80104 80104 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 683369 683369 0 0.0
RAM 80104 80104 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 640301 640301 0 0.0
RAM 72532 72532 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624893 624893 0 0.0
RAM 73784 73784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644521 644521 0 0.0
RAM 76336 76336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644521 644521 0 0.0
RAM 76336 76336 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 645829 645829 0 0.0
RAM 76784 76784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 665545 665545 0 0.0
RAM 79336 79336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 665545 665545 0 0.0
RAM 79336 79336 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620513 620513 0 0.0
RAM 70888 70888 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640365 640365 0 0.0
RAM 73520 73520 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640365 640365 0 0.0
RAM 73520 73520 0 0.0
efr32 lock-app BRD4187C FLASH 948132 948132 0 0.0
RAM 131524 131524 0 0.0
BRD4338a FLASH 745388 745380 -8 -0.0
RAM 206896 206896 0 0.0
window-app BRD4187C FLASH 1041424 1041416 -8 -0.0
RAM 127652 127652 0 0.0
esp32 all-clusters-app c3devkit DRAM 103496 103496 0 0.0
FLASH 1811054 1811054 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 122356 122356 0 0.0
FLASH 1776062 1776062 0 0.0
IRAM 117071 117071 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2797792 2797792 0 0.0
RAM 117352 117352 0 0.0
all-clusters-app debug unknown 5664 5664 0 0.0
FLASH 6383976 6383976 0 0.0
RAM 538208 538208 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5475162 5475162 0 0.0
RAM 228056 228056 0 0.0
bridge-app debug unknown 5560 5560 0 0.0
FLASH 4808442 4808442 0 0.0
RAM 207744 207744 0 0.0
camera-app debug unknown 8968 8968 0 0.0
FLASH 6934699 6934699 0 0.0
RAM 230056 230056 0 0.0
camera-controller debug unknown 9184 9184 0 0.0
FLASH 14341195 14341195 0 0.0
RAM 659416 659416 0 0.0
chip-tool debug unknown 6240 6240 0 0.0
FLASH 14682017 14682017 0 0.0
RAM 652968 652968 0 0.0
chip-tool-ipv6only arm64 unknown 40544 40544 0 0.0
FLASH 12664223 12664223 0 0.0
RAM 699240 699240 0 0.0
fabric-admin debug unknown 5920 5920 0 0.0
FLASH 12751349 12751349 0 0.0
RAM 651960 651960 0 0.0
fabric-bridge-app debug unknown 4808 4808 0 0.0
FLASH 4594704 4594704 0 0.0
RAM 193504 193504 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5743805 5743805 0 0.0
RAM 490896 490896 0 0.0
lighting-app debug+rpc+ui unknown 6272 6272 0 0.0
FLASH 5657361 5657361 0 0.0
RAM 209896 209896 0 0.0
lock-app debug unknown 5488 5488 0 0.0
FLASH 4838638 4838638 0 0.0
RAM 197128 197128 0 0.0
ota-provider-app debug unknown 4848 4848 0 0.0
FLASH 4447372 4447372 0 0.0
RAM 186192 186192 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4519530 4519530 0 0.0
RAM 189032 189032 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3084940 3084940 0 0.0
RAM 151624 151624 0 0.0
thermostat-no-ble arm64 unknown 9800 9800 0 0.0
FLASH 4235831 4235831 0 0.0
RAM 233384 233384 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 6108029 6108029 0 0.0
RAM 615128 615128 0 0.0
tv-casting-app debug unknown 5336 5336 0 0.0
FLASH 12832013 12832013 0 0.0
RAM 769168 769168 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916220 916220 0 0.0
RAM 167442 167442 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 914156 914156 0 0.0
RAM 145660 145660 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 859712 859712 0 0.0
RAM 141049 141049 0 0.0
nxp contact mcxw71+release FLASH 625808 625808 0 0.0
RAM 63156 63156 0 0.0
lock mcxw71+release FLASH 777040 777040 0 0.0
RAM 67820 67820 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1673820 1673820 0 0.0
RAM 212416 212416 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1577028 1577028 0 0.0
RAM 208464 208464 0 0.0
light cy8ckit_062s2_43012 FLASH 1449612 1449612 0 0.0
RAM 197184 197184 0 0.0
lock cy8ckit_062s2_43012 FLASH 1481980 1481980 0 0.0
RAM 224904 224904 0 0.0
qpg lighting-app qpg6200+debug FLASH 744784 744784 0 0.0
RAM 94212 94212 0 0.0
lock-app qpg6200+debug FLASH 754540 754540 0 0.0
RAM 94248 94248 0 0.0
stm32 light STM32WB5MM-DK FLASH 466228 466228 0 0.0
RAM 141368 141368 0 0.0
telink bridge-app tl7218x FLASH 703336 703336 0 0.0
RAM 93600 93600 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795050 795050 0 0.0
RAM 44016 44016 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783456 783456 0 0.0
RAM 100912 100912 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 710762 710762 0 0.0
RAM 54240 54240 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747336 747336 0 0.0
RAM 77404 77404 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724082 724082 0 0.0
RAM 36996 36996 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603634 603634 0 0.0
RAM 112532 112532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819030 819034 4 0.0
RAM 99164 99164 0 0.0
tizen all-clusters-app arm unknown 5312 5312 0 0.0
FLASH 1820640 1820640 0 0.0
RAM 97540 97540 0 0.0
chip-tool-ubsan arm unknown 20700 20700 0 0.0
FLASH 20971506 20971506 0 0.0
RAM 9129344 9129344 0 0.0

Copy link

github-actions bot commented Jun 28, 2025

PR #39737: Size comparison from e3d8447 to 613631c

Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section e3d8447 613631c change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1103168 1103168 0 0.0
RAM 179026 179026 0 0.0
bl702 lighting-app bl702+eth FLASH 656576 656576 0 0.0
RAM 134969 134969 0 0.0
bl702+wifi FLASH 833758 833758 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066384 1066384 0 0.0
RAM 117389 117389 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 895930 895930 0 0.0
RAM 105676 105676 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979648 979648 0 0.0
RAM 109876 109876 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 764056 764056 0 0.0
RAM 103360 103360 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 775764 775764 0 0.0
RAM 108536 108536 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 721856 721856 0 0.0
RAM 96940 96940 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 706156 706156 0 0.0
RAM 97140 97140 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 549446 549446 0 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582566 582566 0 0.0
RAM 205344 205344 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 663517 663517 0 0.0
RAM 77464 77464 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 683369 683369 0 0.0
RAM 80104 80104 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 683369 683369 0 0.0
RAM 80104 80104 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 640301 640301 0 0.0
RAM 72532 72532 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 624893 624893 0 0.0
RAM 73784 73784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 644521 644521 0 0.0
RAM 76336 76336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 644521 644521 0 0.0
RAM 76336 76336 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 645829 645829 0 0.0
RAM 76784 76784 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 665545 665545 0 0.0
RAM 79336 79336 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 665545 665545 0 0.0
RAM 79336 79336 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620513 620513 0 0.0
RAM 70888 70888 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640365 640365 0 0.0
RAM 73520 73520 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640365 640365 0 0.0
RAM 73520 73520 0 0.0
efr32 lock-app BRD4187C FLASH 948132 948132 0 0.0
RAM 131524 131524 0 0.0
BRD4338a FLASH 745388 745380 -8 -0.0
RAM 206896 206896 0 0.0
window-app BRD4187C FLASH 1041424 1041416 -8 -0.0
RAM 127652 127652 0 0.0
esp32 all-clusters-app c3devkit DRAM 103496 103496 0 0.0
FLASH 1811122 1811122 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 122356 122356 0 0.0
FLASH 1776126 1776126 0 0.0
IRAM 117071 117071 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2797792 2797792 0 0.0
RAM 117352 117352 0 0.0
all-clusters-app debug unknown 5664 5664 0 0.0
FLASH 6384362 6384362 0 0.0
RAM 538208 538208 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5475162 5475162 0 0.0
RAM 228056 228056 0 0.0
bridge-app debug unknown 5560 5560 0 0.0
FLASH 4808442 4808442 0 0.0
RAM 207744 207744 0 0.0
camera-app debug unknown 8968 8968 0 0.0
FLASH 6934699 6934699 0 0.0
RAM 230056 230056 0 0.0
camera-controller debug unknown 9184 9184 0 0.0
FLASH 14341195 14341195 0 0.0
RAM 659416 659416 0 0.0
chip-tool debug unknown 6240 6240 0 0.0
FLASH 14682017 14682017 0 0.0
RAM 652968 652968 0 0.0
chip-tool-ipv6only arm64 unknown 40544 40544 0 0.0
FLASH 12664223 12664223 0 0.0
RAM 699240 699240 0 0.0
fabric-admin debug unknown 5920 5920 0 0.0
FLASH 12751349 12751349 0 0.0
RAM 651960 651960 0 0.0
fabric-bridge-app debug unknown 4808 4808 0 0.0
FLASH 4594704 4594704 0 0.0
RAM 193504 193504 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5743805 5743805 0 0.0
RAM 490896 490896 0 0.0
lighting-app debug+rpc+ui unknown 6272 6272 0 0.0
FLASH 5657361 5657361 0 0.0
RAM 209896 209896 0 0.0
lock-app debug unknown 5488 5488 0 0.0
FLASH 4838638 4838638 0 0.0
RAM 197128 197128 0 0.0
ota-provider-app debug unknown 4848 4848 0 0.0
FLASH 4447372 4447372 0 0.0
RAM 186192 186192 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4519530 4519530 0 0.0
RAM 189032 189032 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3084940 3084940 0 0.0
RAM 151624 151624 0 0.0
thermostat-no-ble arm64 unknown 9800 9800 0 0.0
FLASH 4235831 4235831 0 0.0
RAM 233384 233384 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 6108029 6108029 0 0.0
RAM 615128 615128 0 0.0
tv-casting-app debug unknown 5336 5336 0 0.0
FLASH 12832013 12832013 0 0.0
RAM 769168 769168 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916284 916284 0 0.0
RAM 167442 167442 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 914172 914172 0 0.0
RAM 145660 145660 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 859712 859712 0 0.0
RAM 141049 141049 0 0.0
nxp contact mcxw71+release FLASH 625808 625808 0 0.0
RAM 63156 63156 0 0.0
lock mcxw71+release FLASH 777040 777040 0 0.0
RAM 67820 67820 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1673868 1673868 0 0.0
RAM 212416 212416 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1577028 1577028 0 0.0
RAM 208464 208464 0 0.0
light cy8ckit_062s2_43012 FLASH 1449612 1449612 0 0.0
RAM 197184 197184 0 0.0
lock cy8ckit_062s2_43012 FLASH 1481980 1481980 0 0.0
RAM 224904 224904 0 0.0
qpg lighting-app qpg6200+debug FLASH 744784 744784 0 0.0
RAM 94212 94212 0 0.0
lock-app qpg6200+debug FLASH 754540 754540 0 0.0
RAM 94248 94248 0 0.0
stm32 light STM32WB5MM-DK FLASH 466228 466228 0 0.0
RAM 141368 141368 0 0.0
telink bridge-app tl7218x FLASH 703336 703336 0 0.0
RAM 93600 93600 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795050 795050 0 0.0
RAM 44016 44016 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783456 783456 0 0.0
RAM 100912 100912 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 710762 710762 0 0.0
RAM 54240 54240 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747336 747336 0 0.0
RAM 77404 77404 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724082 724082 0 0.0
RAM 36996 36996 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603634 603634 0 0.0
RAM 112532 112532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819030 819034 4 0.0
RAM 99164 99164 0 0.0
tizen all-clusters-app arm unknown 5312 5312 0 0.0
FLASH 1820864 1820864 0 0.0
RAM 97540 97540 0 0.0
chip-tool-ubsan arm unknown 20700 20700 0 0.0
FLASH 20971506 20971506 0 0.0
RAM 9129344 9129344 0 0.0

Copy link

github-actions bot commented Aug 9, 2025

PR #39737: Size comparison from 1c3303e to 4e11744

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 1c3303e 4e11744 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104636 1104638 2 0.0
RAM 179066 179066 0 0.0
bl702 lighting-app bl702+eth FLASH 657270 657270 0 0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 835062 835062 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066976 1066978 2 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896158 896160 2 0.0
RAM 105652 105652 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979872 979874 2 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766632 766632 0 0.0
RAM 103328 103328 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778228 778228 0 0.0
RAM 108496 108496 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 723832 723832 0 0.0
RAM 96892 96892 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708188 708188 0 0.0
RAM 97100 97100 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550586 550586 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582942 582942 0 0.0
RAM 205296 205296 0 0.0
efr32 lock-app BRD4187C FLASH 957920 957920 0 0.0
RAM 126512 126512 0 0.0
BRD4338a FLASH 752336 752336 0 0.0
RAM 251856 251856 0 0.0
window-app BRD4187C FLASH 1050220 1050220 0 0.0
RAM 122708 122708 0 0.0
esp32 all-clusters-app c3devkit DRAM 102288 102288 0 0.0
FLASH 1750406 1750406 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121156 121156 0 0.0
FLASH 1698870 1698870 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2588242 2588242 0 0.0
RAM 116664 116664 0 0.0
all-clusters-app debug unknown 5688 5688 0 0.0
FLASH 5977460 5977460 0 0.0
RAM 534696 534696 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5203746 5203746 0 0.0
RAM 227944 227944 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4590144 4590144 0 0.0
RAM 208304 208304 0 0.0
camera-app debug unknown 9008 9008 0 0.0
FLASH 6883307 6883307 0 0.0
RAM 233128 233128 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13644715 13644715 0 0.0
RAM 668960 668960 0 0.0
chip-tool debug unknown 6264 6264 0 0.0
FLASH 13694091 13694091 0 0.0
RAM 655880 655880 0 0.0
chip-tool-ipv6only arm64 unknown 40736 40736 0 0.0
FLASH 12721239 12721239 0 0.0
RAM 690840 690840 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4571918 4571918 0 0.0
RAM 200216 200216 0 0.0
fabric-admin debug unknown 5944 5944 0 0.0
FLASH 12038864 12038864 0 0.0
RAM 654888 654888 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4389056 4389056 0 0.0
RAM 193968 193968 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5474917 5474917 0 0.0
RAM 493760 493760 0 0.0
lighting-app debug+rpc+ui unknown 6280 6280 0 0.0
FLASH 5476193 5476193 0 0.0
RAM 209616 209616 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4618858 4618858 0 0.0
RAM 196760 196760 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4247732 4247732 0 0.0
RAM 185424 185424 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4310944 4310944 0 0.0
RAM 188248 188248 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2932179 2932179 0 0.0
RAM 148504 148504 0 0.0
thermostat-no-ble arm64 unknown 9976 9976 0 0.0
FLASH 4226495 4226495 0 0.0
RAM 226464 226464 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 5803237 5803237 0 0.0
RAM 618104 618104 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11831541 11831541 0 0.0
RAM 772432 772432 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909772 909772 0 0.0
RAM 152832 152832 0 0.0
nxp contact mcxw71+release FLASH 630440 630440 0 0.0
RAM 64084 64084 0 0.0
lock mcxw71+release FLASH 740632 740632 0 0.0
RAM 65168 65168 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657828 1657828 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579428 1579428 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450532 1450532 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482868 1482868 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819296 819296 0 0.0
RAM 127608 127608 0 0.0
lock-app qpg6200+debug FLASH 756628 756628 0 0.0
RAM 118560 118560 0 0.0
stm32 light STM32WB5MM-DK FLASH 466276 466276 0 0.0
RAM 141336 141336 0 0.0
telink bridge-app tl7218x FLASH 703758 703758 0 0.0
RAM 93552 93552 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795550 795550 0 0.0
RAM 43968 43968 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783956 783956 0 0.0
RAM 100856 100856 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 711550 711550 0 0.0
RAM 54188 54188 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748144 748144 0 0.0
RAM 77344 77344 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724870 724870 0 0.0
RAM 36944 36944 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604898 604898 0 0.0
RAM 112512 112512 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819560 819564 4 0.0
RAM 99108 99108 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767192 1767192 0 0.0
RAM 92108 92108 0 0.0
chip-tool-ubsan arm unknown 20772 20772 0 0.0
FLASH 21106682 21106682 0 0.0
RAM 9181152 9181152 0 0.0

Copy link

github-actions bot commented Aug 9, 2025

PR #39737: Size comparison from 1c3303e to 1fbfb65

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 1c3303e 1fbfb65 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104636 1104638 2 0.0
RAM 179066 179066 0 0.0
bl702 lighting-app bl702+eth FLASH 657270 657270 0 0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 835062 835062 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066976 1066978 2 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896158 896160 2 0.0
RAM 105652 105652 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979872 979874 2 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766632 766632 0 0.0
RAM 103328 103328 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778228 778228 0 0.0
RAM 108496 108496 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 723832 723832 0 0.0
RAM 96892 96892 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708188 708188 0 0.0
RAM 97100 97100 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550586 550586 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582942 582942 0 0.0
RAM 205296 205296 0 0.0
efr32 lock-app BRD4187C FLASH 957920 957920 0 0.0
RAM 126512 126512 0 0.0
BRD4338a FLASH 752336 752336 0 0.0
RAM 251856 251856 0 0.0
window-app BRD4187C FLASH 1050220 1050220 0 0.0
RAM 122708 122708 0 0.0
esp32 all-clusters-app c3devkit DRAM 102288 102288 0 0.0
FLASH 1750406 1750406 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121156 121156 0 0.0
FLASH 1698870 1698870 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2588242 2588242 0 0.0
RAM 116664 116664 0 0.0
all-clusters-app debug unknown 5688 5688 0 0.0
FLASH 5977460 5977460 0 0.0
RAM 534696 534696 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5203746 5203746 0 0.0
RAM 227944 227944 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4590144 4590144 0 0.0
RAM 208304 208304 0 0.0
camera-app debug unknown 9008 9008 0 0.0
FLASH 6883307 6883307 0 0.0
RAM 233128 233128 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13644715 13644715 0 0.0
RAM 668960 668960 0 0.0
chip-tool debug unknown 6264 6264 0 0.0
FLASH 13694091 13694091 0 0.0
RAM 655880 655880 0 0.0
chip-tool-ipv6only arm64 unknown 40736 40736 0 0.0
FLASH 12721239 12721239 0 0.0
RAM 690840 690840 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4571918 4571918 0 0.0
RAM 200216 200216 0 0.0
fabric-admin debug unknown 5944 5944 0 0.0
FLASH 12038864 12038864 0 0.0
RAM 654888 654888 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4389056 4389056 0 0.0
RAM 193968 193968 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5474917 5474917 0 0.0
RAM 493760 493760 0 0.0
lighting-app debug+rpc+ui unknown 6280 6280 0 0.0
FLASH 5476193 5476193 0 0.0
RAM 209616 209616 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4618858 4618858 0 0.0
RAM 196760 196760 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4247732 4247732 0 0.0
RAM 185424 185424 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4310944 4310944 0 0.0
RAM 188248 188248 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2932179 2932179 0 0.0
RAM 148504 148504 0 0.0
thermostat-no-ble arm64 unknown 9976 9976 0 0.0
FLASH 4226495 4226495 0 0.0
RAM 226464 226464 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 5803237 5803237 0 0.0
RAM 618104 618104 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11831541 11831541 0 0.0
RAM 772432 772432 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909772 909772 0 0.0
RAM 152832 152832 0 0.0
nxp contact mcxw71+release FLASH 630440 630440 0 0.0
RAM 64084 64084 0 0.0
lock mcxw71+release FLASH 740632 740632 0 0.0
RAM 65168 65168 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657828 1657828 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579428 1579428 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450532 1450532 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482868 1482868 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819296 819296 0 0.0
RAM 127608 127608 0 0.0
lock-app qpg6200+debug FLASH 756628 756628 0 0.0
RAM 118560 118560 0 0.0
stm32 light STM32WB5MM-DK FLASH 466276 466276 0 0.0
RAM 141336 141336 0 0.0
telink bridge-app tl7218x FLASH 703758 703758 0 0.0
RAM 93552 93552 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795550 795550 0 0.0
RAM 43968 43968 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783956 783956 0 0.0
RAM 100856 100856 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 711550 711550 0 0.0
RAM 54188 54188 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748144 748144 0 0.0
RAM 77344 77344 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724870 724870 0 0.0
RAM 36944 36944 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604898 604898 0 0.0
RAM 112512 112512 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819560 819564 4 0.0
RAM 99108 99108 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767192 1767192 0 0.0
RAM 92108 92108 0 0.0
chip-tool-ubsan arm unknown 20772 20772 0 0.0
FLASH 21106682 21106682 0 0.0
RAM 9181152 9181152 0 0.0

Copy link

PR #39737: Size comparison from da00cfb to be87f70

Full report (4 builds for cc32xx, nrfconnect, stm32)
platform target config section da00cfb be87f70 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552230 552230 0 0.0
RAM 205120 205120 0 0.0
lock CC3235SF_LAUNCHXL FLASH 584162 584162 0 0.0
RAM 205328 205328 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 911424 911424 0 0.0
RAM 152872 152872 0 0.0
stm32 light STM32WB5MM-DK FLASH 467628 467628 0 0.0
RAM 141376 141376 0 0.0

Copy link

github-actions bot commented Aug 16, 2025

PR #39737: Size comparison from da00cfb to aa8ce10

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section da00cfb aa8ce10 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105864 1105864 0 0.0
RAM 179018 179018 0 0.0
bl702 lighting-app bl702+eth FLASH 658740 658740 0 0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 836370 836370 0 0.0
RAM 124509 124509 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068378 1068378 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 897816 897816 0 0.0
RAM 105660 105660 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981530 981530 0 0.0
RAM 109844 109844 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 767932 767932 0 0.0
RAM 103368 103368 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779536 779536 0 0.0
RAM 108536 108536 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725516 725516 0 0.0
RAM 96932 96932 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 709992 709992 0 0.0
RAM 97140 97140 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552230 552230 0 0.0
RAM 205120 205120 0 0.0
lock CC3235SF_LAUNCHXL FLASH 584162 584162 0 0.0
RAM 205328 205328 0 0.0
efr32 lock-app BRD4187C FLASH 959328 959328 0 0.0
RAM 122644 122644 0 0.0
BRD4338a FLASH 755184 755184 0 0.0
RAM 251908 251908 0 0.0
window-app BRD4187C FLASH 1053036 1053036 0 0.0
RAM 118872 118872 0 0.0
esp32 all-clusters-app c3devkit DRAM 102512 102512 0 0.0
FLASH 1768960 1768960 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121364 121364 0 0.0
FLASH 1716262 1716262 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2598788 2598788 0 0.0
RAM 117264 117264 0 0.0
all-clusters-app debug unknown 5696 5696 0 0.0
FLASH 6080300 6080300 0 0.0
RAM 537928 537928 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5214120 5214120 0 0.0
RAM 228832 228832 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4600380 4600380 0 0.0
RAM 209080 209080 0 0.0
camera-app debug unknown 9296 9296 0 0.0
FLASH 6969707 6969707 0 0.0
RAM 234992 234992 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13645051 13645051 0 0.0
RAM 668960 668960 0 0.0
chip-tool debug unknown 6264 6264 0 0.0
FLASH 13693669 13693669 0 0.0
RAM 655864 655864 0 0.0
chip-tool-ipv6only arm64 unknown 40736 40736 0 0.0
FLASH 12721239 12721239 0 0.0
RAM 690824 690824 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4582194 4582194 0 0.0
RAM 200976 200976 0 0.0
fabric-admin debug unknown 5944 5944 0 0.0
FLASH 12038144 12038144 0 0.0
RAM 654872 654872 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4399290 4399290 0 0.0
RAM 194792 194792 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5485669 5485669 0 0.0
RAM 494520 494520 0 0.0
lighting-app debug+rpc+ui unknown 6272 6272 0 0.0
FLASH 5470273 5470273 0 0.0
RAM 210296 210296 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4629084 4629084 0 0.0
RAM 197488 197488 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4257988 4257988 0 0.0
RAM 186120 186120 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4321068 4321068 0 0.0
RAM 188928 188928 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2942467 2942467 0 0.0
RAM 149704 149704 0 0.0
thermostat-no-ble arm64 unknown 9880 9880 0 0.0
FLASH 4236703 4236703 0 0.0
RAM 227256 227256 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 5814005 5814005 0 0.0
RAM 618896 618896 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11841493 11841493 0 0.0
RAM 773304 773304 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 911424 911424 0 0.0
RAM 152872 152872 0 0.0
nxp contact mcxw71+release FLASH 632424 632424 0 0.0
RAM 64124 64124 0 0.0
lock mcxw71+release FLASH 742208 742208 0 0.0
RAM 65200 65200 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661092 1661092 0 0.0
RAM 211192 211192 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1582412 1582412 0 0.0
RAM 208456 208456 0 0.0
light cy8ckit_062s2_43012 FLASH 1453356 1453356 0 0.0
RAM 197184 197184 0 0.0
lock cy8ckit_062s2_43012 FLASH 1485684 1485684 0 0.0
RAM 224896 224896 0 0.0
qpg lighting-app qpg6200+debug FLASH 820952 820952 0 0.0
RAM 127644 127644 0 0.0
lock-app qpg6200+debug FLASH 758284 758284 0 0.0
RAM 118604 118604 0 0.0
stm32 light STM32WB5MM-DK FLASH 467628 467628 0 0.0
RAM 141376 141376 0 0.0
telink bridge-app tl7218x FLASH 709606 709606 0 0.0
RAM 93452 93452 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 798518 798518 0 0.0
RAM 44012 44012 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789732 789732 0 0.0
RAM 100756 100756 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715888 715888 0 0.0
RAM 54236 54236 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749244 749244 0 0.0
RAM 77384 77384 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726034 726034 0 0.0
RAM 36984 36984 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606024 606024 0 0.0
RAM 112564 112564 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 822452 822456 4 0.0
RAM 99152 99152 0 0.0
tizen all-clusters-app arm unknown 5136 5136 0 0.0
FLASH 1772860 1772860 0 0.0
RAM 92704 92704 0 0.0
chip-tool-ubsan arm unknown 20772 20772 0 0.0
FLASH 21108954 21108954 0 0.0
RAM 9183200 9183200 0 0.0

Copy link

github-actions bot commented Aug 18, 2025

PR #39737: Size comparison from da00cfb to f6f089c

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section da00cfb f6f089c change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105864 1105864 0 0.0
RAM 179018 179018 0 0.0
bl702 lighting-app bl702+eth FLASH 658740 658740 0 0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 836370 836370 0 0.0
RAM 124509 124509 0 0.0
bl706+mfd+rpc+littlefs FLASH 1068378 1068378 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 897816 897816 0 0.0
RAM 105660 105660 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981530 981530 0 0.0
RAM 109844 109844 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 767932 767932 0 0.0
RAM 103368 103368 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779536 779536 0 0.0
RAM 108536 108536 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725516 725516 0 0.0
RAM 96932 96932 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 709992 709992 0 0.0
RAM 97140 97140 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552230 552230 0 0.0
RAM 205120 205120 0 0.0
lock CC3235SF_LAUNCHXL FLASH 584162 584162 0 0.0
RAM 205328 205328 0 0.0
efr32 lock-app BRD4187C FLASH 959328 959328 0 0.0
RAM 122644 122644 0 0.0
BRD4338a FLASH 755184 755184 0 0.0
RAM 251908 251908 0 0.0
window-app BRD4187C FLASH 1053036 1053036 0 0.0
RAM 118872 118872 0 0.0
esp32 all-clusters-app c3devkit DRAM 102512 102512 0 0.0
FLASH 1768960 1768960 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121364 121364 0 0.0
FLASH 1716262 1716262 0 0.0
IRAM 117051 117051 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 911424 911424 0 0.0
RAM 152872 152872 0 0.0
nxp contact mcxw71+release FLASH 632424 632424 0 0.0
RAM 64124 64124 0 0.0
lock mcxw71+release FLASH 742208 742208 0 0.0
RAM 65200 65200 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661092 1661092 0 0.0
RAM 211192 211192 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1582412 1582412 0 0.0
RAM 208456 208456 0 0.0
light cy8ckit_062s2_43012 FLASH 1453356 1453356 0 0.0
RAM 197184 197184 0 0.0
lock cy8ckit_062s2_43012 FLASH 1485684 1485684 0 0.0
RAM 224896 224896 0 0.0
qpg lighting-app qpg6200+debug FLASH 820952 820952 0 0.0
RAM 127644 127644 0 0.0
lock-app qpg6200+debug FLASH 758284 758284 0 0.0
RAM 118604 118604 0 0.0
stm32 light STM32WB5MM-DK FLASH 467628 467628 0 0.0
RAM 141376 141376 0 0.0
telink bridge-app tl7218x FLASH 709606 709606 0 0.0
RAM 93452 93452 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 798518 798518 0 0.0
RAM 44012 44012 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789732 789732 0 0.0
RAM 100756 100756 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715888 715888 0 0.0
RAM 54236 54236 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749244 749244 0 0.0
RAM 77384 77384 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 726034 726034 0 0.0
RAM 36984 36984 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606024 606024 0 0.0
RAM 112564 112564 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 822452 822456 4 0.0
RAM 99152 99152 0 0.0

logger.info(f"Service record information lookup {rec_types} for '{service_name}' in progress...")
await wait_for(service_listener.updated_event.wait(), SERVICE_LISTENER_TIMEOUT_SEC)
except TimeoutError:
logger.info(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code eats the TimeoutError and turns it into a log. It seems like this should be raised since you won't have service info in the call below if this timed out.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would ultimately change the return type of for example get_srv_record which is Optional[MdnsServiceInfo], at the moment it returns None, by design.

Failing the test because of not finding a particular service (weather expected or unexpected) is handled by each test script as needed.

So it should stay as is IMO.

A service listener required during mDNS service discovery
"""

def __init__(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put that as a method on this class so it's clear how callers are intended to use this? Right now it's totally not clear.



@dataclass
class SpecialAddressTypes:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this used for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added clarifying comments to the class

@dataclass
class SpecialAddressTypes:
    """
    Represents special categories of IPv6 addresses that can be derived
    from or mapped to IPv4. Used to identify and annotate IPv6 addresses
    with special handling or semantics.
    """
    # IPv6 address derived from a Teredo tunnel (2001::/32 range).
    # Used for NAT traversal — wraps IPv4 inside IPv6.
    teredo: Optional[str]

    # IPv6 address derived from 6to4 tunneling (2002::/16 range).
    # Automatically maps an IPv4 into an IPv6 address.
    sixtofour: Optional[str]

    # Whether the address falls into a reserved IPv6 block
    # (e.g., ::/128, ::1/128, ::ffff:0:0/96, etc.).
    is_reserved: bool

    # An IPv6 address that is explicitly mapped to an IPv4 address
    # (::ffff:0:0/96 prefix). Example: ::ffff:192.0.2.128
    ipv4_mapped: Optional[str]

To answer the question directly, at the moment those properties aren't being used. But they are part of what is returned by the original ZeroconfIPv6Address object, the quada class groups some of those togetger for easier handling.

This is an example logging of a quada query response:

{
    "00155D5436BF.local.": [
        {
            "address": "fe80::215:5dff:fe54:36bf",
            "version": 6,
            "interface": "eth0",
            "type_info": {
                "is_global": false,
                "is_link_local": true,
                "is_loopback": false,
                "is_multicast": false
            },
            "special_types": {
                "teredo": null,
                "sixtofour": null,
                "is_reserved": false,
                "ipv4_mapped": null
            },
            "meta": {
                "max_prefixlen": 128,
                "packed": "fe8000000000000002155dfffe5436bf"
            }
        }
    ]
}

Spec:
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/secure_channel/Discovery.adoc#21-operational-instance-name
"""
consts = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It took me a while to figure out why you were doing it like this, and I THINK the intent here is to be able to list multiple failure modes in one assert so testers can see all the things that are wrong. But because failed is getting overwritten every time, you don't actually get this behaviour. To make this work, you'd need to have failed start as an empty list and append to it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, these functions are good candidates to have their own tests to show this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be addressed in a separate PR

Spec:
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/secure_channel/Discovery.adoc#16-txt-key-for-vendor-id-and-product-id-vp
"""
constraints = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this the same as the above function with just a different name?

Copy link
Contributor Author

@raul-marquez-csa raul-marquez-csa Aug 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes in that they both have the same constraints (Vendor ID and Product ID)
I created both so it's a clearer read when using them in test scripts

Do you suggest merging them?

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