11#ifndef TR_ZCL_ENDPOINT_CONFIG_H
12#define TR_ZCL_ENDPOINT_CONFIG_H
14#include "zb_zcl_common.h"
15#include "zboss_api_internal.h"
20#define TR_DEVICE_MANUFACTURER_ID 0x1570U
21#define TR_GLOBAL_RESPONSE_POLICY ZB_ZCL_DISABLE_DEFAULT_RESPONSE
23#define TR_ZCL_NULL_EP_ID 0xFFU
24#define TR_ZCL_NULL_ID 0xFFFFU
25#define TR_ZCL_NON_MANUFACTURER_SPECIFIC 0xFFFFU
33#define TR_NUM_NVRAM_ATTR (0)
35#define TR_NVRAM_ATTR_STORAGE_CONFIG \
48 zb_uint16_t profile_id;
50 zb_uint16_t min_interval;
51 zb_uint16_t max_interval;
53 zb_uint32_t reportable_change;
56#ifdef TR_PLUGIN_ATTR_REPORT_TABLE_SIZE
57#define TR_ATTR_REPORT_TABLE_SIZE TR_PLUGIN_ATTR_REPORT_TABLE_SIZE
59#define TR_ATTR_REPORT_TABLE_SIZE 16
62#define TR_DEVICE_NUM_DEFAULT_REPORTABLE_ATTRS 0
64#define TR_DEVICE_REPORTING_CONFIG_DEFAULTS \
69#define TR_TOTAL_ATTR_REPORT_TABLE_SIZE (TR_ATTR_REPORT_TABLE_SIZE + TR_DEVICE_NUM_DEFAULT_REPORTABLE_ATTRS)
75 zb_char_t *cluster_name;
#define TR_TOTAL_ATTR_REPORT_TABLE_SIZE
Definition tr_zcl_endpoint_config.h:69
zb_af_device_ctx_t tr_device_ctx
tr_cluster_names_t tr_cluster_names[]
void tr_zcl_endpoint_config_reporting_init(void)
zb_zcl_diagnostics_ctx_t diagnostics_ctx_zcl
void tr_zcl_endpoint_config_attr_init(uint8_t endpoint)
void tr_zcl_endpoint_config_init(void)
zb_zcl_reporting_info_t tr_device_reporting_info[TR_TOTAL_ATTR_REPORT_TABLE_SIZE]
includes Trident ZCL plugin header files or creates stubs that can be consumed by the end user.
ZCL definitions for types, enums, and data structures.
Definition tr_zcl_endpoint_config.h:413
Definition tr_zcl_endpoint_config.h:456
zb_uint8_t endpoint
Definition tr_nvram_attr.h:23
zb_uint16_t cluster_id
Definition tr_nvram_attr.h:24
zb_uint8_t cluster_role
Definition tr_nvram_attr.h:26
zb_uint16_t manuf_code
Definition tr_nvram_attr.h:27
zb_uint16_t attr_id
Definition tr_nvram_attr.h:25
zb_uint8_t data_type
Definition tr_nvram_attr.h:28