Documentation ¶
Index ¶
- Constants
- func NewRecordGet() cc.Command
- func NewRecordReport() cc.Command
- func NewRecordsSupportedGet() cc.Command
- func NewRecordsSupportedReport() cc.Command
- type RecordGet
- type RecordReport
- type RecordsSupportedGet
- func (cmd RecordsSupportedGet) CommandClassID() cc.CommandClassID
- func (cmd RecordsSupportedGet) CommandID() cc.CommandID
- func (cmd RecordsSupportedGet) CommandIDString() string
- func (cmd *RecordsSupportedGet) MarshalBinary() (payload []byte, err error)
- func (cmd *RecordsSupportedGet) UnmarshalBinary(data []byte) error
- type RecordsSupportedReport
- func (cmd RecordsSupportedReport) CommandClassID() cc.CommandClassID
- func (cmd RecordsSupportedReport) CommandID() cc.CommandID
- func (cmd RecordsSupportedReport) CommandIDString() string
- func (cmd *RecordsSupportedReport) MarshalBinary() (payload []byte, err error)
- func (cmd *RecordsSupportedReport) UnmarshalBinary(data []byte) error
Constants ¶
View Source
const CommandRecordGet cc.CommandID = 0x03
View Source
const CommandRecordReport cc.CommandID = 0x04
View Source
const CommandRecordsSupportedGet cc.CommandID = 0x01
View Source
const CommandRecordsSupportedReport cc.CommandID = 0x02
Variables ¶
This section is empty.
Functions ¶
func NewRecordGet ¶
func NewRecordReport ¶
func NewRecordsSupportedGet ¶
Types ¶
type RecordGet ¶
type RecordGet struct {
RecordNumber byte
}
<no value>
func (RecordGet) CommandClassID ¶
func (cmd RecordGet) CommandClassID() cc.CommandClassID
func (RecordGet) CommandIDString ¶
func (*RecordGet) MarshalBinary ¶
func (*RecordGet) UnmarshalBinary ¶
type RecordReport ¶
type RecordReport struct { RecordNumber byte Year uint16 Month byte Day byte Properties1 struct { HourLocalTime byte RecordStatus byte } MinuteLocalTime byte SecondLocalTime byte EventType byte UserIdentifier byte UserCodeLength byte UserCode []byte }
<no value>
func (RecordReport) CommandClassID ¶
func (cmd RecordReport) CommandClassID() cc.CommandClassID
func (RecordReport) CommandID ¶
func (cmd RecordReport) CommandID() cc.CommandID
func (RecordReport) CommandIDString ¶
func (cmd RecordReport) CommandIDString() string
func (*RecordReport) MarshalBinary ¶
func (cmd *RecordReport) MarshalBinary() (payload []byte, err error)
func (*RecordReport) UnmarshalBinary ¶
func (cmd *RecordReport) UnmarshalBinary(data []byte) error
type RecordsSupportedGet ¶
type RecordsSupportedGet struct { }
<no value>
func (RecordsSupportedGet) CommandClassID ¶
func (cmd RecordsSupportedGet) CommandClassID() cc.CommandClassID
func (RecordsSupportedGet) CommandID ¶
func (cmd RecordsSupportedGet) CommandID() cc.CommandID
func (RecordsSupportedGet) CommandIDString ¶
func (cmd RecordsSupportedGet) CommandIDString() string
func (*RecordsSupportedGet) MarshalBinary ¶
func (cmd *RecordsSupportedGet) MarshalBinary() (payload []byte, err error)
func (*RecordsSupportedGet) UnmarshalBinary ¶
func (cmd *RecordsSupportedGet) UnmarshalBinary(data []byte) error
type RecordsSupportedReport ¶
type RecordsSupportedReport struct {
MaxRecordsStored byte
}
<no value>
func (RecordsSupportedReport) CommandClassID ¶
func (cmd RecordsSupportedReport) CommandClassID() cc.CommandClassID
func (RecordsSupportedReport) CommandID ¶
func (cmd RecordsSupportedReport) CommandID() cc.CommandID
func (RecordsSupportedReport) CommandIDString ¶
func (cmd RecordsSupportedReport) CommandIDString() string
func (*RecordsSupportedReport) MarshalBinary ¶
func (cmd *RecordsSupportedReport) MarshalBinary() (payload []byte, err error)
func (*RecordsSupportedReport) UnmarshalBinary ¶
func (cmd *RecordsSupportedReport) UnmarshalBinary(data []byte) error
Click to show internal directories.
Click to hide internal directories.