0.01.00
ot::Mac::ExtAddress Class Reference

This structure represents an IEEE 802.15.4 Extended Address. More...

#include <src/core/mac/mac_frame.hpp>

Inheritance diagram for ot::Mac::ExtAddress:
otExtAddress

Public Member Functions

bool IsGroup (void) const
 This method indicates whether or not the Group bit is set. More...
 
void SetGroup (bool aGroup)
 This method sets the Group bit. More...
 
void ToggleGroup (void)
 This method toggles the Group bit.
 
bool IsLocal (void) const
 This method indicates whether or not the Local bit is set. More...
 
void SetLocal (bool aLocal)
 This method sets the Local bit. More...
 
void ToggleLocal (void)
 This method toggles the Local bit.
 
bool operator== (const ExtAddress &aOther) const
 This method evaluates whether or not the Extended Addresses match. More...
 
bool operator!= (const ExtAddress &aOther) const
 This method evaluates whether or not the Extended Addresses match. More...
 

Additional Inherited Members

- Public Attributes inherited from otExtAddress
uint8_t m8 [OT_EXT_ADDRESS_SIZE]
 IEEE 802.15.4 Extended Address bytes.
 

Detailed Description

This structure represents an IEEE 802.15.4 Extended Address.

Member Function Documentation

§ IsGroup()

bool ot::Mac::ExtAddress::IsGroup ( void  ) const
inline

This method indicates whether or not the Group bit is set.

Return values
TRUEIf the group bit is set.
FALSEIf the group bit is not set.

§ IsLocal()

bool ot::Mac::ExtAddress::IsLocal ( void  ) const
inline

This method indicates whether or not the Local bit is set.

Return values
TRUEIf the local bit is set.
FALSEIf the local bit is not set.

§ operator!=()

bool ot::Mac::ExtAddress::operator!= ( const ExtAddress aOther) const

This method evaluates whether or not the Extended Addresses match.

Parameters
[in]aOtherThe Extended Address to compare.
Return values
TRUEIf the Extended Addresses do not match.
FALSEIf the Extended Addresses match.

§ operator==()

bool ot::Mac::ExtAddress::operator== ( const ExtAddress aOther) const

This method evaluates whether or not the Extended Addresses match.

Parameters
[in]aOtherThe Extended Address to compare.
Return values
TRUEIf the Extended Addresses match.
FALSEIf the Extended Addresses do not match.

§ SetGroup()

void ot::Mac::ExtAddress::SetGroup ( bool  aGroup)
inline

This method sets the Group bit.

Parameters
[in]aLocalTRUE if group address, FALSE otherwise.

§ SetLocal()

void ot::Mac::ExtAddress::SetLocal ( bool  aLocal)
inline

This method sets the Local bit.

Parameters
[in]aLocalTRUE if locally administered, FALSE otherwise.

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