configurationv2

package
v0.0.0-...-c4a4cf6 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CommandBulkGet cc.CommandID = 0x08
View Source
const CommandBulkReport cc.CommandID = 0x09
View Source
const CommandBulkSet cc.CommandID = 0x07
View Source
const CommandGet cc.CommandID = 0x05
View Source
const CommandReport cc.CommandID = 0x06
View Source
const CommandSet cc.CommandID = 0x04

Variables

This section is empty.

Functions

func NewBulkGet

func NewBulkGet() cc.Command

func NewBulkReport

func NewBulkReport() cc.Command

func NewBulkSet

func NewBulkSet() cc.Command

func NewGet

func NewGet() cc.Command

func NewReport

func NewReport() cc.Command

func NewSet

func NewSet() cc.Command

Types

type BulkGet

type BulkGet struct {
	ParameterOffset uint16

	NumberOfParameters byte
}

<no value>

func (BulkGet) CommandClassID

func (cmd BulkGet) CommandClassID() cc.CommandClassID

func (BulkGet) CommandID

func (cmd BulkGet) CommandID() cc.CommandID

func (BulkGet) CommandIDString

func (cmd BulkGet) CommandIDString() string

func (*BulkGet) MarshalBinary

func (cmd *BulkGet) MarshalBinary() (payload []byte, err error)

func (*BulkGet) UnmarshalBinary

func (cmd *BulkGet) UnmarshalBinary(data []byte) error

type BulkReport

type BulkReport struct {
	ParameterOffset uint16

	NumberOfParameters byte

	ReportsToFollow byte

	Properties1 struct {
		Size byte

		Handshake bool

		Default bool
	}

	Vg []BulkReportVg
}

<no value>

func (BulkReport) CommandClassID

func (cmd BulkReport) CommandClassID() cc.CommandClassID

func (BulkReport) CommandID

func (cmd BulkReport) CommandID() cc.CommandID

func (BulkReport) CommandIDString

func (cmd BulkReport) CommandIDString() string

func (*BulkReport) MarshalBinary

func (cmd *BulkReport) MarshalBinary() (payload []byte, err error)

func (*BulkReport) UnmarshalBinary

func (cmd *BulkReport) UnmarshalBinary(data []byte) error

type BulkReportVg

type BulkReportVg struct {
	Parameter []byte
}

type BulkSet

type BulkSet struct {
	ParameterOffset uint16

	NumberOfParameters byte

	Properties1 struct {
		Size byte

		Handshake bool

		Default bool
	}

	Vg []BulkSetVg
}

<no value>

func (BulkSet) CommandClassID

func (cmd BulkSet) CommandClassID() cc.CommandClassID

func (BulkSet) CommandID

func (cmd BulkSet) CommandID() cc.CommandID

func (BulkSet) CommandIDString

func (cmd BulkSet) CommandIDString() string

func (*BulkSet) MarshalBinary

func (cmd *BulkSet) MarshalBinary() (payload []byte, err error)

func (*BulkSet) UnmarshalBinary

func (cmd *BulkSet) UnmarshalBinary(data []byte) error

type BulkSetVg

type BulkSetVg struct {
	Parameter []byte
}

type Get

type Get struct {
	ParameterNumber byte
}

<no value>

func (Get) CommandClassID

func (cmd Get) CommandClassID() cc.CommandClassID

func (Get) CommandID

func (cmd Get) CommandID() cc.CommandID

func (Get) CommandIDString

func (cmd Get) CommandIDString() string

func (*Get) MarshalBinary

func (cmd *Get) MarshalBinary() (payload []byte, err error)

func (*Get) UnmarshalBinary

func (cmd *Get) UnmarshalBinary(data []byte) error

type Report

type Report struct {
	ParameterNumber byte

	Level struct {
		Size byte
	}

	ConfigurationValue []byte
}

<no value>

func (Report) CommandClassID

func (cmd Report) CommandClassID() cc.CommandClassID

func (Report) CommandID

func (cmd Report) CommandID() cc.CommandID

func (Report) CommandIDString

func (cmd Report) CommandIDString() string

func (*Report) MarshalBinary

func (cmd *Report) MarshalBinary() (payload []byte, err error)

func (*Report) UnmarshalBinary

func (cmd *Report) UnmarshalBinary(data []byte) error

type Set

type Set struct {
	ParameterNumber byte

	Level struct {
		Size byte

		Default bool
	}

	ConfigurationValue []byte
}

<no value>

func (Set) CommandClassID

func (cmd Set) CommandClassID() cc.CommandClassID

func (Set) CommandID

func (cmd Set) CommandID() cc.CommandID

func (Set) CommandIDString

func (cmd Set) CommandIDString() string

func (*Set) MarshalBinary

func (cmd *Set) MarshalBinary() (payload []byte, err error)

func (*Set) UnmarshalBinary

func (cmd *Set) UnmarshalBinary(data []byte) error

Jump to

Keyboard shortcuts

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