10#ifndef TR_ON_OFF_SWITCH_CONFIGURATION_CLIENT_H
11#define TR_ON_OFF_SWITCH_CONFIGURATION_CLIENT_H
18#if defined(TR_ON_OFF_SWITCH_CONFIGURATION_CLIENT_PLUGIN_PRINT_ENABLE) && (TR_ON_OFF_SWITCH_CONFIGURATION_CLIENT_PLUGIN_PRINT_ENABLE == 1)
19#define tr_on_off_switch_configuration_client_printf(...) tr_zcl_printf(__VA_ARGS__)
20#define tr_on_off_switch_configuration_client_println(...) tr_zcl_println(__VA_ARGS__)
22#define tr_on_off_switch_configuration_client_printf(...)
23#define tr_on_off_switch_configuration_client_println(...)
48 zb_uint8_t *new_value,
void tr_on_off_switch_configuration_client_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 client attribute is about to be written.
void tr_on_off_switch_configuration_client_init_cb(zb_uint8_t endpoint)
Callback fires when the On/off Switch Configuration client cluster plugin is initialized.
zb_bool_t tr_on_off_switch_configuration_client_command_received_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle any On/off Switch Configuration client 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_client_init(void)