ZPS_tsAplZdpIeeeAddrRsp

This structure is used to store IEEE_addr_rsp message data - a response to a call to the function ZPS_eAplZdpIeeeAddrRequest(). This response contains the IEEE address of the node with a given network address.

The ZPS_tsAplZdpIeeeAddrRspstructure 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_tsAplZdpIeeeAddrRsp;

where:

  • u8Statusis the return status for ZPS_eAplZdpIeeeAddrRequest().

  • u64IeeeAddrRemoteDevis the IEEE address of the remote node that sent the response (this is the IEEE address that was requested).

  • u16NwkAddrRemoteDevis the network address of the remote node that sent the response (this is the network address specified in the original request).

  • 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 element u8NumAssocDevis 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 element u8NumAssocDevis 0.

Parent topic:ZDP response structures