Documentation ¶
Index ¶
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 CommandReport cc.CommandID = 0x02
Variables ¶
This section is empty.
Functions ¶
func NewDateGet ¶
func NewDateReport ¶
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 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.