Documentation ¶
Index ¶
- Constants
- func NewDeviceSpecificGet() cc.Command
- func NewDeviceSpecificReport() cc.Command
- func NewGet() cc.Command
- func NewReport() cc.Command
- type DeviceSpecificGet
- func (cmd DeviceSpecificGet) CommandClassID() cc.CommandClassID
- func (cmd DeviceSpecificGet) CommandID() cc.CommandID
- func (cmd DeviceSpecificGet) CommandIDString() string
- func (cmd *DeviceSpecificGet) MarshalBinary() (payload []byte, err error)
- func (cmd *DeviceSpecificGet) UnmarshalBinary(data []byte) error
- type DeviceSpecificReport
- func (cmd DeviceSpecificReport) CommandClassID() cc.CommandClassID
- func (cmd DeviceSpecificReport) CommandID() cc.CommandID
- func (cmd DeviceSpecificReport) CommandIDString() string
- func (cmd *DeviceSpecificReport) MarshalBinary() (payload []byte, err error)
- func (cmd *DeviceSpecificReport) UnmarshalBinary(data []byte) error
- type Get
- type Report
Constants ¶
View Source
const CommandDeviceSpecificGet cc.CommandID = 0x06
View Source
const CommandDeviceSpecificReport cc.CommandID = 0x07
View Source
const CommandGet cc.CommandID = 0x04
View Source
const CommandReport cc.CommandID = 0x05
Variables ¶
This section is empty.
Functions ¶
func NewDeviceSpecificGet ¶
func NewDeviceSpecificReport ¶
Types ¶
type DeviceSpecificGet ¶
type DeviceSpecificGet struct { Properties1 struct { DeviceIdType byte } }
<no value>
func (DeviceSpecificGet) CommandClassID ¶
func (cmd DeviceSpecificGet) CommandClassID() cc.CommandClassID
func (DeviceSpecificGet) CommandID ¶
func (cmd DeviceSpecificGet) CommandID() cc.CommandID
func (DeviceSpecificGet) CommandIDString ¶
func (cmd DeviceSpecificGet) CommandIDString() string
func (*DeviceSpecificGet) MarshalBinary ¶
func (cmd *DeviceSpecificGet) MarshalBinary() (payload []byte, err error)
func (*DeviceSpecificGet) UnmarshalBinary ¶
func (cmd *DeviceSpecificGet) UnmarshalBinary(data []byte) error
type DeviceSpecificReport ¶
type DeviceSpecificReport struct { Properties1 struct { DeviceIdType byte } Properties2 struct { DeviceIdDataLengthIndicator byte DeviceIdDataFormat byte } DeviceIdData []byte }
<no value>
func (DeviceSpecificReport) CommandClassID ¶
func (cmd DeviceSpecificReport) CommandClassID() cc.CommandClassID
func (DeviceSpecificReport) CommandID ¶
func (cmd DeviceSpecificReport) CommandID() cc.CommandID
func (DeviceSpecificReport) CommandIDString ¶
func (cmd DeviceSpecificReport) CommandIDString() string
func (*DeviceSpecificReport) MarshalBinary ¶
func (cmd *DeviceSpecificReport) MarshalBinary() (payload []byte, err error)
func (*DeviceSpecificReport) UnmarshalBinary ¶
func (cmd *DeviceSpecificReport) 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 ¶
<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.