Skip to content

Commit 2384153

Browse files
[NXP] Improve DnssdImplBr to handle a list of queries instead of a si… (project-chip#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>
1 parent a6e6355 commit 2384153

File tree

2 files changed

+216
-105
lines changed

2 files changed

+216
-105
lines changed

src/platform/nxp/common/DnssdImpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ CHIP_ERROR ChipDnssdInit(DnssdAsyncReturnCallback initCallback, DnssdAsyncReturn
5151

5252
void ChipDnssdShutdown()
5353
{
54-
// Empty implementation. Intentionally left blank
54+
NxpChipDnssdShutdown();
5555
}
5656

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

0 commit comments

Comments
 (0)