-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Updates MdnsDiscovery class (and TC-SC-4.3 to match updates) #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
base: master
Are you sure you want to change the base?
Updates MdnsDiscovery class (and TC-SC-4.3 to match updates) #39737
Conversation
There was a problem hiding this 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 han 8000 dling, and refactoring some of the existing code. The code review identified opportunities to improve error handling, logging, and documentation.
PR #39737: Size comparison from 41c7192 to 796d6ec Full report (3 builds for cc32xx, stm32)
|
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)
|
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)
|
PR #39737: Size comparison from 43d34a0 to 5ad6ce6 Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39737: Size comparison from 206d72c to 8076e69 Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39737: Size comparison from 206d72c to 0f62216 Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39737: Size comparison from 34d3e1e to d24df3e Full report (20 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
|
PR #39737: Size comparison from 34d3e1e to 5c891a0 Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39737: Size comparison from 34d3e1e to f17445a Full report (3 builds for cc32xx, stm32)
|
PR #39737: Size comparison from 34d3e1e to aa037d8 Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39737: Size comparison from 42bfcf3 to 8685ae8 Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Testing
Main Fixes
PTR record info retrieval failure (#37154 and #524)
AAAA record info retrieval failure (came up during SVE but no issue was filed)
Ensures no mDNS info is retrieved from cache
Also included in this PR
Deprecated
get_service_by_record_type
The get_service_by_record_type function was deprecated in favor of individual functions per record type:
get_srv_record
get_txt_record
get_quada_records
get_ptr_records
This is better for maintainability and clarity, especially when addressing specific record type issues.
Using AsyncZeroconf
Improved AAAA record handling
QuadaRecord
class.Improved PTR record handling
PtrRecord
class.Added the
unlock_service
flag to the_get_service
discovery functionImproved logging for
get_service_types
function