ZPS_eAplAfSetEndpointDiscovery

ZPS\_teStatus ZPS\_eAplAfSetEndpointDiscovery\(
                                    uint8 u8Endpoint,
                                    uint16 u16ClusterId,
                                    bool bOutput,
                                    bool bDiscoverable);

Description

This function sets 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).

Parent topic:ZPS_eAplAfSetEndpointDiscovery

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

  • bDiscoverable: Discoverable state to set, one of:

    • TRUE: Discoverable

    • FALSE: Not discoverable

Parent topic:ZPS_eAplAfSetEndpointDiscovery

Returns

Parent topic:ZPS_eAplAfSetEndpointDiscovery

Parent topic:Endpoint functions