Documentation ¶
Index ¶
- Constants
- func NewCommandClassGet() cc.Command
- func NewCommandClassReport() cc.Command
- func NewGet() cc.Command
- func NewReport() cc.Command
- type CommandClassGet
- func (cmd CommandClassGet) CommandClassID() cc.CommandClassID
- func (cmd CommandClassGet) CommandID() cc.CommandID
- func (cmd CommandClassGet) CommandIDString() string
- func (cmd *CommandClassGet) MarshalBinary() (payload []byte, err error)
- func (cmd *CommandClassGet) UnmarshalBinary(data []byte) error
- type CommandClassReport
- func (cmd CommandClassReport) CommandClassID() cc.CommandClassID
- func (cmd CommandClassReport) CommandID() cc.CommandID
- func (cmd CommandClassReport) CommandIDString() string
- func (cmd *CommandClassReport) MarshalBinary() (payload []byte, err error)
- func (cmd *CommandClassReport) UnmarshalBinary(data []byte) error
- type Get
- type Report
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 NewCommandClassReport ¶
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 ¶
<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) CommandIDString ¶
func (*Get) MarshalBinary ¶
func (*Get) UnmarshalBinary ¶
type Report ¶
type Report struct { ZWaveLibraryType byte ZWaveProtocolVersion byte ZWaveProtocolSubVersion byte Firmware0Version byte Firmware0SubVersion byte HardwareVersion byte NumberOfFirmwareTargets byte }
<no value>
func (Report) CommandClassID ¶
func (cmd Report) CommandClassID() cc.CommandClassID
func (Report) CommandIDString ¶
func (*Report) MarshalBinary ¶
func (*Report) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.