Documentation ¶
Index ¶
- Constants
- func NewCapabilitiesGet() cc.Command
- func NewCapabilitiesReport() cc.Command
- func NewCommandClassGet() cc.Command
- func NewCommandClassReport() cc.Command
- func NewGet() cc.Command
- func NewReport() cc.Command
- func NewZwaveSoftwareGet() cc.Command
- func NewZwaveSoftwareReport() cc.Command
- func Noop()
- type CapabilitiesGet
- func (cmd CapabilitiesGet) CommandClassID() cc.CommandClassID
- func (cmd CapabilitiesGet) CommandID() cc.CommandID
- func (cmd CapabilitiesGet) CommandIDString() string
- func (cmd *CapabilitiesGet) MarshalBinary() (payload []byte, err error)
- func (cmd *CapabilitiesGet) UnmarshalBinary(data []byte) error
- type CapabilitiesReport
- func (cmd CapabilitiesReport) CommandClassID() cc.CommandClassID
- func (cmd CapabilitiesReport) CommandID() cc.CommandID
- func (cmd CapabilitiesReport) CommandIDString() string
- func (cmd *CapabilitiesReport) MarshalBinary() (payload []byte, err error)
- func (cmd *CapabilitiesReport) UnmarshalBinary(data []byte) error
- 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
- type ReportVg
- type ZwaveSoftwareGet
- func (cmd ZwaveSoftwareGet) CommandClassID() cc.CommandClassID
- func (cmd ZwaveSoftwareGet) CommandID() cc.CommandID
- func (cmd ZwaveSoftwareGet) CommandIDString() string
- func (cmd *ZwaveSoftwareGet) MarshalBinary() (payload []byte, err error)
- func (cmd *ZwaveSoftwareGet) UnmarshalBinary(data []byte) error
- type ZwaveSoftwareReport
- func (cmd ZwaveSoftwareReport) CommandClassID() cc.CommandClassID
- func (cmd ZwaveSoftwareReport) CommandID() cc.CommandID
- func (cmd ZwaveSoftwareReport) CommandIDString() string
- func (cmd *ZwaveSoftwareReport) MarshalBinary() (payload []byte, err error)
- func (cmd *ZwaveSoftwareReport) UnmarshalBinary(data []byte) error
Constants ¶
View Source
const CommandCapabilitiesGet cc.CommandID = 0x15
View Source
const CommandCapabilitiesReport cc.CommandID = 0x16
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
View Source
const CommandZwaveSoftwareGet cc.CommandID = 0x17
View Source
const CommandZwaveSoftwareReport cc.CommandID = 0x18
Variables ¶
This section is empty.
Functions ¶
func NewCapabilitiesGet ¶
func NewCapabilitiesReport ¶
func NewCommandClassGet ¶
func NewCommandClassReport ¶
func NewZwaveSoftwareGet ¶
func NewZwaveSoftwareReport ¶
Types ¶
type CapabilitiesGet ¶
type CapabilitiesGet struct { }
<no value>
func (CapabilitiesGet) CommandClassID ¶
func (cmd CapabilitiesGet) CommandClassID() cc.CommandClassID
func (CapabilitiesGet) CommandID ¶
func (cmd CapabilitiesGet) CommandID() cc.CommandID
func (CapabilitiesGet) CommandIDString ¶
func (cmd CapabilitiesGet) CommandIDString() string
func (*CapabilitiesGet) MarshalBinary ¶
func (cmd *CapabilitiesGet) MarshalBinary() (payload []byte, err error)
func (*CapabilitiesGet) UnmarshalBinary ¶
func (cmd *CapabilitiesGet) UnmarshalBinary(data []byte) error
type CapabilitiesReport ¶
type CapabilitiesReport struct { Properties1 struct { Version bool CommandClass bool ZWaveSoftware bool } }
<no value>
func (CapabilitiesReport) CommandClassID ¶
func (cmd CapabilitiesReport) CommandClassID() cc.CommandClassID
func (CapabilitiesReport) CommandID ¶
func (cmd CapabilitiesReport) CommandID() cc.CommandID
func (CapabilitiesReport) CommandIDString ¶
func (cmd CapabilitiesReport) CommandIDString() string
func (*CapabilitiesReport) MarshalBinary ¶
func (cmd *CapabilitiesReport) MarshalBinary() (payload []byte, err error)
func (*CapabilitiesReport) UnmarshalBinary ¶
func (cmd *CapabilitiesReport) UnmarshalBinary(data []byte) error
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 Vg []ReportVg }
<no value>
func (Report) CommandClassID ¶
func (cmd Report) CommandClassID() cc.CommandClassID
func (Report) CommandIDString ¶
func (*Report) MarshalBinary ¶
func (*Report) UnmarshalBinary ¶
type ZwaveSoftwareGet ¶
type ZwaveSoftwareGet struct { }
<no value>
func (ZwaveSoftwareGet) CommandClassID ¶
func (cmd ZwaveSoftwareGet) CommandClassID() cc.CommandClassID
func (ZwaveSoftwareGet) CommandID ¶
func (cmd ZwaveSoftwareGet) CommandID() cc.CommandID
func (ZwaveSoftwareGet) CommandIDString ¶
func (cmd ZwaveSoftwareGet) CommandIDString() string
func (*ZwaveSoftwareGet) MarshalBinary ¶
func (cmd *ZwaveSoftwareGet) MarshalBinary() (payload []byte, err error)
func (*ZwaveSoftwareGet) UnmarshalBinary ¶
func (cmd *ZwaveSoftwareGet) UnmarshalBinary(data []byte) error
type ZwaveSoftwareReport ¶
type ZwaveSoftwareReport struct { SdkVersion uint32 ApplicationFrameworkApiVersion uint32 ApplicationFrameworkBuildNumber uint16 HostInterfaceVersion uint32 HostInterfaceBuildNumber uint16 ZWaveProtocolVersion uint32 ZWaveProtocolBuildNumber uint16 ApplicationVersion uint32 ApplicationBuildNumber uint16 }
<no value>
func (ZwaveSoftwareReport) CommandClassID ¶
func (cmd ZwaveSoftwareReport) CommandClassID() cc.CommandClassID
func (ZwaveSoftwareReport) CommandID ¶
func (cmd ZwaveSoftwareReport) CommandID() cc.CommandID
func (ZwaveSoftwareReport) CommandIDString ¶
func (cmd ZwaveSoftwareReport) CommandIDString() string
func (*ZwaveSoftwareReport) MarshalBinary ¶
func (cmd *ZwaveSoftwareReport) MarshalBinary() (payload []byte, err error)
func (*ZwaveSoftwareReport) UnmarshalBinary ¶
func (cmd *ZwaveSoftwareReport) UnmarshalBinary(data []byte) error
Click to show internal directories.
Click to hide internal directories.