ZPS_tsAplZdpMgmtCacheRsp

This structure is used to store Mgmt_Cache_rsp message data - a response to a call to the function ZPS_eAplZdpMgmtCacheRequest(). This response reports a list of the End Devices registered in the node’s primary discovery cache.

The ZPS_tsAplZdpMgmtCacheRspstructure is detailed below.

typedef struct {
    uint8 u8Status;
    uint8 u8DiscoveryCacheEntries;
    uint8 u8StartIndex;
    uint8 u8DiscoveryCacheListCount;
   /* Rest of the message is variable length */
   ZPS_tsAplDiscoveryCache* pDiscoveryCacheList;
} ZPS_tsAplZdpMgmtCacheRsp;

where:

  • u8Statusis the return status for ZPS_eAplZdpMgmtCacheRequest()

  • u8DiscoveryCacheEntriesis the total number of discovery cache entries on the remote node.

  • u8StartIndexis the discovery cache index of the first entry reported in this response (through pDiscoveryCacheList).

  • u8DiscoveryCacheListCountis the number of discovery cache entries reported in this response (through pDiscoveryCacheList).

  • pRoutingTableListis a pointer to the first entry in the list of reported discovery cache entries. Each entry is of the type ZPS_tsAplDiscoveryCachedetailed below.

ZPS_tsAplDiscoveryCache

typedef struct {
      uint64 u64ExtendedAddress;
      uint16 u16NwkAddress;
} ZPS_tsAplDiscoveryCache;

where:

  • u64ExtendedAddressis the IEEE address of the End Device.

  • u16NwkAddressis the network address of the End Device.

Parent topic:ZPS_tsAplZdpMgmtCacheRsp

Parent topic:ZDP response structures