Skip to main content

Module level_control

Module level_control 

Source
Expand description

LevelControl cluster (0x0008). @generated by cargo xtask codegen — do not edit.

Modules§

attribute_id
Attribute IDs (cluster-specific).
command_id
Command IDs (requests and responses).

Structs§

Feature
LevelControl feature bits (FeatureMap).
OptionsBitmap
OptionsBitmap (map8).

Enums§

MoveModeEnum
MoveModeEnum (enum8).
StepModeEnum
StepModeEnum (enum8).

Constants§

CLUSTER_ID
Cluster ID.
CLUSTER_REVISION
Cluster revision.

Functions§

decode_current_frequency
Decode the CurrentFrequency attribute value.
decode_current_level
Decode the CurrentLevel attribute value.
decode_default_move_rate
Decode the DefaultMoveRate attribute value.
decode_max_frequency
Decode the MaxFrequency attribute value.
decode_max_level
Decode the MaxLevel attribute value.
decode_min_frequency
Decode the MinFrequency attribute value.
decode_min_level
Decode the MinLevel attribute value.
decode_off_transition_time
Decode the OffTransitionTime attribute value.
decode_on_level
Decode the OnLevel attribute value.
decode_on_off_transition_time
Decode the OnOffTransitionTime attribute value.
decode_on_transition_time
Decode the OnTransitionTime attribute value.
decode_options
Decode the Options attribute value.
decode_remaining_time
Decode the RemainingTime attribute value.
decode_start_up_current_level
Decode the StartUpCurrentLevel attribute value.
encode_default_move_rate
Encode the DefaultMoveRate attribute value as a standalone TLV element.
encode_move
Encode the Move command request payload.
encode_move_to_closest_frequency
Encode the MoveToClosestFrequency command request payload.
encode_move_to_level
Encode the MoveToLevel command request payload.
encode_move_to_level_with_on_off
Encode the MoveToLevelWithOnOff command request payload.
encode_move_with_on_off
Encode the MoveWithOnOff command request payload.
encode_off_transition_time
Encode the OffTransitionTime attribute value as a standalone TLV element.
encode_on_level
Encode the OnLevel attribute value as a standalone TLV element.
encode_on_off_transition_time
Encode the OnOffTransitionTime attribute value as a standalone TLV element.
encode_on_transition_time
Encode the OnTransitionTime attribute value as a standalone TLV element.
encode_options
Encode the Options attribute value as a standalone TLV element.
encode_start_up_current_level
Encode the StartUpCurrentLevel attribute value as a standalone TLV element.
encode_step
Encode the Step command request payload.
encode_step_with_on_off
Encode the StepWithOnOff command request payload.
encode_stop
Encode the Stop command request payload.
encode_stop_with_on_off
Encode the StopWithOnOff command request payload.