Trident IoT Zigbee SDK
Loading...
Searching...
No Matches
Collaboration diagram for On/off server APIs:

Functions

void tr_on_off_server_turn_off (zb_uint8_t endpoint)
 API to handle local turn off. It will call the user tr_on_off_server_off_cb() callback and update attributes.
void tr_on_off_server_turn_on (zb_uint8_t endpoint)
 API to handle local turn on. It will call the user tr_on_off_server_off_cb() callback and update attributes.
void tr_on_off_server_init_endpoint (zb_uint8_t endpoint)
 API to handle endpoint initialization. It will take care of the startup attribute if it is implemented.

Detailed Description



Function Documentation

◆ tr_on_off_server_init_endpoint()

void tr_on_off_server_init_endpoint ( zb_uint8_t endpoint)

API to handle endpoint initialization. It will take care of the startup attribute if it is implemented.

Parameters
endpointendpoint to be initialized

◆ tr_on_off_server_turn_off()

void tr_on_off_server_turn_off ( zb_uint8_t endpoint)

API to handle local turn off. It will call the user tr_on_off_server_off_cb() callback and update attributes.

Parameters
endpointendpoint that was turned off

◆ tr_on_off_server_turn_on()

void tr_on_off_server_turn_on ( zb_uint8_t endpoint)

API to handle local turn on. It will call the user tr_on_off_server_off_cb() callback and update attributes.

Parameters
endpointendpoint that was turned on