ZPS_vAplAfSetEndpointState

ZPS\_teStatus ZPS\_eAplAfSetEndpointState\(
                                      uint8 u8Endpoint,
                                      bool bEnabled);

Description

This function puts the specified endpoint on the local node into the specified state (enabled or disabled).

Parent topic:ZPS_vAplAfSetEndpointState

Parameters

  • u8Endpoint: Endpoint number (on local node)

  • bEnabled: State in which to put endpoint, one of:

    • TRUE: enable endpoint

    • FALSE: disable endpoint

Parent topic:ZPS_vAplAfSetEndpointState

Returns

  • ZPS_E_SUCCESS (endpoint state successfully set)

  • APS return codes, listed and described in Section 11.2.2

  • NWK return codes, listed and described in Section 11.2.3

  • MAC return codes, listed and described in Section 11.2.4

Parent topic:ZPS_vAplAfSetEndpointState

Parent topic:Endpoint functions