Skip to content

Commit

Permalink
[DNS-SD] Common Resolution Data such as the idle interval, active int…
Browse files Browse the repository at this point in the history
…erval, etc... are ignored by the dnssd platform discovery code when a commissionable node is discovered (project-chip#35650)

Co-authored-by: Kiel Oleson <[email protected]>
  • Loading branch information
2 people authored and nivi-apple committed Sep 24, 2024
1 parent 50b0e00 commit 8f85025
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/dnssd/Discovery_ImplPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ void DnssdService::ToDiscoveredCommissionNodeData(const Span<Inet::IPAddress> &
ByteSpan key(reinterpret_cast<const uint8_t *>(mTextEntries[i].mKey), strlen(mTextEntries[i].mKey));
ByteSpan val(mTextEntries[i].mData, mTextEntries[i].mDataSize);
FillNodeDataFromTxt(key, val, discoveredData);
FillNodeDataFromTxt(key, val, discoveredData);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/lib/dnssd/TxtFields.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ void FillNodeDataFromTxt(const ByteSpan & key, const ByteSpan & val, CommissionN
nodeData.supportsCommissionerGeneratedPasscode = Internal::GetCommissionerPasscode(val);
break;
default:
FillNodeDataFromTxt(key, val, static_cast<CommonResolutionData &>(nodeData));
break;
}
}
Expand Down

0 comments on commit 8f85025

Please sign in to comment.