Documentation ¶
Index ¶
- Constants
- func NewGet() cc.Command
- func NewReport() cc.Command
- func NewSet() cc.Command
- func NewTypeSupportedGet() cc.Command
- func NewTypeSupportedReport() cc.Command
- type Get
- type Report
- type Set
- type TypeSupportedGet
- func (cmd TypeSupportedGet) CommandClassID() cc.CommandClassID
- func (cmd TypeSupportedGet) CommandID() cc.CommandID
- func (cmd TypeSupportedGet) CommandIDString() string
- func (cmd *TypeSupportedGet) MarshalBinary() (payload []byte, err error)
- func (cmd *TypeSupportedGet) UnmarshalBinary(data []byte) error
- type TypeSupportedReport
- func (cmd TypeSupportedReport) CommandClassID() cc.CommandClassID
- func (cmd TypeSupportedReport) CommandID() cc.CommandID
- func (cmd TypeSupportedReport) CommandIDString() string
- func (cmd *TypeSupportedReport) MarshalBinary() (payload []byte, err error)
- func (cmd *TypeSupportedReport) UnmarshalBinary(data []byte) error
Constants ¶
View Source
const CommandGet cc.CommandID = 0x04
View Source
const CommandReport cc.CommandID = 0x05
View Source
const CommandSet cc.CommandID = 0x06
View Source
const CommandTypeSupportedGet cc.CommandID = 0x07
View Source
const CommandTypeSupportedReport cc.CommandID = 0x08
Variables ¶
This section is empty.
Functions ¶
func NewTypeSupportedGet ¶
func NewTypeSupportedReport ¶
Types ¶
type Get ¶
<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 { AlarmType byte AlarmLevel byte ZensorNetSourceNodeId byte ZwaveAlarmStatus byte ZwaveAlarmType byte ZwaveAlarmEvent byte NumberOfEventParameters byte EventParameter []byte }
<no value>
func (Report) CommandClassID ¶
func (cmd Report) CommandClassID() cc.CommandClassID
func (Report) CommandIDString ¶
func (*Report) MarshalBinary ¶
func (*Report) UnmarshalBinary ¶
type Set ¶
<no value>
func (Set) CommandClassID ¶
func (cmd Set) CommandClassID() cc.CommandClassID
func (Set) CommandIDString ¶
func (*Set) MarshalBinary ¶
func (*Set) UnmarshalBinary ¶
type TypeSupportedGet ¶
type TypeSupportedGet struct { }
<no value>
func (TypeSupportedGet) CommandClassID ¶
func (cmd TypeSupportedGet) CommandClassID() cc.CommandClassID
func (TypeSupportedGet) CommandID ¶
func (cmd TypeSupportedGet) CommandID() cc.CommandID
func (TypeSupportedGet) CommandIDString ¶
func (cmd TypeSupportedGet) CommandIDString() string
func (*TypeSupportedGet) MarshalBinary ¶
func (cmd *TypeSupportedGet) MarshalBinary() (payload []byte, err error)
func (*TypeSupportedGet) UnmarshalBinary ¶
func (cmd *TypeSupportedGet) UnmarshalBinary(data []byte) error
type TypeSupportedReport ¶
type TypeSupportedReport struct { Properties1 struct { NumberOfBitMasks byte V1Alarm bool } BitMask []byte }
<no value>
func (TypeSupportedReport) CommandClassID ¶
func (cmd TypeSupportedReport) CommandClassID() cc.CommandClassID
func (TypeSupportedReport) CommandID ¶
func (cmd TypeSupportedReport) CommandID() cc.CommandID
func (TypeSupportedReport) CommandIDString ¶
func (cmd TypeSupportedReport) CommandIDString() string
func (*TypeSupportedReport) MarshalBinary ¶
func (cmd *TypeSupportedReport) MarshalBinary() (payload []byte, err error)
func (*TypeSupportedReport) UnmarshalBinary ¶
func (cmd *TypeSupportedReport) UnmarshalBinary(data []byte) error
Click to show internal directories.
Click to hide internal directories.