Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
tr_on_off_switch_configuration_server.h
Go to the documentation of this file.
1
10#ifndef TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_H
11#define TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_H
12
13#include "tr_af.h"
14#include "zb_zcl_on_off_switch_conf.h"
15
19#if defined(TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_PLUGIN_PRINT_ENABLE) && \
20 (TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_PLUGIN_PRINT_ENABLE == 1)
21#define tr_on_off_switch_configuration_server_printf(...) tr_zcl_printf(__VA_ARGS__)
22#define tr_on_off_switch_configuration_server_println(...) tr_zcl_println(__VA_ARGS__)
23#else
24#define tr_on_off_switch_configuration_server_printf(...)
25#define tr_on_off_switch_configuration_server_println(...)
26#endif
27
33
36
43 zb_uint16_t attr_id,
44 zb_uint8_t *new_value,
45 zb_uint16_t manuf_code);
46
48
53
54#endif // TR_ON_OFF_SWITCH_CONFIGURATION_SERVER_H
void tr_on_off_switch_configuration_server_init_cb(void)
Callback fires when on off switch configuration server cluster is initialized.
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 a on off switch configuration server attribute is about to be written.
Trident application framework include.
zb_uint8_t endpoint
Definition tr_nvram_attr.h:23
zb_uint16_t manuf_code
Definition tr_nvram_attr.h:27
zb_uint16_t attr_id
Definition tr_nvram_attr.h:25
void tr_on_off_switch_configuration_server_init(void)