Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
vivien-apple committed Sep 18, 2024
1 parent 2396bb4 commit 40ad4dd
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
@@ -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);
}
}

1 change: 1 addition & 0 deletions src/lib/dnssd/TxtFields.cpp
Original file line number Diff line number Diff line change
@@ -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;
}
}

0 comments on commit 40ad4dd

Please sign in to comment.