Documentation ¶
Index ¶
- Constants
- func NewEventSupportedGet() cc.Command
- func NewEventSupportedReport() cc.Command
- func NewGet() cc.Command
- func NewReport() cc.Command
- func NewSet() cc.Command
- func NewSupportedGet() cc.Command
- func NewSupportedReport() cc.Command
- type EventSupportedGet
- func (cmd EventSupportedGet) CommandClassID() cc.CommandClassID
- func (cmd EventSupportedGet) CommandID() cc.CommandID
- func (cmd EventSupportedGet) CommandIDString() string
- func (cmd *EventSupportedGet) MarshalBinary() (payload []byte, err error)
- func (cmd *EventSupportedGet) UnmarshalBinary(data []byte) error
- type EventSupportedReport
- func (cmd EventSupportedReport) CommandClassID() cc.CommandClassID
- func (cmd EventSupportedReport) CommandID() cc.CommandID
- func (cmd EventSupportedReport) CommandIDString() string
- func (cmd *EventSupportedReport) MarshalBinary() (payload []byte, err error)
- func (cmd *EventSupportedReport) UnmarshalBinary(data []byte) error
- type Get
- type Report
- type Set
- type SupportedGet
- type SupportedReport
- func (cmd SupportedReport) CommandClassID() cc.CommandClassID
- func (cmd SupportedReport) CommandID() cc.CommandID
- func (cmd SupportedReport) CommandIDString() string
- func (cmd *SupportedReport) MarshalBinary() (payload []byte, err error)
- func (cmd *SupportedReport) UnmarshalBinary(data []byte) error
Constants ¶
View Source
const CommandEventSupportedGet cc.CommandID = 0x01
View Source
const CommandEventSupportedReport cc.CommandID = 0x02
View Source
const CommandGet cc.CommandID = 0x04
View Source
const CommandReport cc.CommandID = 0x05
View Source
const CommandSet cc.CommandID = 0x06
View Source
const CommandSupportedGet cc.CommandID = 0x07
View Source
const CommandSupportedReport cc.CommandID = 0x08
Variables ¶
This section is empty.
Functions ¶
func NewEventSupportedGet ¶
func NewEventSupportedReport ¶
func NewSupportedGet ¶
func NewSupportedReport ¶
Types ¶
type EventSupportedGet ¶
type EventSupportedGet struct {
NotificationType byte
}
<no value>
func (EventSupportedGet) CommandClassID ¶
func (cmd EventSupportedGet) CommandClassID() cc.CommandClassID
func (EventSupportedGet) CommandID ¶
func (cmd EventSupportedGet) CommandID() cc.CommandID
func (EventSupportedGet) CommandIDString ¶
func (cmd EventSupportedGet) CommandIDString() string
func (*EventSupportedGet) MarshalBinary ¶
func (cmd *EventSupportedGet) MarshalBinary() (payload []byte, err error)
func (*EventSupportedGet) UnmarshalBinary ¶
func (cmd *EventSupportedGet) UnmarshalBinary(data []byte) error
type EventSupportedReport ¶
type EventSupportedReport struct { NotificationType byte Properties1 struct { NumberOfBitMasks byte } BitMask []byte }
<no value>
func (EventSupportedReport) CommandClassID ¶
func (cmd EventSupportedReport) CommandClassID() cc.CommandClassID
func (EventSupportedReport) CommandID ¶
func (cmd EventSupportedReport) CommandID() cc.CommandID
func (EventSupportedReport) CommandIDString ¶
func (cmd EventSupportedReport) CommandIDString() string
func (*EventSupportedReport) MarshalBinary ¶
func (cmd *EventSupportedReport) MarshalBinary() (payload []byte, err error)
func (*EventSupportedReport) UnmarshalBinary ¶
func (cmd *EventSupportedReport) UnmarshalBinary(data []byte) error
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 { V1AlarmType byte V1AlarmLevel byte NotificationStatus byte NotificationType byte Event byte Properties1 struct { EventParametersLength byte Sequence bool } EventParameter []byte SequenceNumber 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 SupportedGet ¶
type SupportedGet struct { }
<no value>
func (SupportedGet) CommandClassID ¶
func (cmd SupportedGet) CommandClassID() cc.CommandClassID
func (SupportedGet) CommandID ¶
func (cmd SupportedGet) CommandID() cc.CommandID
func (SupportedGet) CommandIDString ¶
func (cmd SupportedGet) CommandIDString() string
func (*SupportedGet) MarshalBinary ¶
func (cmd *SupportedGet) MarshalBinary() (payload []byte, err error)
func (*SupportedGet) UnmarshalBinary ¶
func (cmd *SupportedGet) UnmarshalBinary(data []byte) error
type SupportedReport ¶
type SupportedReport struct { Properties1 struct { NumberOfBitMasks byte V1Alarm bool } BitMask []byte }
<no value>
func (SupportedReport) CommandClassID ¶
func (cmd SupportedReport) CommandClassID() cc.CommandClassID
func (SupportedReport) CommandID ¶
func (cmd SupportedReport) CommandID() cc.CommandID
func (SupportedReport) CommandIDString ¶
func (cmd SupportedReport) CommandIDString() string
func (*SupportedReport) MarshalBinary ¶
func (cmd *SupportedReport) MarshalBinary() (payload []byte, err error)
func (*SupportedReport) UnmarshalBinary ¶
func (cmd *SupportedReport) UnmarshalBinary(data []byte) error
Click to show internal directories.
Click to hide internal directories.