Developing with ZBOSS for Zigbee
|
Macros | |
#define | ZB_HA_DEVICE_VER_SMART_PLUG 1 |
#define | ZB_HA_DECLARE_SMART_PLUG_CLUSTER_LIST( cluster_list_name, basic_attr_list, identify_attr_list, on_off_attr_list, metering_attr_list, el_measurement_attr_list) |
Declare cluster list for Smart Plug device. More... | |
#define | ZB_ZCL_DECLARE_SMART_PLUG_SIMPLE_DESC(ep_name, ep_id, in_clust_num, out_clust_num) |
Declare simple descriptor for Smart Plug device. More... | |
#define | ZB_HA_DECLARE_SMART_PLUG_EP(ep_name, ep_id, cluster_list) |
Declare endpoint for Smart Plug device. More... | |
#define | ZB_HA_DECLARE_SMART_PLUG_CTX(device_ctx, ep_name) ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name) |
Declare application's device context for Smart Plug device. More... | |
#define ZB_HA_DECLARE_SMART_PLUG_CLUSTER_LIST | ( | cluster_list_name, | |
basic_attr_list, | |||
identify_attr_list, | |||
on_off_attr_list, | |||
metering_attr_list, | |||
el_measurement_attr_list | |||
) |
Declare cluster list for Smart Plug device.
cluster_list_name | - cluster list variable name |
basic_attr_list | - attribute list for Basic cluster |
identify_attr_list | - attribute list for Identify cluster |
on_off_attr_list | - attribute list for On/Off cluster |
metering_attr_list | - attribute list for Metering cluster |
el_measurement_attr_list | - attribute list for Electrical Measurement cluster |
#define ZB_HA_DECLARE_SMART_PLUG_CTX | ( | device_ctx, | |
ep_name | |||
) | ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name) |
Declare application's device context for Smart Plug device.
device_ctx | - device context variable |
ep_name | - endpoint variable name |
#define ZB_HA_DECLARE_SMART_PLUG_EP | ( | ep_name, | |
ep_id, | |||
cluster_list | |||
) |
Declare endpoint for Smart Plug device.
ep_name | - endpoint variable name |
ep_id | - endpoint ID |
cluster_list | - endpoint cluster list |
#define ZB_HA_DEVICE_VER_SMART_PLUG 1 |
Smart Plug device version
#define ZB_ZCL_DECLARE_SMART_PLUG_SIMPLE_DESC | ( | ep_name, | |
ep_id, | |||
in_clust_num, | |||
out_clust_num | |||
) |
Declare simple descriptor for Smart Plug device.
ep_name | - endpoint variable name |
ep_id | - endpoint ID |
in_clust_num | - number of supported input clusters |
out_clust_num | - number of supported output clusters |