Logo
Developing with ZBOSS for Zigbee
zb_ha_smart_plug.h File Reference

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...