ZCL level

Zigbee Cluster Library (ZCL) level cluster usage definition for ESP Zigbee SDK.

Header File

Macros

ESP_ZB_ZCL_LEVEL_CONTROL_CURRENT_LEVEL_DEFAULT_VALUE

Current Level attribute default value.

ESP_ZB_ZCL_LEVEL_CONTROL_REMAINING_TIME_DEFAULT_VALUE

Default value for RemainingTime attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_MIN_LEVEL_DEFAULT_VALUE

Default value for MinLevel attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_MAX_LEVEL_DEFAULT_VALUE

Default value for MaxLevel attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_CURRENT_FREQUENCY_DEFAULT_VALUE

Default value for CurrentFrequency attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_MIN_FREQUENCY_DEFAULT_VALUE

Default value for MinFrequency attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_MAX_FREQUENCY_DEFAULT_VALUE

Default value for MaxFrequency attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_ON_OFF_TRANSITION_TIME_DEFAULT_VALUE

Default value for OnOffTransitionTime attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_ON_LEVEL_DEFAULT_VALUE

Default value for OnLevel attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_ON_TRANSITION_TIME_DEFAULT_VALUE

Default value for OnTransitionTime attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_OFF_TRANSITION_TIME_DEFAULT_VALUE

Default value for OffTransitionTime attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_RATE_DEFAULT_VALUE

Default move rate.

ESP_ZB_ZCL_LEVEL_CONTROL_OPTIONS_DEFAULT_VALUE

Default value for Options attribute.

ESP_ZB_ZCL_LEVEL_CONTROL_START_UP_CURRENT_LEVEL_USE_PREVIOUS_VALUE

Default value for OnLevel attribute.

Enumerations

enum esp_zb_zcl_level_control_attr_t

Level control attribute list.

Values:

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID

Current Level attribute

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_REMAINING_TIME_ID

Remaining Time attribute

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_MIN_LEVEL_ID

The MinLevel attribute indicates the minimum value of CurrentLevel that is capable of being assigned.

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_MAX_LEVEL_ID

The MaxLevel attribute indicates the maximum value of CurrentLevel that is capable of being assigned.

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_FREQUENCY_ID

The CurrentFrequency attribute represents the frequency that the devices is at CurrentLevel.

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_MIN_FREQUENCY_ID

The MinFrequency attribute indicates the minimum value of CurrentFrequency that is capable of being assigned.

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_MAX_FREQUENCY_ID

The MaxFrequency attribute indicates the maximum value of CurrentFrequency that is capable of being assigned.

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_ON_OFF_TRANSITION_TIME_ID

On off transition time attribute

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_ON_LEVEL_ID

On Level attribute

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_ON_TRANSITION_TIME_ID

The OnTransitionTime attribute represents the time taken to move the current level

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_OFF_TRANSITION_TIME_ID

The OffTransitionTime attribute represents the time taken to move the current level

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_DEFAULT_MOVE_RATE_ID

The DefaultMoveRate attribute determines the movement rate, in units per second

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_OPTIONS_ID

The Options attribute is a bitmap that determines the default behavior of some cluster commands.

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_START_UP_CURRENT_LEVEL_ID

The StartUpCurrentLevel attribute SHALL define the desired startup level

enumerator ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_MOVE_STATUS_ID

Special Move Variables attribute Internal usage

enum esp_zb_zcl_level_control_cmd_id_t

Level control cluster command identifiers.

Values:

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_MOVE_TO_LEVEL

Move To Level command

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_MOVE

Move command

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_STEP

Step command

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_STOP

Stop command

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_MOVE_TO_LEVEL_WITH_ON_OFF

Move To Level with On/Off command

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_MOVE_WITH_ON_OFF

Move with On/Off command

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_STEP_WITH_ON_OFF

Step with On/Off command

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_STOP_WITH_ON_OFF

Step with On/Off command

enumerator ESP_ZB_ZCL_CMD_LEVEL_CONTROL_MOVE_TO_CLOSEST_FREQUENCY

Upon receipt of “Move to Closest Frequency” command