Developing with ZBOSS SDK for Zigbee
|
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... | |
Range Extender device has 2 clusters (see spec 7.4.8):
Range Extender device sample
Declaring clusters:
Registering device list:
Example of command handler:
The complete set of Range Extended device samples can be found in /application/HA_samples/range_extender
#define ZB_HA_DECLARE_RANGE_EXTENDER_CLUSTER_LIST | ( | cluster_list_name, | |
basic_attr_list, | |||
identify_attr_list | |||
) |
Declare cluster list for Range extender device.
cluster_list_name | - cluster list variable name |
basic_attr_list | - attribute list for Basic cluster |
identify_attr_list | - attribute list for Identify cluster |
#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.
device_ctx | - device context variable name. |
ep_name | - endpoint variable name. |
#define ZB_HA_DECLARE_RANGE_EXTENDER_EP | ( | ep_name, | |
ep_id, | |||
cluster_list | |||
) |
Declare endpoint for Range extender device.
ep_name | - endpoint variable name |
ep_id | - endpoint ID |
cluster_list | - endpoint cluster list |
#define ZB_HA_DEVICE_VER_RANGE_EXTENDER 0 |
Range extender device version