Developing with ZBOSS SDK for Zigbee
Level Controllable Output

Macros

#define ZB_HA_DEVICE_VER_LEVEL_CONTROLLABLE_OUTPUT   0
 
#define ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_IN_CLUSTER_NUM   6
 
#define ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_OUT_CLUSTER_NUM   0
 
#define ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_CLUSTER_NUM
 
#define ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_REPORT_ATTR_COUNT   (ZB_ZCL_LEVEL_CONTROL_REPORT_ATTR_COUNT + ZB_ZCL_ON_OFF_REPORT_ATTR_COUNT)
 
#define ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_CVC_ATTR_COUNT   1
 
#define ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CLUSTER_LIST( cluster_list_name, basic_attr_list, identify_attr_list, scenes_attr_list, groups_attr_list, on_off_attr_list, level_control_attr_list)
 Declare cluster list for Level Controllable Output device. More...
 
#define ZB_ZCL_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_SIMPLE_DESC( ep_name, ep_id, in_clust_num, out_clust_num)
 
#define ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_EP(ep_name, ep_id, cluster_list)
 Declare endpoint for Level Controllable Output device. More...
 
#define ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CTX(device_ctx, ep_name)   ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name)
 Declare application's device context for Level Control Switch device. More...
 

Detailed Description

Level Control device has 6 clusters (see spec 7.4.4):

Sample use Level Control device

Example

Macro Definition Documentation

◆ ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CLUSTER_LIST

#define ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CLUSTER_LIST (   cluster_list_name,
  basic_attr_list,
  identify_attr_list,
  scenes_attr_list,
  groups_attr_list,
  on_off_attr_list,
  level_control_attr_list 
)

Declare cluster list for Level Controllable Output 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
scenes_attr_list- attribute list for Scenes cluster
groups_attr_list- attribute list for Groups cluster
on_off_attr_list- attribute list for On/Off cluster
level_control_attr_list- attribute list for Level Control cluster

◆ ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CTX

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

Declare application's device context for Level Control Switch device.

Parameters
device_ctx- device context variable
ep_name- endpoint variable name

◆ ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_EP

#define ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_EP (   ep_name,
  ep_id,
  cluster_list 
)
Value:
ZB_ZCL_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_SIMPLE_DESC(ep_name, \
ep_id, \
ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_OUT_CLUSTER_NUM); \
ZBOSS_DEVICE_DECLARE_REPORTING_CTX(reporting_info## device_ctx_name, \
ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_REPORT_ATTR_COUNT); \
ZBOSS_DEVICE_DECLARE_LEVEL_CONTROL_CTX(cvc_alarm_info## device_ctx_name, \
ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_CVC_ATTR_COUNT); \
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, \
ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_REPORT_ATTR_COUNT, \
reporting_info## device_ctx_name, \
ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_CVC_ATTR_COUNT, \
cvc_alarm_info## device_ctx_name)

Declare endpoint for Level Controllable Output device.

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

◆ ZB_HA_DEVICE_VER_LEVEL_CONTROLLABLE_OUTPUT

#define ZB_HA_DEVICE_VER_LEVEL_CONTROLLABLE_OUTPUT   0

< Level Controllable Output device version Level Controllable Output IN (server) clusters number

◆ ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_CLUSTER_NUM

#define ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_CLUSTER_NUM
Value:
+ ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_OUT_CLUSTER_NUM)

◆ ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_IN_CLUSTER_NUM

#define ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_IN_CLUSTER_NUM   6

Level Controllable Output OUT (client) clusters number

◆ ZB_ZCL_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_SIMPLE_DESC

#define ZB_ZCL_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_SIMPLE_DESC (   ep_name,
  ep_id,
  in_clust_num,
  out_clust_num 
)
Value:
ZB_DECLARE_SIMPLE_DESC(in_clust_num, out_clust_num); \
ZB_AF_SIMPLE_DESC_TYPE(in_clust_num, out_clust_num) simple_desc_##ep_name = \
{ \
ep_id, \
ZB_AF_HA_PROFILE_ID, \
ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_DEVICE_ID, \
ZB_HA_DEVICE_VER_LEVEL_CONTROLLABLE_OUTPUT, \
0, \
in_clust_num, \
out_clust_num, \
{ \
ZB_ZCL_CLUSTER_ID_BASIC, \
ZB_ZCL_CLUSTER_ID_IDENTIFY, \
ZB_ZCL_CLUSTER_ID_SCENES, \
ZB_ZCL_CLUSTER_ID_GROUPS, \
ZB_ZCL_CLUSTER_ID_ON_OFF, \
ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL \
} \
}
ZB_NVRAM_APP_DATA1
@ ZB_NVRAM_APP_DATA1
Definition: zboss_api.h:854
ZB_ZCL_SET_ATTRIBUTE
#define ZB_ZCL_SET_ATTRIBUTE(ep, cluster_id, cluster_role, attr_id, value_ptr, check_access)
Sets attribute value, perform all needed checks before and after setting new value,...
Definition: zb_zcl_common.h:759
ZB_ZCL_DECLARE_BASIC_ATTRIB_LIST_EXT
#define ZB_ZCL_DECLARE_BASIC_ATTRIB_LIST_EXT( attr_list, zcl_version, app_version, stack_version, hardware_version, manufacturer_name, model_id, date_code, power_source, location_id, ph_env, sw_build_id)
Declare attribute list for Basic cluster (extended attribute set).
Definition: zb_zcl_basic.h:358
ZB_ZCL_BASIC_HW_VERSION_DEFAULT_VALUE
#define ZB_ZCL_BASIC_HW_VERSION_DEFAULT_VALUE
Default value for Hardware version attribute.
Definition: zb_zcl_basic.h:167
ZB_ZCL_SCENES_FREE_SCENE_TABLE_RECORD
#define ZB_ZCL_SCENES_FREE_SCENE_TABLE_RECORD
Declares a "free record" marker for a scene table Used as a value of a group_id field in a correspond...
Definition: zb_zcl_scenes.h:160
zb_zcl_scenes_remove_all_scenes_req_s
Remove all scenes command payload structure.
Definition: zb_zcl_scenes.h:689
ZB_ZCL_GET_ATTRIBUTE_VAL_8
#define ZB_ZCL_GET_ATTRIBUTE_VAL_8(attr_desc)
Definition: zb_zcl_common.h:798
ZB_ZCL_REGISTER_DEVICE_CB
#define ZB_ZCL_REGISTER_DEVICE_CB(func_ptr)
Set Device user application callback. The macro sets a callback being called upon to need inform User...
Definition: zboss_api_af.h:768
zb_zcl_scenes_recall_scene_req_s::group_id
zb_uint16_t group_id
Definition: zb_zcl_scenes.h:847
ZB_ZCL_SCENES_INTERNAL_REMOVE_ALL_SCENES_ALL_ENDPOINTS_ALL_GROUPS_CB_ID
@ ZB_ZCL_SCENES_INTERNAL_REMOVE_ALL_SCENES_ALL_ENDPOINTS_ALL_GROUPS_CB_ID
Definition: zboss_api_zcl.h:1477
ZB_DECLARE_SIMPLE_DESC
#define ZB_DECLARE_SIMPLE_DESC(in_clusters_count, out_clusters_count)
Definition: zboss_api_af.h:206
zb_uint8_t
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:158
zb_zcl_device_callback_param_s::status
zb_ret_t status
Definition: zboss_api_zcl.h:1658
ZB_ZCL_STATUS_NOT_FOUND
@ ZB_ZCL_STATUS_NOT_FOUND
Definition: zb_zcl_common.h:351
ZB_ZCL_ON_OFF_GLOBAL_SCENE_CONTROL_DEFAULT_VALUE
#define ZB_ZCL_ON_OFF_GLOBAL_SCENE_CONTROL_DEFAULT_VALUE
Default value for GlobalSceneControl attribute.
Definition: zb_zcl_on_off.h:97
ZB_ZCL_ON_OFF_OFF_WAIT_TIME_DEFAULT_VALUE
#define ZB_ZCL_ON_OFF_OFF_WAIT_TIME_DEFAULT_VALUE
Default value for OffWaitTime attribute.
Definition: zb_zcl_on_off.h:103
ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID
@ ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID
Current Level attribute.
Definition: zb_zcl_level_control.h:53
ZB_ZCL_STATUS_SUCCESS
@ ZB_ZCL_STATUS_SUCCESS
Definition: zb_zcl_common.h:337
ZB_ZCL_DECLARE_GROUPS_ATTRIB_LIST
#define ZB_ZCL_DECLARE_GROUPS_ATTRIB_LIST(attr_list, name_support)
Declare attribute list for Groups cluster.
Definition: zb_zcl_groups.h:70
ZB_AF_HA_PROFILE_ID
@ ZB_AF_HA_PROFILE_ID
Definition: zboss_api_af.h:315
ZB_AF_SET_ENDPOINT_HANDLER
#define ZB_AF_SET_ENDPOINT_HANDLER(endpoint, handler)
Allows application to register cluster commands handler for a specific endpoint.
Definition: zboss_api_af.h:579
zb_zcl_set_attr_value_param_s::attr_id
zb_uint16_t attr_id
Definition: zb_zcl_common.h:2059
zb_zcl_scenes_store_scene_req_s
Store scene command payload structure.
Definition: zb_zcl_scenes.h:764
ZB_ZCL_BASIC_ZCL_VERSION_DEFAULT_VALUE
#define ZB_ZCL_BASIC_ZCL_VERSION_DEFAULT_VALUE
Default value for ZCL version attribute.
Definition: zb_zcl_basic.h:158
ZB_ZCL_SCENES_REMOVE_ALL_SCENES_CB_ID
@ ZB_ZCL_SCENES_REMOVE_ALL_SCENES_CB_ID
Definition: zboss_api_zcl.h:1426
zb_zcl_parsed_hdr_s
Definition: zb_zcl_common.h:972
ZB_ZCL_ON_OFF_ON_TIME_DEFAULT_VALUE
#define ZB_ZCL_ON_OFF_ON_TIME_DEFAULT_VALUE
Default value for OnTime attribute.
Definition: zb_zcl_on_off.h:100
ZB_ZCL_DEVICE_CMD_PARAM_CMD_INFO
#define ZB_ZCL_DEVICE_CMD_PARAM_CMD_INFO(_param)
Definition: zboss_api_zcl.h:1758
ZB_ZCL_SCENES_SCENE_VALID_DEFAULT_VALUE
#define ZB_ZCL_SCENES_SCENE_VALID_DEFAULT_VALUE
Default value for Scene valid attribute.
Definition: zb_zcl_scenes.h:106
zb_zcl_cluster_desc_s
ZCL cluster description.
Definition: zb_zcl_common.h:127
zb_zcl_attr_s
ZCL attribute definition structure.
Definition: zb_zcl_common.h:613
ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_EP
#define ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_EP(ep_name, ep_id, cluster_list)
Declare endpoint for Level Controllable Output device.
Definition: zb_ha_level_controllable_output.h:184
ZB_ZCL_BASIC_SW_BUILD_ID_DEFAULT_VALUE
#define ZB_ZCL_BASIC_SW_BUILD_ID_DEFAULT_VALUE
Default value for SWBuildId attribute.
Definition: zb_zcl_basic.h:222
ZB_ZCL_ON_OFF_ON_OFF_DEFAULT_VALUE
#define ZB_ZCL_ON_OFF_ON_OFF_DEFAULT_VALUE
Default value for OnOff attribute.
Definition: zb_zcl_on_off.h:94
zb_nvram_write_dataset
void zb_nvram_write_dataset(zb_nvram_dataset_types_t t)
zb_bool_t
zb_bool_t
General purpose boolean type.
Definition: zb_types.h:127
ZB_MAC_LQI_UNDEFINED
#define ZB_MAC_LQI_UNDEFINED
Definition: zboss_api_nwk.h:131
ZB_BUF_GET_PARAM
#define ZB_BUF_GET_PARAM(buf, type)
Definition: zboss_api_buf.h:468
ZB_ZCL_SCENES_INTERNAL_REMOVE_ALL_SCENES_ALL_ENDPOINTS_CB_ID
@ ZB_ZCL_SCENES_INTERNAL_REMOVE_ALL_SCENES_ALL_ENDPOINTS_CB_ID
Definition: zboss_api_zcl.h:1465
zb_int8_t
signed char zb_int8_t
Project-local 1-byte signed int type.
Definition: zb_types.h:160
ZB_ZCL_BASIC_APPLICATION_VERSION_DEFAULT_VALUE
#define ZB_ZCL_BASIC_APPLICATION_VERSION_DEFAULT_VALUE
Default value for Application version attribute.
Definition: zb_zcl_basic.h:161
ZB_ZCL_CLUSTER_ID_ON_OFF
@ ZB_ZCL_CLUSTER_ID_ON_OFF
Definition: zb_zcl_common.h:203
ZB_ZCL_PARSED_HDR_SHORT_DATA
#define ZB_ZCL_PARSED_HDR_SHORT_DATA(header)
Extract common addressing data from parsed ZCL structure.
Definition: zb_zcl_common.h:1036
zb_zcl_set_attr_value_param_s::data8
zb_uint8_t data8
Definition: zb_zcl_common.h:2069
zb_char_t
char zb_char_t
Project-local char type.
Definition: zb_types.h:154
ZB_FALSE
@ ZB_FALSE
Definition: zb_types.h:129
ZB_MAC_RSSI_UNDEFINED
#define ZB_MAC_RSSI_UNDEFINED
Definition: zboss_api_nwk.h:135
ZB_ZCL_IDENTIFY_IDENTIFY_TIME_DEFAULT_VALUE
#define ZB_ZCL_IDENTIFY_IDENTIFY_TIME_DEFAULT_VALUE
Default value for Identify attribute.
Definition: zb_zcl_identify.h:66
ZB_ZCL_SET_ATTR_VALUE_CB_ID
@ ZB_ZCL_SET_ATTR_VALUE_CB_ID
Definition: zboss_api_zcl.h:295
ZB_ZCL_BASIC_MANUFACTURER_NAME_DEFAULT_VALUE
#define ZB_ZCL_BASIC_MANUFACTURER_NAME_DEFAULT_VALUE
Default value for Manufacturer name attribute.
Definition: zb_zcl_basic.h:170
ZB_AF_REGISTER_DEVICE_CTX
#define ZB_AF_REGISTER_DEVICE_CTX(_device_ctx)
Definition: zboss_api_af.h:754
zb_zdo_get_diag_data
void zb_zdo_get_diag_data(zb_uint16_t short_address, zb_uint8_t *lqi, zb_int8_t *rssi)
Obtains last known LQI and RSSI values from device with specified short address.
ZB_ZCL_SCENES_CURRENT_GROUP_DEFAULT_VALUE
#define ZB_ZCL_SCENES_CURRENT_GROUP_DEFAULT_VALUE
Default value for Current group attribute.
Definition: zb_zcl_scenes.h:103
ZB_ZCL_DECLARE_LEVEL_CONTROL_ATTRIB_LIST_EXT
#define ZB_ZCL_DECLARE_LEVEL_CONTROL_ATTRIB_LIST_EXT(attr_list, current_level, remaining_time, start_up_current_level, options)
Declare attribute list for Level Control cluster.
Definition: zb_zcl_level_control.h:194
zb_zcl_scenes_remove_all_scenes_req_s::group_id
zb_uint16_t group_id
Definition: zb_zcl_scenes.h:691
ZB_ZCL_DECLARE_SCENES_ATTRIB_LIST
#define ZB_ZCL_DECLARE_SCENES_ATTRIB_LIST( attr_list, scene_count, current_scene, current_group, scene_valid, name_support)
Declares Scenes attribute list.
Definition: zb_zcl_scenes.h:180
ZB_ZCL_LEVEL_CONTROL_REMAINING_TIME_DEFAULT_VALUE
#define ZB_ZCL_LEVEL_CONTROL_REMAINING_TIME_DEFAULT_VALUE
Default value for RemainingTime attribute.
Definition: zb_zcl_level_control.h:124
ZB_ZCL_STATUS_INVALID_FIELD
@ ZB_ZCL_STATUS_INVALID_FIELD
Definition: zb_zcl_common.h:345
zb_zcl_scenes_recall_scene_req_s::scene_id
zb_uint8_t scene_id
Definition: zb_zcl_scenes.h:848
zb_zcl_scenes_store_scene_req_s::group_id
zb_uint16_t group_id
Definition: zb_zcl_scenes.h:766
ZB_ZCL_BASIC_POWER_SOURCE_DEFAULT_VALUE
#define ZB_ZCL_BASIC_POWER_SOURCE_DEFAULT_VALUE
Default value for Power source attribute.
Definition: zb_zcl_basic.h:179
ZB_ZCL_SCENES_STORE_SCENE_CB_ID
@ ZB_ZCL_SCENES_STORE_SCENE_CB_ID
Definition: zboss_api_zcl.h:1380
ZB_ZCL_FRAME_DIRECTION_TO_CLI
@ ZB_ZCL_FRAME_DIRECTION_TO_CLI
Definition: zb_zcl_common.h:897
zb_zcl_parsed_hdr_s::cmd_direction
zb_uint8_t cmd_direction
Definition: zb_zcl_common.h:1008
ZB_ZCL_COPY_PARSED_HEADER
#define ZB_ZCL_COPY_PARSED_HEADER(buf, dst)
Copy parsed ZCL header from buffer.
Definition: zb_zcl_common.h:1278
ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CLUSTER_LIST
#define ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CLUSTER_LIST( cluster_list_name, basic_attr_list, identify_attr_list, scenes_attr_list, groups_attr_list, on_off_attr_list, level_control_attr_list)
Declare cluster list for Level Controllable Output device.
Definition: zb_ha_level_controllable_output.h:96
ZB_ZCL_BASIC_MODEL_IDENTIFIER_DEFAULT_VALUE
#define ZB_ZCL_BASIC_MODEL_IDENTIFIER_DEFAULT_VALUE
Default value for Model identifier attribute.
Definition: zb_zcl_basic.h:173
zb_zcl_device_callback_param_s
Data for Device user application callback. This structure has receive to User application callback (s...
Definition: zboss_api_zcl.h:1651
zb_zcl_get_attr_desc_a
zb_zcl_attr_t * zb_zcl_get_attr_desc_a(zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint8_t cluster_role, zb_uint16_t attr_id)
RET_OK
#define RET_OK
Error codes for non-void stack functions. In general, function can return OK, BLOCKED or some error....
Definition: zb_errors.h:73
ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL
@ ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL
Definition: zb_zcl_common.h:206
zb_zcl_scenes_store_scene_req_s::scene_id
zb_uint8_t scene_id
Definition: zb_zcl_scenes.h:767
ZB_ZCL_BASIC_DATE_CODE_DEFAULT_VALUE
#define ZB_ZCL_BASIC_DATE_CODE_DEFAULT_VALUE
Default value for Date code attribute.
Definition: zb_zcl_basic.h:176
ZB_ZCL_STATUS_INSUFF_SPACE
@ ZB_ZCL_STATUS_INSUFF_SPACE
Definition: zb_zcl_common.h:349
ZB_ZCL_DEVICE_CMD_PARAM_OUT_GET
#define ZB_ZCL_DEVICE_CMD_PARAM_OUT_GET(_param, _ptype)
Definition: zboss_api_zcl.h:1751
zb_uint16_t
unsigned short zb_uint16_t
Project-local 2-byte unsigned int type.
Definition: zb_types.h:162
ZB_ZCL_CLUSTER_SERVER_ROLE
@ ZB_ZCL_CLUSTER_SERVER_ROLE
Definition: zb_zcl_common.h:183
ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_IN_CLUSTER_NUM
#define ZB_HA_LEVEL_CONTROLLABLE_OUTPUT_IN_CLUSTER_NUM
Definition: zb_ha_level_controllable_output.h:72
ZB_ZCL_BASIC_STACK_VERSION_DEFAULT_VALUE
#define ZB_ZCL_BASIC_STACK_VERSION_DEFAULT_VALUE
Default value for Stack version attribute.
Definition: zb_zcl_basic.h:164
zb_zcl_set_attr_value_param_s::cluster_id
zb_uint16_t cluster_id
Definition: zb_zcl_common.h:2058
ZB_ZCL_ATTR_LEVEL_CONTROL_START_UP_CURRENT_LEVEL_ID
@ ZB_ZCL_ATTR_LEVEL_CONTROL_START_UP_CURRENT_LEVEL_ID
Definition: zb_zcl_level_control.h:97
ZB_ZCL_ATTR_ON_OFF_ON_OFF_ID
@ ZB_ZCL_ATTR_ON_OFF_ON_OFF_ID
OnOff attribute.
Definition: zb_zcl_on_off.h:61
zb_zcl_device_callback_param_s::cb_param
union zb_zcl_device_callback_param_s::@1 cb_param
ZB_ZCL_SCENES_RECALL_SCENE_CB_ID
@ ZB_ZCL_SCENES_RECALL_SCENE_CB_ID
Definition: zboss_api_zcl.h:1438
ZB_ZCL_LEVEL_CONTROL_START_UP_CURRENT_LEVEL_USE_PREVIOUS_VALUE
#define ZB_ZCL_LEVEL_CONTROL_START_UP_CURRENT_LEVEL_USE_PREVIOUS_VALUE
Default value for OnLevel attribute.
Definition: zb_zcl_level_control.h:157
zb_zcl_scenes_recall_scene_req_s
Recall scene command payload structure.
Definition: zb_zcl_scenes.h:845
ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CTX
#define ZB_HA_DECLARE_LEVEL_CONTROLLABLE_OUTPUT_CTX(device_ctx, ep_name)
Declare application's device context for Level Control Switch device.
Definition: zb_ha_level_controllable_output.h:209
ZB_ZCL_SCENES_SCENE_COUNT_DEFAULT_VALUE
#define ZB_ZCL_SCENES_SCENE_COUNT_DEFAULT_VALUE
Default value for Scene count attribute.
Definition: zb_zcl_scenes.h:97
zb_buf_len
#define zb_buf_len(buf)
Definition: zboss_api_buf.h:378
ZB_ZCL_LEVEL_CONTROL_CURRENT_LEVEL_DEFAULT_VALUE
#define ZB_ZCL_LEVEL_CONTROL_CURRENT_LEVEL_DEFAULT_VALUE
Current Level attribute default value.
Definition: zb_zcl_level_control.h:122
ZB_ZCL_SCENES_CURRENT_SCENE_DEFAULT_VALUE
#define ZB_ZCL_SCENES_CURRENT_SCENE_DEFAULT_VALUE
Default value for Current scene attribute.
Definition: zb_zcl_scenes.h:100
ZB_ZCL_BASIC_PHYSICAL_ENVIRONMENT_DEFAULT_VALUE
#define ZB_ZCL_BASIC_PHYSICAL_ENVIRONMENT_DEFAULT_VALUE
Default value for Physical environment attribute.
Definition: zb_zcl_basic.h:206
zb_zcl_device_callback_param_s::device_cb_id
zb_zcl_device_callback_id_t device_cb_id
Definition: zboss_api_zcl.h:1654
ZB_ZCL_DEVICE_CMD_PARAM_IN_GET
#define ZB_ZCL_DEVICE_CMD_PARAM_IN_GET(_param, _ptype)
Definition: zboss_api_zcl.h:1743
ZB_ZCL_BASIC_LOCATION_DESCRIPTION_DEFAULT_VALUE
#define ZB_ZCL_BASIC_LOCATION_DESCRIPTION_DEFAULT_VALUE
Default value for location description attribute.
Definition: zb_zcl_basic.h:203