Home
last modified time | relevance | path

Searched refs:SetTlv (Results 1 – 4 of 4) sorted by relevance

/openthread-3.4.0/src/core/meshcop/
Ddataset_manager_ftd.cpp223 SuccessOrExit(dataset.SetTlv(datasetTlv)); in HandleSet()
314 IgnoreError(dataset.SetTlv(Tlv::kActiveTimestamp, timestamp)); in GenerateLocal()
322 IgnoreError(dataset.SetTlv(tlv)); in GenerateLocal()
330 IgnoreError(dataset.SetTlv(tlv)); in GenerateLocal()
335 IgnoreError(dataset.SetTlv(Tlv::kExtendedPanId, Get<ExtendedPanIdManager>().GetExtPanId())); in GenerateLocal()
340 … IgnoreError(dataset.SetTlv(Tlv::kMeshLocalPrefix, Get<Mle::MleRouter>().GetMeshLocalPrefix())); in GenerateLocal()
348 IgnoreError(dataset.SetTlv(Tlv::kNetworkKey, networkKey)); in GenerateLocal()
355 IgnoreError(dataset.SetTlv(Tlv::kNetworkName, nameData.GetBuffer(), nameData.GetLength())); in GenerateLocal()
360 IgnoreError(dataset.SetTlv(Tlv::kPanId, Get<Mac::Mac>().GetPanId())); in GenerateLocal()
376 IgnoreError(dataset.SetTlv(Tlv::kPskc, pskc)); in GenerateLocal()
[all …]
Ddataset.cpp289 IgnoreError(SetTlv(Tlv::kActiveTimestamp, activeTimestamp)); in SetFrom()
297 IgnoreError(SetTlv(Tlv::kPendingTimestamp, pendingTimestamp)); in SetFrom()
302 IgnoreError(SetTlv(Tlv::kDelayTimer, aDatasetInfo.GetDelay())); in SetFrom()
310 IgnoreError(SetTlv(tlv)); in SetFrom()
318 IgnoreError(SetTlv(tlv)); in SetFrom()
323 IgnoreError(SetTlv(Tlv::kExtendedPanId, aDatasetInfo.GetExtendedPanId())); in SetFrom()
328 IgnoreError(SetTlv(Tlv::kMeshLocalPrefix, aDatasetInfo.GetMeshLocalPrefix())); in SetFrom()
333 IgnoreError(SetTlv(Tlv::kNetworkKey, aDatasetInfo.GetNetworkKey())); in SetFrom()
340 IgnoreError(SetTlv(Tlv::kNetworkName, nameData.GetBuffer(), nameData.GetLength())); in SetFrom()
345 IgnoreError(SetTlv(Tlv::kPanId, aDatasetInfo.GetPanId())); in SetFrom()
[all …]
Ddataset.hpp753 Error SetTlv(const Tlv &aTlv);
766 Error SetTlv(Tlv::Type aType, const void *aValue, uint8_t aLength);
780 template <typename ValueType> Error SetTlv(Tlv::Type aType, const ValueType &aValue) in SetTlv() function in ot::MeshCoP::Dataset
784 return SetTlv(aType, &aValue, sizeof(ValueType)); in SetTlv()
933 template <> inline Error Dataset::SetTlv(Tlv::Type aType, const uint16_t &aValue) in SetTlv() function in ot::MeshCoP::Dataset
937 return SetTlv(aType, &value, sizeof(uint16_t)); in SetTlv()
950 template <> inline Error Dataset::SetTlv(Tlv::Type aType, const uint32_t &aValue) in SetTlv() function in ot::MeshCoP::Dataset
954 return SetTlv(aType, &value, sizeof(uint32_t)); in SetTlv()
Ddataset_updater.cpp126 SuccessOrExit(error = dataset.SetTlv(Tlv::kDelayTimer, delay)); in PreparePendingDataset()