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

Sync csa branch with main #343

Merged
merged 9 commits into from
Mar 14, 2025
Prev Previous commit
Next Next commit
[NXP] Improve DnssdImplBr to handle a list of queries instead of a si…
…… (#37962)

* [NXP] Improve DnssdImplBr to handle a list of queries instead of a single instance

This commit adds support for handling multiple queries at the same time.
For example, if the device is trying to do multiple CASE sessions at once,
each of them will trigger a node resolve. The new implementation uses
lists for handling resolve or browse operations at the same time.
Also, the list allows determining if a query is in progress and let mDNS
module handle it according to specification. This means that we will not
restart the query but allow the normal resolve/browse operation to
continue as defined in the mDNS specification.

Signed-off-by: Marius Preda <marius.preda@nxp.com>

* Restyled by whitespace

* Restyled by clang-format

---------

Signed-off-by: Marius Preda <marius.preda@nxp.com>
Co-authored-by: Restyled.io <commits@restyled.io>
marius-preda and restyled-commits authored Mar 13, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 23841532805109f547b57c2504cf4aec2a828449
2 changes: 1 addition & 1 deletion src/platform/nxp/common/DnssdImpl.cpp
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ CHIP_ERROR ChipDnssdInit(DnssdAsyncReturnCallback initCallback, DnssdAsyncReturn

void ChipDnssdShutdown()
{
// Empty implementation. Intentionally left blank
NxpChipDnssdShutdown();
}

CHIP_ERROR ChipDnssdPublishService(const DnssdService * service, DnssdPublishCallback callback, void * context)
Loading