wakeup

package
Version: 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: 1

Documentation

Index

Constants

View Source
const CommandIntervalGet cc.CommandID = 0x05
View Source
const CommandIntervalReport cc.CommandID = 0x06
View Source
const CommandIntervalSet cc.CommandID = 0x04
View Source
const CommandNoMoreInformation cc.CommandID = 0x08
View Source
const CommandNotification cc.CommandID = 0x07

Variables

This section is empty.

Functions

func NewIntervalGet

func NewIntervalGet() cc.Command

func NewIntervalReport

func NewIntervalReport() cc.Command

func NewIntervalSet

func NewIntervalSet() cc.Command

func NewNoMoreInformation

func NewNoMoreInformation() cc.Command

func NewNotification

func NewNotification() cc.Command

Types

type IntervalGet

type IntervalGet struct {
}

<no value>

func (IntervalGet) CommandClassID

func (cmd IntervalGet) CommandClassID() cc.CommandClassID

func (IntervalGet) CommandID

func (cmd IntervalGet) CommandID() cc.CommandID

func (IntervalGet) CommandIDString

func (cmd IntervalGet) CommandIDString() string

func (*IntervalGet) MarshalBinary

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

func (*IntervalGet) UnmarshalBinary

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

type IntervalReport

type IntervalReport struct {
	Seconds uint32

	Nodeid byte
}

<no value>

func (IntervalReport) CommandClassID

func (cmd IntervalReport) CommandClassID() cc.CommandClassID

func (IntervalReport) CommandID

func (cmd IntervalReport) CommandID() cc.CommandID

func (IntervalReport) CommandIDString

func (cmd IntervalReport) CommandIDString() string

func (*IntervalReport) MarshalBinary

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

func (*IntervalReport) UnmarshalBinary

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

type IntervalSet

type IntervalSet struct {
	Seconds uint32

	Nodeid byte
}

<no value>

func (IntervalSet) CommandClassID

func (cmd IntervalSet) CommandClassID() cc.CommandClassID

func (IntervalSet) CommandID

func (cmd IntervalSet) CommandID() cc.CommandID

func (IntervalSet) CommandIDString

func (cmd IntervalSet) CommandIDString() string

func (*IntervalSet) MarshalBinary

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

func (*IntervalSet) UnmarshalBinary

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

type NoMoreInformation

type NoMoreInformation struct {
}

<no value>

func (NoMoreInformation) CommandClassID

func (cmd NoMoreInformation) CommandClassID() cc.CommandClassID

func (NoMoreInformation) CommandID

func (cmd NoMoreInformation) CommandID() cc.CommandID

func (NoMoreInformation) CommandIDString

func (cmd NoMoreInformation) CommandIDString() string

func (*NoMoreInformation) MarshalBinary

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

func (*NoMoreInformation) UnmarshalBinary

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

type Notification

type Notification struct {
}

<no value>

func (Notification) CommandClassID

func (cmd Notification) CommandClassID() cc.CommandClassID

func (Notification) CommandID

func (cmd Notification) CommandID() cc.CommandID

func (Notification) CommandIDString

func (cmd Notification) CommandIDString() string

func (*Notification) MarshalBinary

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

func (*Notification) UnmarshalBinary

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