sensorconfiguration

package
Version: 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 CommandSensorTriggerLevelGet cc.CommandID = 0x02
View Source
const CommandSensorTriggerLevelReport cc.CommandID = 0x03
View Source
const CommandSensorTriggerLevelSet cc.CommandID = 0x01

Variables

This section is empty.

Functions

func NewSensorTriggerLevelGet

func NewSensorTriggerLevelGet() cc.Command

func NewSensorTriggerLevelReport

func NewSensorTriggerLevelReport() cc.Command

func NewSensorTriggerLevelSet

func NewSensorTriggerLevelSet() cc.Command

func Noop

func Noop()

Types

type SensorTriggerLevelGet

type SensorTriggerLevelGet struct {
}

<no value>

func (SensorTriggerLevelGet) CommandClassID

func (cmd SensorTriggerLevelGet) CommandClassID() cc.CommandClassID

func (SensorTriggerLevelGet) CommandID

func (cmd SensorTriggerLevelGet) CommandID() cc.CommandID

func (SensorTriggerLevelGet) CommandIDString

func (cmd SensorTriggerLevelGet) CommandIDString() string

func (*SensorTriggerLevelGet) MarshalBinary

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

func (*SensorTriggerLevelGet) UnmarshalBinary

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

type SensorTriggerLevelReport

type SensorTriggerLevelReport struct {
	SensorType byte

	Properties1 struct {
		Size byte

		Scale byte

		Precision byte
	}

	TriggerValue []byte
}

<no value>

func (SensorTriggerLevelReport) CommandClassID

func (cmd SensorTriggerLevelReport) CommandClassID() cc.CommandClassID

func (SensorTriggerLevelReport) CommandID

func (cmd SensorTriggerLevelReport) CommandID() cc.CommandID

func (SensorTriggerLevelReport) CommandIDString

func (cmd SensorTriggerLevelReport) CommandIDString() string

func (*SensorTriggerLevelReport) MarshalBinary

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

func (*SensorTriggerLevelReport) UnmarshalBinary

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

type SensorTriggerLevelSet

type SensorTriggerLevelSet struct {
	Properties1 struct {
		Current bool

		Default bool
	}

	SensorType byte

	Properties2 struct {
		Size byte

		Scale byte

		Precision byte
	}

	TriggerValue []byte
}

<no value>

func (SensorTriggerLevelSet) CommandClassID

func (cmd SensorTriggerLevelSet) CommandClassID() cc.CommandClassID

func (SensorTriggerLevelSet) CommandID

func (cmd SensorTriggerLevelSet) CommandID() cc.CommandID

func (SensorTriggerLevelSet) CommandIDString

func (cmd SensorTriggerLevelSet) CommandIDString() string

func (*SensorTriggerLevelSet) MarshalBinary

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

func (*SensorTriggerLevelSet) UnmarshalBinary

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL