ot::MeshCoP::Dataset::ValidateTlvs() const method
Parses and validates all TLVs contained within the Dataset. Performs the following checks all TLVs in the Dataset: - Ensures correct TLV format and expected minimum length for known TLV types that may appear in a Dataset. - Validates TLV value when applicable (e.g., Channel TLV using a supported channel). - Ensures no duplicate occurrence of same TLV type.
Syntax
Error ValidateTlvs(void) const; Return value
kErrorNone Successfully validated all the TLVs in the Dataset. kErrorParse Dataset TLVs is not well-formed.
![]()
Error ValidateTlvs(void) const;
ot::MeshCoP::Dataset::ValidateTlvs() const is called by 6 functions and calls 7 functions:
![]()
ot::MeshCoP::Dataset::ValidateTlvs() const
ot::MeshCoP::Dataset::ValidateTlvs() const reads 5 variables:
![]()
ot::MeshCoP::Dataset::ValidateTlvs() const