Documentation ¶
Index ¶
- Constants
- func NewDateGet() cc.Command
- func NewDateReport() cc.Command
- func NewGet() cc.Command
- func NewOffsetGet() cc.Command
- func NewOffsetReport() cc.Command
- func NewOffsetSet() cc.Command
- func NewReport() cc.Command
- type DateGet
- type DateReport
- type Get
- type OffsetGet
- type OffsetReport
- type OffsetSet
- type Report
Constants ¶
View Source
const CommandDateGet cc.CommandID = 0x03
View Source
const CommandDateReport cc.CommandID = 0x04
View Source
const CommandGet cc.CommandID = 0x01
View Source
const CommandOffsetGet cc.CommandID = 0x06
View Source
const CommandOffsetReport cc.CommandID = 0x07
View Source
const CommandOffsetSet cc.CommandID = 0x05
View Source
const CommandReport cc.CommandID = 0x02
Variables ¶
This section is empty.
Functions ¶
func NewDateGet ¶
func NewDateReport ¶
func NewOffsetGet ¶
func NewOffsetReport ¶
func NewOffsetSet ¶
Types ¶
type DateGet ¶
type DateGet struct { }
<no value>
func (DateGet) CommandClassID ¶
func (cmd DateGet) CommandClassID() cc.CommandClassID
func (DateGet) CommandIDString ¶
func (*DateGet) MarshalBinary ¶
func (*DateGet) UnmarshalBinary ¶
type DateReport ¶
<no value>
func (DateReport) CommandClassID ¶
func (cmd DateReport) CommandClassID() cc.CommandClassID
func (DateReport) CommandID ¶
func (cmd DateReport) CommandID() cc.CommandID
func (DateReport) CommandIDString ¶
func (cmd DateReport) CommandIDString() string
func (*DateReport) MarshalBinary ¶
func (cmd *DateReport) MarshalBinary() (payload []byte, err error)
func (*DateReport) UnmarshalBinary ¶
func (cmd *DateReport) 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 OffsetGet ¶
type OffsetGet struct { }
<no value>
func (OffsetGet) CommandClassID ¶
func (cmd OffsetGet) CommandClassID() cc.CommandClassID
func (OffsetGet) CommandIDString ¶
func (*OffsetGet) MarshalBinary ¶
func (*OffsetGet) UnmarshalBinary ¶
type OffsetReport ¶
type OffsetReport struct { Level struct { HourTzo byte SignTzo bool } MinuteTzo byte Level2 struct { MinuteOffsetDst byte SignOffsetDst bool } MonthStartDst byte DayStartDst byte HourStartDst byte MonthEndDst byte DayEndDst byte HourEndDst byte }
<no value>
func (OffsetReport) CommandClassID ¶
func (cmd OffsetReport) CommandClassID() cc.CommandClassID
func (OffsetReport) CommandID ¶
func (cmd OffsetReport) CommandID() cc.CommandID
func (OffsetReport) CommandIDString ¶
func (cmd OffsetReport) CommandIDString() string
func (*OffsetReport) MarshalBinary ¶
func (cmd *OffsetReport) MarshalBinary() (payload []byte, err error)
func (*OffsetReport) UnmarshalBinary ¶
func (cmd *OffsetReport) UnmarshalBinary(data []byte) error
type OffsetSet ¶
type OffsetSet struct { Level struct { HourTzo byte SignTzo bool } MinuteTzo byte Level2 struct { MinuteOffsetDst byte SignOffsetDst bool } MonthStartDst byte DayStartDst byte HourStartDst byte MonthEndDst byte DayEndDst byte HourEndDst byte }
<no value>
func (OffsetSet) CommandClassID ¶
func (cmd OffsetSet) CommandClassID() cc.CommandClassID
func (OffsetSet) CommandIDString ¶
func (*OffsetSet) MarshalBinary ¶
func (*OffsetSet) UnmarshalBinary ¶
type Report ¶
type Report struct { HourLocalTime struct { HourLocalTime byte RtcFailure bool } MinuteLocalTime byte SecondLocalTime byte }
<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.