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 disable an endpoint.
API Documentation#
emberAfIsDeviceEnabled#
bool emberAfIsDeviceEnabled (uint8_t endpoint)
Check whether the endpoint is enabled.
Parameters
N/A | endpoint | Zigbee endpoint number |
This function returns true if device at a given endpoint is enabled. At startup, all endpoints are enabled.
Definition at line
888
of file app/framework/include/af.h
emberAfIsDeviceIdentifying#
bool emberAfIsDeviceIdentifying (uint8_t endpoint)
Check whether the endpoint is identifying.
Parameters
N/A | endpoint | Zigbee endpoint number |
This function returns true if the device at a given endpoint is identifying.
Definition at line
898
of file app/framework/include/af.h
emberAfSetDeviceEnabled#
void emberAfSetDeviceEnabled (uint8_t endpoint, bool enabled)
Enable or disable an endpoint.
Parameters
N/A | endpoint | Zigbee endpoint number |
N/A | enabled |
By calling this function, you turn off all processing of incoming traffic for a given endpoint.
Definition at line
908
of file app/framework/include/af.h