Documentation ¶
Index ¶
- Constants
- func NewSensorTriggerLevelGet() cc.Command
- func NewSensorTriggerLevelReport() cc.Command
- func NewSensorTriggerLevelSet() cc.Command
- type SensorTriggerLevelGet
- func (cmd SensorTriggerLevelGet) CommandClassID() cc.CommandClassID
- func (cmd SensorTriggerLevelGet) CommandID() cc.CommandID
- func (cmd SensorTriggerLevelGet) CommandIDString() string
- func (cmd *SensorTriggerLevelGet) MarshalBinary() (payload []byte, err error)
- func (cmd *SensorTriggerLevelGet) UnmarshalBinary(data []byte) error
- type SensorTriggerLevelReport
- func (cmd SensorTriggerLevelReport) CommandClassID() cc.CommandClassID
- func (cmd SensorTriggerLevelReport) CommandID() cc.CommandID
- func (cmd SensorTriggerLevelReport) CommandIDString() string
- func (cmd *SensorTriggerLevelReport) MarshalBinary() (payload []byte, err error)
- func (cmd *SensorTriggerLevelReport) UnmarshalBinary(data []byte) error
- type SensorTriggerLevelSet
- func (cmd SensorTriggerLevelSet) CommandClassID() cc.CommandClassID
- func (cmd SensorTriggerLevelSet) CommandID() cc.CommandID
- func (cmd SensorTriggerLevelSet) CommandIDString() string
- func (cmd *SensorTriggerLevelSet) MarshalBinary() (payload []byte, err error)
- func (cmd *SensorTriggerLevelSet) UnmarshalBinary(data []byte) error
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 ¶
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
Click to show internal directories.
Click to hide internal directories.