
#include "zcl/zb_zcl_time.h"Macros | |
| #define | ZB_HA_DEVICE_VER_ERL_GW 0 |
| #define | ZB_HA_ERL_GW_DEVICE_ID 0 |
| #define | ERL_GW_TIME_STATUS_INITIAL ((1 << ZB_ZCL_TIME_MASTER) | (1 << ZB_ZCL_TIME_MASTER_ZONE_DST)) |
| #define | ZB_HA_ERL_GW_IN_CLUSTER_NUM 3 |
| #define | ZB_HA_ERL_GW_OUT_CLUSTER_NUM 7 |
| #define | ZB_HA_ERL_GW_CLUSTER_NUM (ZB_HA_ERL_GW_IN_CLUSTER_NUM + ZB_HA_ERL_GW_OUT_CLUSTER_NUM) |
| #define | ZB_HA_ERL_GW_REPORT_ATTR_COUNT 0 |
| #define | ZB_HA_DECLARE_ERL_GW_CLUSTER_LIST( cluster_list_name, basic_attr_list, identify_attr_list, time_attr_list) |
| Declare cluster list for ERL GW device. More... | |
| #define | ZB_ZCL_DECLARE_ERL_GW_SIMPLE_DESC(ep_name, ep_id, in_clust_num, out_clust_num) |
| #define | ZB_HA_DECLARE_ERL_GW_EP(ep_name, ep_id, cluster_list) |
| Declare endpoint for ERL GW device. More... | |
| #define | ZB_HA_DECLARE_ERL_GW_CTX(device_ctx, ep_name) ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name) |
| Declare ERL GW device context. More... | |
| #define ERL_GW_TIME_STATUS_INITIAL ((1 << ZB_ZCL_TIME_MASTER) | (1 << ZB_ZCL_TIME_MASTER_ZONE_DST)) |
| #define ZB_HA_DECLARE_ERL_GW_CLUSTER_LIST | ( | cluster_list_name, | |
| basic_attr_list, | |||
| identify_attr_list, | |||
| time_attr_list | |||
| ) |
Declare cluster list for ERL GW device.
| cluster_list_name | - cluster list variable name |
| on_off_switch_config_attr_list | - attribute list for On/off switch configuration cluster |
| basic_attr_list | - attribute list for Basic cluster |
| identify_attr_list | - attribute list for Identify cluster |
| #define ZB_HA_DECLARE_ERL_GW_CTX | ( | device_ctx, | |
| ep_name | |||
| ) | ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name) |
Declare ERL GW device context.
| device_ctx | - device context variable name. |
| ep_name | - endpoint variable name. |
| #define ZB_HA_DECLARE_ERL_GW_EP | ( | ep_name, | |
| ep_id, | |||
| cluster_list | |||
| ) |
Declare endpoint for ERL GW device.
| ep_name | - endpoint variable name |
| ep_id | - endpoint ID |
| cluster_list | - endpoint cluster list |
| #define ZB_HA_DEVICE_VER_ERL_GW 0 |
ERL GW device version
| #define ZB_HA_ERL_GW_CLUSTER_NUM (ZB_HA_ERL_GW_IN_CLUSTER_NUM + ZB_HA_ERL_GW_OUT_CLUSTER_NUM) |
| #define ZB_HA_ERL_GW_DEVICE_ID 0 |
| #define ZB_HA_ERL_GW_IN_CLUSTER_NUM 3 |
| #define ZB_HA_ERL_GW_OUT_CLUSTER_NUM 7 |
| #define ZB_HA_ERL_GW_REPORT_ATTR_COUNT 0 |
| #define ZB_ZCL_DECLARE_ERL_GW_SIMPLE_DESC | ( | ep_name, | |
| ep_id, | |||
| in_clust_num, | |||
| out_clust_num | |||
| ) |