ZPS_tsAplZdpNwkAddrRsp#
This structure is used to store NWK_addr_rsp message data - a response to a call to the function ZPS_eAplZdpNwkAddrRequest(). This response contains the network address of the node with a given IEEE address.
The ZPS_tsAplZdpNwkAddrRspstructure is detailed below.
typedef struct { uint8 u8Status;
uint64 u64IeeeAddrRemoteDev;
uint16 u16NwkAddrRemoteDev;
uint8 u8NumAssocDev;
uint8 u8StartIndex;
/* Rest of the message is variable Length */
uint16* pNwkAddrAssocDevList;
} ZPS_tsAplZdpNwkAddrRsp;
where:
u8Statusis the return status for ZPS_eAplZdpNwkAddrRequest()u64IeeeAddrRemoteDevis the IEEE address of the remote node that sent the response (this is the IEEE address specified in the original request)u16NwkAddrRemoteDevis the network address of the remote node that sent the response (this is the network address that was requested)u8NumAssocDevis the number of neighboring nodes for which network addresses are also being reported (in the remainder of the structure)u8StartIndexis the index in the remote node’s Neighbor table of the first entry to be included in this report. This element should be ignored if the elementu8NumAssocDevis 0.pNwkAddrAssocDevListis a pointer to a list of 16-bit network addresses of the remote node’s neighbors (this is a variable-length list with four bytes per node). This element should be ignored if the elementu8NumAssocDevis 0.
Parent topic:ZDP response structures