versionv2

package
v0.0.0-...-eab7a3e Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CommandCommandClassGet cc.CommandID = 0x13
View Source
const CommandCommandClassReport cc.CommandID = 0x14
View Source
const CommandGet cc.CommandID = 0x11
View Source
const CommandReport cc.CommandID = 0x12

Variables

This section is empty.

Functions

func NewCommandClassGet

func NewCommandClassGet() cc.Command

func NewCommandClassReport

func NewCommandClassReport() cc.Command

func NewGet

func NewGet() cc.Command

func NewReport

func NewReport() cc.Command

func Noop

func Noop()

Types

type CommandClassGet

type CommandClassGet struct {
	RequestedCommandClass byte
}

<no value>

func (CommandClassGet) CommandClassID

func (cmd CommandClassGet) CommandClassID() cc.CommandClassID

func (CommandClassGet) CommandID

func (cmd CommandClassGet) CommandID() cc.CommandID

func (CommandClassGet) CommandIDString

func (cmd CommandClassGet) CommandIDString() string

func (*CommandClassGet) MarshalBinary

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

func (*CommandClassGet) UnmarshalBinary

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

type CommandClassReport

type CommandClassReport struct {
	RequestedCommandClass byte

	CommandClassVersion byte
}

<no value>

func (CommandClassReport) CommandClassID

func (cmd CommandClassReport) CommandClassID() cc.CommandClassID

func (CommandClassReport) CommandID

func (cmd CommandClassReport) CommandID() cc.CommandID

func (CommandClassReport) CommandIDString

func (cmd CommandClassReport) CommandIDString() string

func (*CommandClassReport) MarshalBinary

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

func (*CommandClassReport) UnmarshalBinary

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

type Get

type Get struct {
}

<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 {
	ZWaveLibraryType byte

	ZWaveProtocolVersion byte

	ZWaveProtocolSubVersion byte

	Firmware0Version byte

	Firmware0SubVersion byte

	HardwareVersion byte

	NumberOfFirmwareTargets byte

	Vg []ReportVg
}

<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 ReportVg

type ReportVg struct {
	FirmwareVersion byte

	FirmwareSubVersion byte
}

Jump to

Keyboard shortcuts

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