class PanIds
Defined at line 436 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
Represents two PAN IDs corresponding to source and destination.
Public Methods
void PanIds ()
Initializes PAN IDs as empty (no source or destination PAN ID).
Defined at line 442 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
bool IsSourcePresent ()
Indicates whether or not source PAN ID is present.
Defined at line 450 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
PanId GetSource ()
Gets the source PAN ID when it is present.
Defined at line 457 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
bool IsDestinationPresent ()
Indicates whether or not destination PAN ID is present.
Defined at line 465 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
PanId GetDestination ()
Gets the destination PAN ID when it is present.
Defined at line 472 of file ../../third_party/openthread/src/core/mac/mac_types.hpp
void SetSource (PanId aPanId)
Sets the source PAN ID.
Parameters
void SetDestination (PanId aPanId)
Sets the destination PAN ID.
Parameters
void SetBothSourceDestination (PanId aPanId)
Sets both source and destination PAN IDs to the same value.