Device Control#

API for the Device Control functionality in the Application Framework.

Device Control description.

API#

bool

Check whether the endpoint is enabled.

bool

Check whether the endpoint is identifying.

void
sl_zigbee_af_set_device_enabled(uint8_t endpoint, bool enabled)

Enable or disable an endpoint.

API Documentation#

sl_zigbee_af_is_device_enabled#

bool sl_zigbee_af_is_device_enabled (uint8_t endpoint)

Check whether the endpoint is enabled.

Parameters
N/Aendpoint

Zigbee endpoint number

This function returns true if device at a given endpoint is enabled. At startup, all endpoints are enabled.


Definition at line 906 of file app/framework/include/af.h

sl_zigbee_af_is_device_identifying#

bool sl_zigbee_af_is_device_identifying (uint8_t endpoint)

Check whether the endpoint is identifying.

Parameters
N/Aendpoint

Zigbee endpoint number

This function returns true if the device at a given endpoint is identifying.


Definition at line 916 of file app/framework/include/af.h

sl_zigbee_af_set_device_enabled#

void sl_zigbee_af_set_device_enabled (uint8_t endpoint, bool enabled)

Enable or disable an endpoint.

Parameters
N/Aendpoint

Zigbee endpoint number

N/Aenabled

By calling this function, you turn off all processing of incoming traffic for a given endpoint.


Definition at line 926 of file app/framework/include/af.h