struct Matter::Cluster::Definitions::Scenes::CopySceneRequest

Overview

Input to the Scenes copyScene command

Included Modules

Defined in:

matter/cluster/definitions/scenes.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def group_identifier_from : DataType::GroupId #

The GroupIdentifierFrom field specifies the identifier of the group from which the scene is to be copied. Together with the SceneIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene Table.


[View source]
def group_identifier_from=(group_identifier_from : DataType::GroupId) #

The GroupIdentifierFrom field specifies the identifier of the group from which the scene is to be copied. Together with the SceneIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene Table.


[View source]
def group_identifier_to : DataType::GroupId #

The GroupIdentifierTo field specifies the identifier of the group to which the scene is to be copied. Together with the SceneIdentifierTo field, this field uniquely identifies the scene to copy to the Scene Table.


[View source]
def group_identifier_to=(group_identifier_to : DataType::GroupId) #

The GroupIdentifierTo field specifies the identifier of the group to which the scene is to be copied. Together with the SceneIdentifierTo field, this field uniquely identifies the scene to copy to the Scene Table.


[View source]
def mode : UInt8 #

The Mode field contains information of how the scene copy is to proceed. This field shall be formatted as illustrated in Format of the Mode Field of the CopyScene Command.

The CopyAllScenes subfield is 1-bit in length and indicates whether all scenes are to be copied. If this value is set to 1, all scenes are to be copied and the SceneIdentifierFrom and SceneIdentifierTo fields shall be ignored. Otherwise this field is set to 0.


[View source]
def mode=(mode : UInt8) #

The Mode field contains information of how the scene copy is to proceed. This field shall be formatted as illustrated in Format of the Mode Field of the CopyScene Command.

The CopyAllScenes subfield is 1-bit in length and indicates whether all scenes are to be copied. If this value is set to 1, all scenes are to be copied and the SceneIdentifierFrom and SceneIdentifierTo fields shall be ignored. Otherwise this field is set to 0.


[View source]
def scene_identifier_from : UInt8 #

The SceneIdentifierFrom field specifies the identifier of the scene from which the scene is to be copied. Together with the GroupIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene Table.


[View source]
def scene_identifier_from=(scene_identifier_from : UInt8) #

The SceneIdentifierFrom field specifies the identifier of the scene from which the scene is to be copied. Together with the GroupIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene Table.


[View source]
def scene_identifier_to : UInt8 #

The SceneIdentifierTo field specifies the identifier of the scene to which the scene is to be copied. Together with the GroupIdentifierTo field, this field uniquely identifies the scene to copy to the Scene Table.


[View source]
def scene_identifier_to=(scene_identifier_to : UInt8) #

The SceneIdentifierTo field specifies the identifier of the scene to which the scene is to be copied. Together with the GroupIdentifierTo field, this field uniquely identifies the scene to copy to the Scene Table.


[View source]