Developing with ZBOSS SDK for Zigbee
Range Extender

Macros

#define ZB_HA_DEVICE_VER_RANGE_EXTENDER   0
 
#define ZB_HA_DECLARE_RANGE_EXTENDER_CLUSTER_LIST( cluster_list_name, basic_attr_list, identify_attr_list)
 Declare cluster list for Range extender device. More...
 
#define ZB_HA_DECLARE_RANGE_EXTENDER_EP(ep_name, ep_id, cluster_list)
 Declare endpoint for Range extender device. More...
 
#define ZB_HA_DECLARE_RANGE_EXTENDER_CTX(device_ctx, ep_name)   ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name)
 Declare Range Extender device context. More...
 

Detailed Description

Range Extender device has 2 clusters (see spec 7.4.8):

Range Extender device sample

Example

Macro Definition Documentation

◆ ZB_HA_DECLARE_RANGE_EXTENDER_CLUSTER_LIST

#define ZB_HA_DECLARE_RANGE_EXTENDER_CLUSTER_LIST (   cluster_list_name,
  basic_attr_list,
  identify_attr_list 
)
Value:
zb_zcl_cluster_desc_t cluster_list_name[] = \
{ \
ZB_ZCL_CLUSTER_DESC( \
ZB_ZCL_ARRAY_SIZE(identify_attr_list, zb_zcl_attr_t), \
(identify_attr_list), \
), \
ZB_ZCL_CLUSTER_DESC( \
ZB_ZCL_ARRAY_SIZE(basic_attr_list, zb_zcl_attr_t), \
(basic_attr_list), \
) \
}
ZCL cluster description.
Definition: zb_zcl_common.h:146
Definition: zb_zcl_common.h:219
Definition: zb_zcl_common.h:215
#define ZB_ZCL_MANUF_CODE_INVALID
Internal invalid manufacturer code value.
Definition: zb_zcl_common.h:333
ZCL attribute definition structure.
Definition: zb_zcl_common.h:632
Definition: zb_zcl_common.h:202

Declare cluster list for Range extender device.

Parameters
cluster_list_name- cluster list variable name
basic_attr_list- attribute list for Basic cluster
identify_attr_list- attribute list for Identify cluster

◆ ZB_HA_DECLARE_RANGE_EXTENDER_CTX

#define ZB_HA_DECLARE_RANGE_EXTENDER_CTX (   device_ctx,
  ep_name 
)    ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name)

Declare Range Extender device context.

Parameters
device_ctx- device context variable name.
ep_name- endpoint variable name.

◆ ZB_HA_DECLARE_RANGE_EXTENDER_EP

#define ZB_HA_DECLARE_RANGE_EXTENDER_EP (   ep_name,
  ep_id,
  cluster_list 
)
Value:
ZB_ZCL_DECLARE_RANGE_EXTENDER_SIMPLE_DESC(ep_name, ep_id, \
ZB_HA_RANGE_EXTENDER_IN_CLUSTER_NUM, ZB_HA_RANGE_EXTENDER_OUT_CLUSTER_NUM); \
ZB_AF_DECLARE_ENDPOINT_DESC(ep_name, ep_id, ZB_AF_HA_PROFILE_ID, 0, NULL, \
ZB_ZCL_ARRAY_SIZE(cluster_list, zb_zcl_cluster_desc_t), cluster_list, \
(zb_af_simple_desc_1_1_t*)&simple_desc_##ep_name, \
0, NULL, /* No reporting ctx */ \
0, NULL) /* No CVC ctx */
ZCL cluster description.
Definition: zb_zcl_common.h:146
Definition: zboss_api_af.h:314

Declare endpoint for Range extender device.

Parameters
ep_name- endpoint variable name
ep_id- endpoint ID
cluster_list- endpoint cluster list

◆ ZB_HA_DEVICE_VER_RANGE_EXTENDER

#define ZB_HA_DEVICE_VER_RANGE_EXTENDER   0

Range extender device version