10#ifndef TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_H
11#define TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_H
18#if defined(TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_PLUGIN_PRINT_ENABLE) && (TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_PLUGIN_PRINT_ENABLE == 1)
19#define tr_on_off_switch_configuration_server_printf(...) tr_zcl_printf(__VA_ARGS__)
20#define tr_on_off_switch_configuration_server_println(...) tr_zcl_println(__VA_ARGS__)
22#define tr_on_off_switch_configuration_server_printf(...)
23#define tr_on_off_switch_configuration_server_println(...)
48 zb_uint8_t *new_value,
void tr_on_off_switch_configuration_server_write_attr_cb(zb_uint8_t endpoint, zb_uint16_t attr_id, zb_uint8_t *new_value, zb_uint16_t manuf_code)
Callback fires when an On/off Switch Configuration server attribute is about to be written.
void tr_on_off_switch_configuration_server_init_cb(zb_uint8_t endpoint)
Callback fires when the On/off Switch Configuration server cluster plugin is initialized.
zb_bool_t tr_on_off_switch_configuration_server_command_received_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle any On/off Switch Configuration server commands.
Trident application framework include.
zb_uint8_t endpoint
Definition tr_nvram_attr.h:176
zb_uint16_t manuf_code
Definition tr_nvram_attr.h:180
zb_uint16_t attr_id
Definition tr_nvram_attr.h:178
void tr_on_off_switch_configuration_server_init(void)