configurationv4

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 CommandDefaultReset cc.CommandID = 0x01
View Source
const CommandGet cc.CommandID = 0x05
View Source
const CommandInfoGet cc.CommandID = 0x0C
View Source
const CommandInfoReport cc.CommandID = 0x0D
View Source
const CommandNameGet cc.CommandID = 0x0A
View Source
const CommandNameReport cc.CommandID = 0x0B
View Source
const CommandPropertiesGet cc.CommandID = 0x0E
View Source
const CommandPropertiesReport cc.CommandID = 0x0F
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 NewDefaultReset

func NewDefaultReset() cc.Command

func NewGet

func NewGet() cc.Command

func NewInfoGet

func NewInfoGet() cc.Command

func NewInfoReport

func NewInfoReport() cc.Command

func NewNameGet

func NewNameGet() cc.Command

func NewNameReport

func NewNameReport() cc.Command

func NewPropertiesGet

func NewPropertiesGet() cc.Command

func NewPropertiesReport

func NewPropertiesReport() 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 DefaultReset

type DefaultReset struct {
}

<no value>

func (DefaultReset) CommandClassID

func (cmd DefaultReset) CommandClassID() cc.CommandClassID

func (DefaultReset) CommandID

func (cmd DefaultReset) CommandID() cc.CommandID

func (DefaultReset) CommandIDString

func (cmd DefaultReset) CommandIDString() string

func (*DefaultReset) MarshalBinary

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

func (*DefaultReset) UnmarshalBinary

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

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 InfoGet

type InfoGet struct {
	ParameterNumber uint16
}

<no value>

func (InfoGet) CommandClassID

func (cmd InfoGet) CommandClassID() cc.CommandClassID

func (InfoGet) CommandID

func (cmd InfoGet) CommandID() cc.CommandID

func (InfoGet) CommandIDString

func (cmd InfoGet) CommandIDString() string

func (*InfoGet) MarshalBinary

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

func (*InfoGet) UnmarshalBinary

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

type InfoReport

type InfoReport struct {
	ParameterNumber uint16

	ReportsToFollow byte

	Info []byte
}

<no value>

func (InfoReport) CommandClassID

func (cmd InfoReport) CommandClassID() cc.CommandClassID

func (InfoReport) CommandID

func (cmd InfoReport) CommandID() cc.CommandID

func (InfoReport) CommandIDString

func (cmd InfoReport) CommandIDString() string

func (*InfoReport) MarshalBinary

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

func (*InfoReport) UnmarshalBinary

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

type NameGet

type NameGet struct {
	ParameterNumber uint16
}

<no value>

func (NameGet) CommandClassID

func (cmd NameGet) CommandClassID() cc.CommandClassID

func (NameGet) CommandID

func (cmd NameGet) CommandID() cc.CommandID

func (NameGet) CommandIDString

func (cmd NameGet) CommandIDString() string

func (*NameGet) MarshalBinary

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

func (*NameGet) UnmarshalBinary

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

type NameReport

type NameReport struct {
	ParameterNumber uint16

	ReportsToFollow byte

	Name []byte
}

<no value>

func (NameReport) CommandClassID

func (cmd NameReport) CommandClassID() cc.CommandClassID

func (NameReport) CommandID

func (cmd NameReport) CommandID() cc.CommandID

func (NameReport) CommandIDString

func (cmd NameReport) CommandIDString() string

func (*NameReport) MarshalBinary

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

func (*NameReport) UnmarshalBinary

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

type PropertiesGet

type PropertiesGet struct {
	ParameterNumber uint16
}

<no value>

func (PropertiesGet) CommandClassID

func (cmd PropertiesGet) CommandClassID() cc.CommandClassID

func (PropertiesGet) CommandID

func (cmd PropertiesGet) CommandID() cc.CommandID

func (PropertiesGet) CommandIDString

func (cmd PropertiesGet) CommandIDString() string

func (*PropertiesGet) MarshalBinary

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

func (*PropertiesGet) UnmarshalBinary

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

type PropertiesReport

type PropertiesReport struct {
	ParameterNumber uint16

	Properties1 struct {
		Size byte

		Readonly bool

		ReInclusionRequired bool

		Format byte
	}

	MinValue []byte

	MaxValue []byte

	DefaultValue []byte

	NextParameterNumber uint16

	Properties2 struct {
		Advanced bool

		NoBulkSupport bool
	}
}

<no value>

func (PropertiesReport) CommandClassID

func (cmd PropertiesReport) CommandClassID() cc.CommandClassID

func (PropertiesReport) CommandID

func (cmd PropertiesReport) CommandID() cc.CommandID

func (PropertiesReport) CommandIDString

func (cmd PropertiesReport) CommandIDString() string

func (*PropertiesReport) MarshalBinary

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

func (*PropertiesReport) UnmarshalBinary

func (cmd *PropertiesReport) 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