modeselect

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL