
Macros | |
| #define | ZB_HA_DEVICE_VER_ON_OFF_OUTPUT 0 |
| #define | ZB_HA_DECLARE_ON_OFF_OUTPUT_CLUSTER_LIST( cluster_list_name, on_off_attr_list, basic_attr_list, identify_attr_list, groups_attr_list, scenes_attr_list) |
| Declare cluster list for On/Off output device. More... | |
| #define | ZB_HA_DECLARE_ON_OFF_OUTPUT_EP(ep_name, ep_id, cluster_list) |
| Declare endpoint for On/off output device. More... | |
| #define | ZB_HA_DECLARE_ON_OFF_OUTPUT_CTX(device_ctx, ep_name) ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name) |
| Declare On/Off Output device context. More... | |
On/Off Output device has 5 clusters (see spec 7.4.3):
On/Off Output device sample
Declaring clusters:
Registering device list:
Example of command handler:
| #define ZB_HA_DECLARE_ON_OFF_OUTPUT_CLUSTER_LIST | ( | cluster_list_name, | |
| on_off_attr_list, | |||
| basic_attr_list, | |||
| identify_attr_list, | |||
| groups_attr_list, | |||
| scenes_attr_list | |||
| ) |
Declare cluster list for On/Off output device.
| cluster_list_name | - cluster list variable name |
| on_off_attr_list | - attribute list for On/Off cluster |
| basic_attr_list | - attribute list for Basic cluster |
| identify_attr_list | - attribute list for Identify cluster |
| groups_attr_list | - attribute list for Groups cluster |
| scenes_attr_list | - attribute list for Scenes cluster |
| #define ZB_HA_DECLARE_ON_OFF_OUTPUT_CTX | ( | device_ctx, | |
| ep_name | |||
| ) | ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name) |
Declare On/Off Output device context.
| device_ctx | - device context variable name. |
| ep_name | - endpoint variable name. |
| #define ZB_HA_DECLARE_ON_OFF_OUTPUT_EP | ( | ep_name, | |
| ep_id, | |||
| cluster_list | |||
| ) |
Declare endpoint for On/off output device.
| ep_name | - endpoint variable name |
| ep_id | - endpoint ID |
| cluster_list | - endpoint cluster list |
| #define ZB_HA_DEVICE_VER_ON_OFF_OUTPUT 0 |
On/Off Output device version