Primary discovery cache
A ZigBee routing node (Router or the Coordinator) may be able to host a ‘primary discovery cache’. This is a database, held in memory, containing ‘discovery information’ about a set of network nodes, normally children and possibly other descendant nodes. The information held about a node includes the node’s addresses, descriptors (Node, Node Power, Simple) and its list of active endpoints. Remote nodes can then interrogate the primary discovery cache to obtain information about other nodes in the network.
Note: NXP nodes do not have the capability to hold a primary discovery cache, but functions are provided to interface with a primary discovery cache held on a node from another manufacturer.
The function zps_eAplZdpDiscoveryCacheRequest() allows nodes which hold a primary discovery cache to be detected. This function submits a Discovery_Cache_req request to the network. Nodes with a primary discovery cache reply with a Discovery_Cache_rsp response.
In addition, the function zps_eAplZdpFindNodeCacheRequest() can be used to search for nodes with a primary discovery cache that holds information about a particular node. This function submits a Find_node_cache_req request to the network. Nodes with the required node information in their caches reply with a Find_node_cache_rsp response.
Functions for storing node information in a primary discovery cache are described in Section 6.2.5.
Parent topic:Obtaining node properties