ZPS_eAplAfGetEndpointDiscovery

ZPS\_teStatus ZPS\_eAplAfGetEndpointDiscovery\(
                                  uint8 u8Endpoint,
                                  uint16 u16ClusterId,
                                  bool bOutput,
                                  bool\_t *pbDiscoverable);

Description

This function obtains the discoverable state of the specified cluster of the specified endpoint on the local node - that is, whether the cluster/endpoint will be included in ‘device discoveries’ initiated on the network.

If the cluster/endpoint is discoverable, it appears in the Simple descriptor of the local node and is also included in match results requested using the function ZPS_eAplZdpMatchDescRequest().

The initial discoverable state of the cluster/endpoint is pre-set using the ZPS Configuration Editor (see Chapter 13). The state can subsequently be changed at runtime using the function ZPS_eAplAfSetEndpointDiscovery().

Parent topic:ZPS_eAplAfGetEndpointDiscovery

Parameters

  • u8Endpoint: Endpoint number (on local node)

  • u16ClusterId: Cluster ID

  • bOutput: Type of cluster (output or input), one of:

    • TRUE: Output cluster

    • FALSE: Input cluster

  • *pbDiscoverable: Pointer to location to receive discoverable state, which is one of the below:

    • TRUE: Discoverable

    • FALSE: Not discoverable

Parent topic:ZPS_eAplAfGetEndpointDiscovery

Returns

Parent topic:ZPS_eAplAfGetEndpointDiscovery

Parent topic:Endpoint functions