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 (#35650)

Co-authored-by: Kiel Oleson <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Oct 4, 2024
1 parent 22a1c30 commit 3666082
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 3666082

Please sign in to comment.