0.01.00
ot::ExtendedTlv Class Reference
Inheritance diagram for ot::ExtendedTlv:
ot::Tlv

Public Member Functions

uint16_t GetLength (void) const
 This method returns the Length value.
 
void SetLength (uint16_t aLength)
 This method sets the Length value. More...
 
- Public Member Functions inherited from ot::Tlv
 Tlv (void)
 Default constructor.
 
uint8_t GetType (void) const
 This method returns the Type value. More...
 
void SetType (uint8_t aType)
 This method sets the Type value. More...
 
uint8_t GetLength (void) const
 This method returns the Length value. More...
 
void SetLength (uint8_t aLength)
 This method sets the Length value. More...
 
uint8_t GetSize (void) const
 This method returns the total size including Type, Length, and Value fields. More...
 
uint8_t * GetValue (void)
 This method returns a pointer to the Value. More...
 
const uint8_t * GetValue (void) const
 This method returns a pointer to the Value. More...
 
TlvGetNext (void)
 This method returns a pointer to the next TLV. More...
 
const TlvGetNext (void) const
 This method returns a pointer to the next TLV. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ot::Tlv
static otError Get (const Message &aMessage, uint8_t aType, uint16_t aMaxLength, Tlv &aTlv)
 This static method reads the requested TLV out of aMessage. More...
 
static otError GetOffset (const Message &aMessage, uint8_t aType, uint16_t &aOffset)
 This static method obtains the offset of a TLV within aMessage. More...
 
static otError GetValueOffset (const Message &aMesasge, uint8_t aType, uint16_t &aOffset, uint16_t &aLength)
 This static method finds the offset and length of a given TLV type. More...
 
- Protected Types inherited from ot::Tlv
enum  { kExtendedLength = 255 }
 Length values. More...
 

Member Function Documentation

§ SetLength()

void ot::ExtendedTlv::SetLength ( uint16_t  aLength)
inline

This method sets the Length value.

Parameters
[in]aLengthThe Length value.

The documentation for this class was generated from the following file: