Documentation
¶
Overview ¶
Package modeselect implements the Matter Mode Select cluster (0x0050).
Index ¶
Constants ¶
View Source
const ( // ID is the Matter cluster ID for Mode Select. ID uint32 = 0x0050 // Name is the CLI-friendly cluster name. Name = "ModeSelect" // DisplayName is the human-friendly cluster name. DisplayName = "Mode Select" )
View Source
const ( AttrDescription uint32 = 0x0000 AttrStandardNamespace uint32 = 0x0001 AttrSupportedModes uint32 = 0x0002 AttrCurrentMode uint32 = 0x0003 AttrStartUpMode uint32 = 0x0004 AttrOnMode uint32 = 0x0005 )
Attribute IDs.
View Source
const (
CmdChangeToMode uint32 = 0x00
)
Command IDs.
View Source
const (
FeatureOnOff uint32 = 1 << 0 // DEPONOFF
)
Feature bits for the FeatureMap attribute.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeToModeRequest ¶
type ChangeToModeRequest struct {
NewMode uint8 `tlv:"0,uint"`
}
ChangeToModeRequest is the request payload for the ChangeToMode command.
Click to show internal directories.
Click to hide internal directories.