10#ifndef TR_POLL_CONTROL_SERVER_H
11#define TR_POLL_CONTROL_SERVER_H
14#include "zb_zcl_poll_control.h"
19#if defined(TR_POLL_CONTROL_SERVER_PLUGIN_PRINT_ENABLE) && \
20 (TR_POLL_CONTROL_SERVER_PLUGIN_PRINT_ENABLE == 1)
21#define tr_poll_control_server_printf(...) tr_zcl_printf(__VA_ARGS__)
22#define tr_poll_control_server_println(...) tr_zcl_println(__VA_ARGS__)
24#define tr_poll_control_server_printf(...)
25#define tr_poll_control_server_println(...)
71 zb_uint8_t *new_value,
zb_bool_t tr_poll_control_server_set_short_poll_interval_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle poll control cluster set short poll interval command.
void tr_poll_control_server_init_cb(void)
Callback fires when poll control server cluster is initialized.
zb_bool_t tr_poll_control_server_send_check_in_cb(void)
Callback fires when poll control server sends a check in command.
zb_bool_t tr_poll_control_server_fast_poll_stop_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle poll control cluster fast poll stop command.
zb_bool_t tr_poll_control_server_set_long_poll_interval_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle poll control cluster set long poll interval command.
void tr_poll_control_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 poll control server attribute is about to be written.
zb_bool_t tr_poll_control_server_check_in_response_cb(zb_zcl_parsed_hdr_t *cmd_info)
Callback that user can declare to handle poll control cluster check in response command.
void tr_poll_control_server_started_cb(void)
Callback fires when poll control server cluster is started.
Trident application framework include.
tr_conn_state_e
Definition tr_af.h:18
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_poll_control_server_connection_state_cb(tr_conn_state_e conn_state)
void tr_poll_control_server_init(void)