11#ifndef ZIGBEE_ZDO_SERVER_HEADER_H
12#define ZIGBEE_ZDO_SERVER_HEADER_H
14#include "ns3/header.h"
15#include "ns3/mac16-address.h"
16#include "ns3/mac64-address.h"
134 void Print(std::ostream& os)
const override;
iterator in a Buffer instance
This class can contain 16 bit addresses.
a unique identifier for an interface.
uint32_t GetSerializedSize() const override
Mac16Address GetNwkAddrRemoteDev()
Get the network address of the remote device.
void SetTsn(uint8_t tsn)
Set the transaction sequence number of the NWK_addr_rsp command.
void Serialize(Buffer::Iterator start) const override
uint8_t m_status
The status of the NWK_addr_rsp command.
uint8_t m_tsn
The transaction sequence number of the NWK_addr_rsp command.
uint32_t Deserialize(Buffer::Iterator start) override
Mac16Address m_nwkAddrRemoteDev
The network address of the remote device.
Mac64Address m_ieeeAddrRemoteDev
The IEEE address of the remote device.
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
void SetIeeeAddrRemoteDev(Mac64Address ieeeAddrRemoteDev)
Set the IEEE address of the remote device.
void Print(std::ostream &os) const override
void SetStatus(uint8_t status)
Set the status of the NWK_addr_rsp command.
static TypeId GetTypeId()
Get the type ID.
Mac64Address GetIeeeAddrRemoteDev()
Get the IEEE address of the remote device.
~NwkAddrResponseCmd() override
void SetNwkAddrRemoteDev(Mac16Address nwkAddrRemoteDev)
Set the network address of the remote device.
uint8_t GetTsn() const
Get the transaction sequence number of the NWK_addr_rsp command.
uint8_t GetStatus() const
Get the status of the NWK_addr_rsp command.
ZdpClustersServerCmds
Zigbee Device Profile (ZDP) Server Services Commands Zigbee Specification r22.1.0,...
@ ACTIVE_EP_STORE_RSP
Active Endpoint Store Response command (Optional).
@ SIMPLE_DESC_STORE_RSP
Simple Descriptor Store Response command (Optional).
@ EXTENDED_ACTIVE_EP_RSP
Extended Active Endpoint Response command (Optional).
@ NODE_DESC_RSP
Node Descriptor Response command (Mandatory).
@ IEEE_ADDR_RSP
IEEE Address Response command (Mandatory).
@ SIMPLE_DESC_RSP
Simple Descriptor Response command (Mandatory).
@ COMPLEX_DESC_RSP
Complex Descriptor Response command (Optional).
@ POWER_DESC_STORE_RSP
Power Descriptor Store Response command (Optional).
@ USER_DESC_CONF
Discovery Cache Response command (Optional).
@ FIND_NODE_CACHE_RSP
Find Node Cache Response command (Optional).
@ NODE_DESC_STORE_RSP
Node Descriptor Store Response command (Optional).
@ PARENT_ANNCE_RSP
Parent Announcement Response command (Mandatory).
@ DISCOVERY_STORE_RSP
Discovery Store Response command (Optional).
@ MATCH_DESC_RSP
Match Descriptor Response command (Mandatory).
@ USER_DESC_RSP
User Descriptor Response command (Optional).
@ NWK_ADDR_RSP
Network Address Response command (Mandatory).
@ ACTIVE_EP_RSP
Active Endpoint Response command (Mandatory).
@ REMOVE_NODE_CACHE_RSP
Remove Node Cache Response command (Optional).
@ SYSTEM_SERVER_DISCOVERY_RSP
System Server Discovery Response command (Optional).
@ EXTENDED_SIMPLE_DESC_RSP
Extended Simple Descriptor Response command (Optional).
@ POWER_DESC_RSP
Power Descriptor Response command (Mandatory).
Every class exported by the ns3 library is enclosed in the ns3 namespace.