Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
tr_zcl_endpoint_config.h File Reference

ZCL configuration header file. More...

#include "zb_zcl_common.h"
#include "zboss_api_internal.h"
#include "tr_zcl_id.h"
#include "tr_zcl_type.h"
#include "tr_zcl_plugin_include.h"
+ Include dependency graph for tr_zcl_endpoint_config.h:

Go to the source code of this file.

Data Structures

struct  tr_attr_report_config_t
 
struct  tr_cluster_names_t
 

Macros

#define TR_DEVICE_MANUFACTURER_ID   0x1570U
 
#define TR_GLOBAL_RESPONSE_POLICY   ZB_ZCL_DISABLE_DEFAULT_RESPONSE
 
#define TR_ZCL_NULL_EP_ID   0xFFU
 
#define TR_ZCL_NULL_ID   0xFFFFU
 
#define TR_ZCL_NON_MANUFACTURER_SPECIFIC   0xFFFFU
 
#define TR_NUM_NVRAM_ATTR   (0)
 
#define TR_NVRAM_ATTR_STORAGE_CONFIG
 
#define TR_ATTR_REPORT_TABLE_SIZE   16
 
#define TR_DEVICE_NUM_DEFAULT_REPORTABLE_ATTRS   0
 
#define TR_DEVICE_REPORTING_CONFIG_DEFAULTS
 
#define TR_TOTAL_ATTR_REPORT_TABLE_SIZE   (TR_ATTR_REPORT_TABLE_SIZE + TR_DEVICE_NUM_DEFAULT_REPORTABLE_ATTRS)
 

Functions

void tr_zcl_endpoint_config_init (void)
 
void tr_zcl_endpoint_config_attr_init (uint8_t endpoint)
 
void tr_zcl_endpoint_config_reporting_init (void)
 

Variables

tr_cluster_names_t tr_cluster_names []
 
zb_af_device_ctx_t tr_device_ctx
 
zb_zcl_reporting_info_t tr_device_reporting_info [TR_TOTAL_ATTR_REPORT_TABLE_SIZE]
 
zb_zcl_diagnostics_ctx_t diagnostics_ctx_zcl
 

Detailed Description

ZCL configuration header file.


This file is generated by ZCL Advanced Platform generator. Please don't edit manually.

SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com


Macro Definition Documentation

◆ TR_ATTR_REPORT_TABLE_SIZE

#define TR_ATTR_REPORT_TABLE_SIZE   16

◆ TR_DEVICE_MANUFACTURER_ID

#define TR_DEVICE_MANUFACTURER_ID   0x1570U

◆ TR_DEVICE_NUM_DEFAULT_REPORTABLE_ATTRS

#define TR_DEVICE_NUM_DEFAULT_REPORTABLE_ATTRS   0

◆ TR_DEVICE_REPORTING_CONFIG_DEFAULTS

#define TR_DEVICE_REPORTING_CONFIG_DEFAULTS
Value:
{ \
{}, \
}

◆ TR_GLOBAL_RESPONSE_POLICY

#define TR_GLOBAL_RESPONSE_POLICY   ZB_ZCL_DISABLE_DEFAULT_RESPONSE

◆ TR_NUM_NVRAM_ATTR

#define TR_NUM_NVRAM_ATTR   (0)

◆ TR_NVRAM_ATTR_STORAGE_CONFIG

#define TR_NVRAM_ATTR_STORAGE_CONFIG
Value:
{ \
}

◆ TR_TOTAL_ATTR_REPORT_TABLE_SIZE

#define TR_TOTAL_ATTR_REPORT_TABLE_SIZE   (TR_ATTR_REPORT_TABLE_SIZE + TR_DEVICE_NUM_DEFAULT_REPORTABLE_ATTRS)

◆ TR_ZCL_NON_MANUFACTURER_SPECIFIC

#define TR_ZCL_NON_MANUFACTURER_SPECIFIC   0xFFFFU

◆ TR_ZCL_NULL_EP_ID

#define TR_ZCL_NULL_EP_ID   0xFFU

◆ TR_ZCL_NULL_ID

#define TR_ZCL_NULL_ID   0xFFFFU

Function Documentation

◆ tr_zcl_endpoint_config_attr_init()

void tr_zcl_endpoint_config_attr_init ( uint8_t endpoint)

◆ tr_zcl_endpoint_config_init()

void tr_zcl_endpoint_config_init ( void )

◆ tr_zcl_endpoint_config_reporting_init()

void tr_zcl_endpoint_config_reporting_init ( void )

Variable Documentation

◆ diagnostics_ctx_zcl

zb_zcl_diagnostics_ctx_t diagnostics_ctx_zcl
extern

◆ tr_cluster_names

tr_cluster_names_t tr_cluster_names[]
extern

◆ tr_device_ctx

zb_af_device_ctx_t tr_device_ctx
extern

◆ tr_device_reporting_info

zb_zcl_reporting_info_t tr_device_reporting_info[TR_TOTAL_ATTR_REPORT_TABLE_SIZE]
extern