Device Control#

API for the Device Control functionality in the Application Framework.

Device Control description.

API#

bool
emberAfIsDeviceEnabled(uint8_t endpoint)

Check whether the endpoint is enabled.

bool
emberAfIsDeviceIdentifying(uint8_t endpoint)

Check whether the endpoint is identifying.

void
emberAfSetDeviceEnabled(uint8_t endpoint, bool enabled)

Enable or disables an endpoint.

API Documentation#

emberAfIsDeviceEnabled#

bool emberAfIsDeviceEnabled (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 838 of file app/framework/include/af.h

emberAfIsDeviceIdentifying#

bool emberAfIsDeviceIdentifying (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 848 of file app/framework/include/af.h

emberAfSetDeviceEnabled#

void emberAfSetDeviceEnabled (uint8_t endpoint, bool enabled)

Enable or disables 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 858 of file app/framework/include/af.h