Init()
Initializes the TLV.
IsValid() const
Indicates whether or not the TLV appears to be well-formed.
GetServiceId() const
Returns the Service ID. It is in range 0x00-0x0f.
GetEnterpriseNumber() const
Returns Enterprise Number field.
GetServiceData() const
Gets the Service Data.
GetServiceDataLength() const
Gets Service Data length.
GetSubTlvsLength()
Returns the Sub-TLVs length in bytes.
SetSubTlvsLength()
Sets the Sub-TLVs length in bytes.
GetSubTlvs()
Returns a pointer to the Sub-TLVs.
GetSubTlvs() const
Returns a pointer to the Sub-TLVs.
CalculateSize()
Calculates the total size (number of bytes) of a Service TLV with a given Enterprise Number and Service Data length. Note that the returned size does include the Type and Length fields in the TLV, but does not account for any sub-TLVs of the Service TLV.
IsThreadEnterprise() const
GetServiceData() const
Gets the Service Data.
GetFieldsLength() const