GetPacketNumber() const
Gets the packet number field from the header.
SetPacketNumber()
Sets the packet number field in the header.
GetSource() const
Gets the source MAC address field from the header.
SetSource()
Sets the source MAC address filed in the header.
GetDestination() const
Gets the destination MAC address field from the header. MUST be used with a unicast of ack type packet, otherwise its behavior is undefined.
SetDestination()
Sets the destination MAC address field in the header. MUST be used with a unicast of ack type packet, otherwise its behavior is undefined.
GetSize()
Gets the size (number of bytes) in header of given packet type.
ToString() const
Returns a string representation of header.
Init()
Initializes the header.
IsVersionValid() const
Checks whether the version field in header is valid or not.
GetType() const
Gets the packet type.
GetLength() const
Gets the header length based on its type.
GetAckMode() const
Gets the Ack Mode field from the header.
SetAckMode()
Sets the Ack Mode field in the header.
GetChannel() const
Gets the channel field from the header.
SetChannel()
Sets the channel field in the header.
GetPanId() const
Gets the PAN Identifier field from the header.
SetPanId()
Sets the PAN Identifier field in the header.