Documentation ¶
Index ¶
- Constants
- func NewBulkGet() cc.Command
- func NewBulkReport() cc.Command
- func NewBulkSet() cc.Command
- func NewDefaultReset() cc.Command
- func NewGet() cc.Command
- func NewInfoGet() cc.Command
- func NewInfoReport() cc.Command
- func NewNameGet() cc.Command
- func NewNameReport() cc.Command
- func NewPropertiesGet() cc.Command
- func NewPropertiesReport() cc.Command
- func NewReport() cc.Command
- func NewSet() cc.Command
- type BulkGet
- type BulkReport
- type BulkReportVg
- type BulkSet
- type BulkSetVg
- type DefaultReset
- type Get
- type InfoGet
- type InfoReport
- type NameGet
- type NameReport
- type PropertiesGet
- type PropertiesReport
- func (cmd PropertiesReport) CommandClassID() cc.CommandClassID
- func (cmd PropertiesReport) CommandID() cc.CommandID
- func (cmd PropertiesReport) CommandIDString() string
- func (cmd *PropertiesReport) MarshalBinary() (payload []byte, err error)
- func (cmd *PropertiesReport) UnmarshalBinary(data []byte) error
- type Report
- type Set
Constants ¶
View Source
const CommandBulkGet cc.CommandID = 0x08
View Source
const CommandBulkReport cc.CommandID = 0x09
View Source
const CommandBulkSet cc.CommandID = 0x07
View Source
const CommandDefaultReset cc.CommandID = 0x01
View Source
const CommandGet cc.CommandID = 0x05
View Source
const CommandInfoGet cc.CommandID = 0x0C
View Source
const CommandInfoReport cc.CommandID = 0x0D
View Source
const CommandNameGet cc.CommandID = 0x0A
View Source
const CommandNameReport cc.CommandID = 0x0B
View Source
const CommandPropertiesGet cc.CommandID = 0x0E
View Source
const CommandPropertiesReport cc.CommandID = 0x0F
View Source
const CommandReport cc.CommandID = 0x06
View Source
const CommandSet cc.CommandID = 0x04
Variables ¶
This section is empty.
Functions ¶
func NewBulkGet ¶
func NewBulkReport ¶
func NewBulkSet ¶
func NewDefaultReset ¶
func NewInfoGet ¶
func NewInfoReport ¶
func NewNameGet ¶
func NewNameReport ¶
func NewPropertiesGet ¶
func NewPropertiesReport ¶
Types ¶
type BulkGet ¶
<no value>
func (BulkGet) CommandClassID ¶
func (cmd BulkGet) CommandClassID() cc.CommandClassID
func (BulkGet) CommandIDString ¶
func (*BulkGet) MarshalBinary ¶
func (*BulkGet) UnmarshalBinary ¶
type BulkReport ¶
type BulkReport struct { ParameterOffset uint16 NumberOfParameters byte ReportsToFollow byte Properties1 struct { Size byte Handshake bool Default bool } Vg []BulkReportVg }
<no value>
func (BulkReport) CommandClassID ¶
func (cmd BulkReport) CommandClassID() cc.CommandClassID
func (BulkReport) CommandID ¶
func (cmd BulkReport) CommandID() cc.CommandID
func (BulkReport) CommandIDString ¶
func (cmd BulkReport) CommandIDString() string
func (*BulkReport) MarshalBinary ¶
func (cmd *BulkReport) MarshalBinary() (payload []byte, err error)
func (*BulkReport) UnmarshalBinary ¶
func (cmd *BulkReport) UnmarshalBinary(data []byte) error
type BulkReportVg ¶
type BulkReportVg struct {
Parameter []byte
}
type BulkSet ¶
type BulkSet struct { ParameterOffset uint16 NumberOfParameters byte Properties1 struct { Size byte Handshake bool Default bool } Vg []BulkSetVg }
<no value>
func (BulkSet) CommandClassID ¶
func (cmd BulkSet) CommandClassID() cc.CommandClassID
func (BulkSet) CommandIDString ¶
func (*BulkSet) MarshalBinary ¶
func (*BulkSet) UnmarshalBinary ¶
type DefaultReset ¶
type DefaultReset struct { }
<no value>
func (DefaultReset) CommandClassID ¶
func (cmd DefaultReset) CommandClassID() cc.CommandClassID
func (DefaultReset) CommandID ¶
func (cmd DefaultReset) CommandID() cc.CommandID
func (DefaultReset) CommandIDString ¶
func (cmd DefaultReset) CommandIDString() string
func (*DefaultReset) MarshalBinary ¶
func (cmd *DefaultReset) MarshalBinary() (payload []byte, err error)
func (*DefaultReset) UnmarshalBinary ¶
func (cmd *DefaultReset) UnmarshalBinary(data []byte) error
type Get ¶
type Get struct {
ParameterNumber byte
}
<no value>
func (Get) CommandClassID ¶
func (cmd Get) CommandClassID() cc.CommandClassID
func (Get) CommandIDString ¶
func (*Get) MarshalBinary ¶
func (*Get) UnmarshalBinary ¶
type InfoGet ¶
type InfoGet struct {
ParameterNumber uint16
}
<no value>
func (InfoGet) CommandClassID ¶
func (cmd InfoGet) CommandClassID() cc.CommandClassID
func (InfoGet) CommandIDString ¶
func (*InfoGet) MarshalBinary ¶
func (*InfoGet) UnmarshalBinary ¶
type InfoReport ¶
<no value>
func (InfoReport) CommandClassID ¶
func (cmd InfoReport) CommandClassID() cc.CommandClassID
func (InfoReport) CommandID ¶
func (cmd InfoReport) CommandID() cc.CommandID
func (InfoReport) CommandIDString ¶
func (cmd InfoReport) CommandIDString() string
func (*InfoReport) MarshalBinary ¶
func (cmd *InfoReport) MarshalBinary() (payload []byte, err error)
func (*InfoReport) UnmarshalBinary ¶
func (cmd *InfoReport) UnmarshalBinary(data []byte) error
type NameGet ¶
type NameGet struct {
ParameterNumber uint16
}
<no value>
func (NameGet) CommandClassID ¶
func (cmd NameGet) CommandClassID() cc.CommandClassID
func (NameGet) CommandIDString ¶
func (*NameGet) MarshalBinary ¶
func (*NameGet) UnmarshalBinary ¶
type NameReport ¶
<no value>
func (NameReport) CommandClassID ¶
func (cmd NameReport) CommandClassID() cc.CommandClassID
func (NameReport) CommandID ¶
func (cmd NameReport) CommandID() cc.CommandID
func (NameReport) CommandIDString ¶
func (cmd NameReport) CommandIDString() string
func (*NameReport) MarshalBinary ¶
func (cmd *NameReport) MarshalBinary() (payload []byte, err error)
func (*NameReport) UnmarshalBinary ¶
func (cmd *NameReport) UnmarshalBinary(data []byte) error
type PropertiesGet ¶
type PropertiesGet struct {
ParameterNumber uint16
}
<no value>
func (PropertiesGet) CommandClassID ¶
func (cmd PropertiesGet) CommandClassID() cc.CommandClassID
func (PropertiesGet) CommandID ¶
func (cmd PropertiesGet) CommandID() cc.CommandID
func (PropertiesGet) CommandIDString ¶
func (cmd PropertiesGet) CommandIDString() string
func (*PropertiesGet) MarshalBinary ¶
func (cmd *PropertiesGet) MarshalBinary() (payload []byte, err error)
func (*PropertiesGet) UnmarshalBinary ¶
func (cmd *PropertiesGet) UnmarshalBinary(data []byte) error
type PropertiesReport ¶
type PropertiesReport struct { ParameterNumber uint16 Properties1 struct { Size byte Readonly bool ReInclusionRequired bool Format byte } MinValue []byte MaxValue []byte DefaultValue []byte NextParameterNumber uint16 Properties2 struct { Advanced bool NoBulkSupport bool } }
<no value>
func (PropertiesReport) CommandClassID ¶
func (cmd PropertiesReport) CommandClassID() cc.CommandClassID
func (PropertiesReport) CommandID ¶
func (cmd PropertiesReport) CommandID() cc.CommandID
func (PropertiesReport) CommandIDString ¶
func (cmd PropertiesReport) CommandIDString() string
func (*PropertiesReport) MarshalBinary ¶
func (cmd *PropertiesReport) MarshalBinary() (payload []byte, err error)
func (*PropertiesReport) UnmarshalBinary ¶
func (cmd *PropertiesReport) UnmarshalBinary(data []byte) error
type Report ¶
<no value>
func (Report) CommandClassID ¶
func (cmd Report) CommandClassID() cc.CommandClassID
func (Report) CommandIDString ¶
func (*Report) MarshalBinary ¶
func (*Report) UnmarshalBinary ¶
type Set ¶
type Set struct { ParameterNumber byte Level struct { Size byte Default bool } ConfigurationValue []byte }
<no value>
func (Set) CommandClassID ¶
func (cmd Set) CommandClassID() cc.CommandClassID
func (Set) CommandIDString ¶
func (*Set) MarshalBinary ¶
func (*Set) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.