Documentation ¶
Index ¶
- Constants
- func NewGet() cc.Command
- func NewReport() cc.Command
- func NewSet() cc.Command
- func NewUsersNumberGet() cc.Command
- func NewUsersNumberReport() cc.Command
- func Noop()
- type Get
- type Report
- type Set
- type UsersNumberGet
- type UsersNumberReport
- func (cmd UsersNumberReport) CommandClassID() cc.CommandClassID
- func (cmd UsersNumberReport) CommandID() cc.CommandID
- func (cmd UsersNumberReport) CommandIDString() string
- func (cmd *UsersNumberReport) MarshalBinary() (payload []byte, err error)
- func (cmd *UsersNumberReport) UnmarshalBinary(data []byte) error
Constants ¶
View Source
const CommandGet cc.CommandID = 0x02
View Source
const CommandReport cc.CommandID = 0x03
View Source
const CommandSet cc.CommandID = 0x01
View Source
const CommandUsersNumberGet cc.CommandID = 0x04
View Source
const CommandUsersNumberReport cc.CommandID = 0x05
Variables ¶
This section is empty.
Functions ¶
func NewUsersNumberGet ¶
func NewUsersNumberReport ¶
Types ¶
type Get ¶
type Get struct {
UserIdentifier byte
}
<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 ¶
type Set ¶
<no value>
func (Set) CommandClassID ¶
func (cmd Set) CommandClassID() cc.CommandClassID
func (Set) CommandIDString ¶
func (*Set) MarshalBinary ¶
func (*Set) UnmarshalBinary ¶
type UsersNumberGet ¶
type UsersNumberGet struct { }
<no value>
func (UsersNumberGet) CommandClassID ¶
func (cmd UsersNumberGet) CommandClassID() cc.CommandClassID
func (UsersNumberGet) CommandID ¶
func (cmd UsersNumberGet) CommandID() cc.CommandID
func (UsersNumberGet) CommandIDString ¶
func (cmd UsersNumberGet) CommandIDString() string
func (*UsersNumberGet) MarshalBinary ¶
func (cmd *UsersNumberGet) MarshalBinary() (payload []byte, err error)
func (*UsersNumberGet) UnmarshalBinary ¶
func (cmd *UsersNumberGet) UnmarshalBinary(data []byte) error
type UsersNumberReport ¶
type UsersNumberReport struct {
SupportedUsers byte
}
<no value>
func (UsersNumberReport) CommandClassID ¶
func (cmd UsersNumberReport) CommandClassID() cc.CommandClassID
func (UsersNumberReport) CommandID ¶
func (cmd UsersNumberReport) CommandID() cc.CommandID
func (UsersNumberReport) CommandIDString ¶
func (cmd UsersNumberReport) CommandIDString() string
func (*UsersNumberReport) MarshalBinary ¶
func (cmd *UsersNumberReport) MarshalBinary() (payload []byte, err error)
func (*UsersNumberReport) UnmarshalBinary ¶
func (cmd *UsersNumberReport) UnmarshalBinary(data []byte) error
Click to show internal directories.
Click to hide internal directories.