class HeaderIe

Defined at line 58 of file ../../third_party/openthread/src/core/mac/mac_header_ie.hpp

Implements IEEE 802.15.4 IE (Information Element) header generation and parsing.

Public Methods

void Init ()

Initializes the Header IE.

Defined at line 64 of file ../../third_party/openthread/src/core/mac/mac_header_ie.hpp

uint16_t GetId ()

Returns the IE Element Id.

Defined at line 79 of file ../../third_party/openthread/src/core/mac/mac_header_ie.hpp

void Init (uint16_t aId, uint8_t aLen)

Initializes the Header IE with Id and Length.

Parameters

aId [in] The IE Element Id.
aLen [in] The IE content length.
void SetId (uint16_t aId)

Sets the IE Element Id.

Parameters

aId [in] The IE Element Id.

Defined at line 86 of file ../../third_party/openthread/src/core/mac/mac_header_ie.hpp

uint8_t GetLength ()

Returns the IE content length.

Defined at line 93 of file ../../third_party/openthread/src/core/mac/mac_header_ie.hpp

void SetLength (uint8_t aLength)

Sets the IE content length.

Parameters

aLength [in] The IE content length.

Defined at line 100 of file ../../third_party/openthread/src/core/mac/mac_header_ie.hpp