usercodev2

package
v0.0.0-...-eab7a3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CommandCapabilitiesGet cc.CommandID = 0x06
View Source
const CommandCapabilitiesReport cc.CommandID = 0x07
View Source
const CommandChecksumGet cc.CommandID = 0x11
View Source
const CommandChecksumReport cc.CommandID = 0x12
View Source
const CommandExtendedUserCodeGet cc.CommandID = 0x0C
View Source
const CommandExtendedUserCodeReport cc.CommandID = 0x0D
View Source
const CommandExtendedUserCodeSet cc.CommandID = 0x0B
View Source
const CommandGet cc.CommandID = 0x02
View Source
const CommandKeypadModeGet cc.CommandID = 0x09
View Source
const CommandKeypadModeReport cc.CommandID = 0x0A
View Source
const CommandKeypadModeSet cc.CommandID = 0x08
View Source
const CommandMasterCodeGet cc.CommandID = 0x0F
View Source
const CommandMasterCodeReport cc.CommandID = 0x10
View Source
const CommandMasterCodeSet cc.CommandID = 0x0E
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 NewCapabilitiesGet

func NewCapabilitiesGet() cc.Command

func NewCapabilitiesReport

func NewCapabilitiesReport() cc.Command

func NewChecksumGet

func NewChecksumGet() cc.Command

func NewChecksumReport

func NewChecksumReport() cc.Command

func NewExtendedUserCodeGet

func NewExtendedUserCodeGet() cc.Command

func NewExtendedUserCodeReport

func NewExtendedUserCodeReport() cc.Command

func NewExtendedUserCodeSet

func NewExtendedUserCodeSet() cc.Command

func NewGet

func NewGet() cc.Command

func NewKeypadModeGet

func NewKeypadModeGet() cc.Command

func NewKeypadModeReport

func NewKeypadModeReport() cc.Command

func NewKeypadModeSet

func NewKeypadModeSet() cc.Command

func NewMasterCodeGet

func NewMasterCodeGet() cc.Command

func NewMasterCodeReport

func NewMasterCodeReport() cc.Command

func NewMasterCodeSet

func NewMasterCodeSet() cc.Command

func NewReport

func NewReport() cc.Command

func NewSet

func NewSet() cc.Command

func NewUsersNumberGet

func NewUsersNumberGet() cc.Command

func NewUsersNumberReport

func NewUsersNumberReport() cc.Command

func Noop

func Noop()

Types

type CapabilitiesGet

type CapabilitiesGet struct {
}

<no value>

func (CapabilitiesGet) CommandClassID

func (cmd CapabilitiesGet) CommandClassID() cc.CommandClassID

func (CapabilitiesGet) CommandID

func (cmd CapabilitiesGet) CommandID() cc.CommandID

func (CapabilitiesGet) CommandIDString

func (cmd CapabilitiesGet) CommandIDString() string

func (*CapabilitiesGet) MarshalBinary

func (cmd *CapabilitiesGet) MarshalBinary() (payload []byte, err error)

func (*CapabilitiesGet) UnmarshalBinary

func (cmd *CapabilitiesGet) UnmarshalBinary(data []byte) error

type CapabilitiesReport

type CapabilitiesReport struct {
	Properties1 struct {
		SupportedUserIdStatusBitMaskLength byte

		McdSupport bool

		McSupport bool
	}

	SupportedUserIdStatusBitMask []byte

	Properties2 struct {
		SupportedKeypadModesBitMaskLength byte

		MucsSupport bool

		MucrSupport bool

		UccSupport bool
	}

	SupportedKeypadModesBitMask []byte

	Properties3 struct {
		SupportedKeysBitMaskLength byte
	}

	SupportedKeysBitMask []byte
}

<no value>

func (CapabilitiesReport) CommandClassID

func (cmd CapabilitiesReport) CommandClassID() cc.CommandClassID

func (CapabilitiesReport) CommandID

func (cmd CapabilitiesReport) CommandID() cc.CommandID

func (CapabilitiesReport) CommandIDString

func (cmd CapabilitiesReport) CommandIDString() string

func (*CapabilitiesReport) MarshalBinary

func (cmd *CapabilitiesReport) MarshalBinary() (payload []byte, err error)

func (*CapabilitiesReport) UnmarshalBinary

func (cmd *CapabilitiesReport) UnmarshalBinary(data []byte) error

type ChecksumGet

type ChecksumGet struct {
}

<no value>

func (ChecksumGet) CommandClassID

func (cmd ChecksumGet) CommandClassID() cc.CommandClassID

func (ChecksumGet) CommandID

func (cmd ChecksumGet) CommandID() cc.CommandID

func (ChecksumGet) CommandIDString

func (cmd ChecksumGet) CommandIDString() string

func (*ChecksumGet) MarshalBinary

func (cmd *ChecksumGet) MarshalBinary() (payload []byte, err error)

func (*ChecksumGet) UnmarshalBinary

func (cmd *ChecksumGet) UnmarshalBinary(data []byte) error

type ChecksumReport

type ChecksumReport struct {
	UserCodeChecksum uint16
}

<no value>

func (ChecksumReport) CommandClassID

func (cmd ChecksumReport) CommandClassID() cc.CommandClassID

func (ChecksumReport) CommandID

func (cmd ChecksumReport) CommandID() cc.CommandID

func (ChecksumReport) CommandIDString

func (cmd ChecksumReport) CommandIDString() string

func (*ChecksumReport) MarshalBinary

func (cmd *ChecksumReport) MarshalBinary() (payload []byte, err error)

func (*ChecksumReport) UnmarshalBinary

func (cmd *ChecksumReport) UnmarshalBinary(data []byte) error

type ExtendedUserCodeGet

type ExtendedUserCodeGet struct {
	UserIdentifier uint16

	Properties1 struct {
		ReportMore bool
	}
}

<no value>

func (ExtendedUserCodeGet) CommandClassID

func (cmd ExtendedUserCodeGet) CommandClassID() cc.CommandClassID

func (ExtendedUserCodeGet) CommandID

func (cmd ExtendedUserCodeGet) CommandID() cc.CommandID

func (ExtendedUserCodeGet) CommandIDString

func (cmd ExtendedUserCodeGet) CommandIDString() string

func (*ExtendedUserCodeGet) MarshalBinary

func (cmd *ExtendedUserCodeGet) MarshalBinary() (payload []byte, err error)

func (*ExtendedUserCodeGet) UnmarshalBinary

func (cmd *ExtendedUserCodeGet) UnmarshalBinary(data []byte) error

type ExtendedUserCodeReport

type ExtendedUserCodeReport struct {
	NumberOfUserCodes byte

	NextUserIdentifier uint16

	Vg1 []ExtendedUserCodeReportVg1
}

<no value>

func (ExtendedUserCodeReport) CommandClassID

func (cmd ExtendedUserCodeReport) CommandClassID() cc.CommandClassID

func (ExtendedUserCodeReport) CommandID

func (cmd ExtendedUserCodeReport) CommandID() cc.CommandID

func (ExtendedUserCodeReport) CommandIDString

func (cmd ExtendedUserCodeReport) CommandIDString() string

func (*ExtendedUserCodeReport) MarshalBinary

func (cmd *ExtendedUserCodeReport) MarshalBinary() (payload []byte, err error)

func (*ExtendedUserCodeReport) UnmarshalBinary

func (cmd *ExtendedUserCodeReport) UnmarshalBinary(data []byte) error

type ExtendedUserCodeReportVg1

type ExtendedUserCodeReportVg1 struct {
	UserIdentifier uint16

	UserIdStatus byte

	Properties1 struct {
		UserCodeLength byte
	}

	UserCode []byte
}

type ExtendedUserCodeSet

type ExtendedUserCodeSet struct {
	NumberOfUserCodes byte

	Vg1 []ExtendedUserCodeSetVg1
}

<no value>

func (ExtendedUserCodeSet) CommandClassID

func (cmd ExtendedUserCodeSet) CommandClassID() cc.CommandClassID

func (ExtendedUserCodeSet) CommandID

func (cmd ExtendedUserCodeSet) CommandID() cc.CommandID

func (ExtendedUserCodeSet) CommandIDString

func (cmd ExtendedUserCodeSet) CommandIDString() string

func (*ExtendedUserCodeSet) MarshalBinary

func (cmd *ExtendedUserCodeSet) MarshalBinary() (payload []byte, err error)

func (*ExtendedUserCodeSet) UnmarshalBinary

func (cmd *ExtendedUserCodeSet) UnmarshalBinary(data []byte) error

type ExtendedUserCodeSetVg1

type ExtendedUserCodeSetVg1 struct {
	UserIdentifier uint16

	UserIdStatus byte

	Properties1 struct {
		UserCodeLength byte
	}

	UserCode []byte
}

type Get

type Get struct {
	UserIdentifier byte
}

<no value>

func (Get) CommandClassID

func (cmd Get) CommandClassID() cc.CommandClassID

func (Get) CommandID

func (cmd Get) CommandID() cc.CommandID

func (Get) CommandIDString

func (cmd Get) CommandIDString() string

func (*Get) MarshalBinary

func (cmd *Get) MarshalBinary() (payload []byte, err error)

func (*Get) UnmarshalBinary

func (cmd *Get) UnmarshalBinary(data []byte) error

type KeypadModeGet

type KeypadModeGet struct {
}

<no value>

func (KeypadModeGet) CommandClassID

func (cmd KeypadModeGet) CommandClassID() cc.CommandClassID

func (KeypadModeGet) CommandID

func (cmd KeypadModeGet) CommandID() cc.CommandID

func (KeypadModeGet) CommandIDString

func (cmd KeypadModeGet) CommandIDString() string

func (*KeypadModeGet) MarshalBinary

func (cmd *KeypadModeGet) MarshalBinary() (payload []byte, err error)

func (*KeypadModeGet) UnmarshalBinary

func (cmd *KeypadModeGet) UnmarshalBinary(data []byte) error

type KeypadModeReport

type KeypadModeReport struct {
	KeypadMode byte
}

<no value>

func (KeypadModeReport) CommandClassID

func (cmd KeypadModeReport) CommandClassID() cc.CommandClassID

func (KeypadModeReport) CommandID

func (cmd KeypadModeReport) CommandID() cc.CommandID

func (KeypadModeReport) CommandIDString

func (cmd KeypadModeReport) CommandIDString() string

func (*KeypadModeReport) MarshalBinary

func (cmd *KeypadModeReport) MarshalBinary() (payload []byte, err error)

func (*KeypadModeReport) UnmarshalBinary

func (cmd *KeypadModeReport) UnmarshalBinary(data []byte) error

type KeypadModeSet

type KeypadModeSet struct {
	KeypadMode byte
}

<no value>

func (KeypadModeSet) CommandClassID

func (cmd KeypadModeSet) CommandClassID() cc.CommandClassID

func (KeypadModeSet) CommandID

func (cmd KeypadModeSet) CommandID() cc.CommandID

func (KeypadModeSet) CommandIDString

func (cmd KeypadModeSet) CommandIDString() string

func (*KeypadModeSet) MarshalBinary

func (cmd *KeypadModeSet) MarshalBinary() (payload []byte, err error)

func (*KeypadModeSet) UnmarshalBinary

func (cmd *KeypadModeSet) UnmarshalBinary(data []byte) error

type MasterCodeGet

type MasterCodeGet struct {
}

<no value>

func (MasterCodeGet) CommandClassID

func (cmd MasterCodeGet) CommandClassID() cc.CommandClassID

func (MasterCodeGet) CommandID

func (cmd MasterCodeGet) CommandID() cc.CommandID

func (MasterCodeGet) CommandIDString

func (cmd MasterCodeGet) CommandIDString() string

func (*MasterCodeGet) MarshalBinary

func (cmd *MasterCodeGet) MarshalBinary() (payload []byte, err error)

func (*MasterCodeGet) UnmarshalBinary

func (cmd *MasterCodeGet) UnmarshalBinary(data []byte) error

type MasterCodeReport

type MasterCodeReport struct {
	Properties1 struct {
		MasterCodeLength byte
	}

	MasterCode []byte
}

<no value>

func (MasterCodeReport) CommandClassID

func (cmd MasterCodeReport) CommandClassID() cc.CommandClassID

func (MasterCodeReport) CommandID

func (cmd MasterCodeReport) CommandID() cc.CommandID

func (MasterCodeReport) CommandIDString

func (cmd MasterCodeReport) CommandIDString() string

func (*MasterCodeReport) MarshalBinary

func (cmd *MasterCodeReport) MarshalBinary() (payload []byte, err error)

func (*MasterCodeReport) UnmarshalBinary

func (cmd *MasterCodeReport) UnmarshalBinary(data []byte) error

type MasterCodeSet

type MasterCodeSet struct {
	Properties1 struct {
		MasterCodeLength byte
	}

	MasterCode []byte
}

<no value>

func (MasterCodeSet) CommandClassID

func (cmd MasterCodeSet) CommandClassID() cc.CommandClassID

func (MasterCodeSet) CommandID

func (cmd MasterCodeSet) CommandID() cc.CommandID

func (MasterCodeSet) CommandIDString

func (cmd MasterCodeSet) CommandIDString() string

func (*MasterCodeSet) MarshalBinary

func (cmd *MasterCodeSet) MarshalBinary() (payload []byte, err error)

func (*MasterCodeSet) UnmarshalBinary

func (cmd *MasterCodeSet) UnmarshalBinary(data []byte) error

type Report

type Report struct {
	UserIdentifier byte

	UserIdStatus byte

	UserCode []byte
}

<no value>

func (Report) CommandClassID

func (cmd Report) CommandClassID() cc.CommandClassID

func (Report) CommandID

func (cmd Report) CommandID() cc.CommandID

func (Report) CommandIDString

func (cmd Report) CommandIDString() string

func (*Report) MarshalBinary

func (cmd *Report) MarshalBinary() (payload []byte, err error)

func (*Report) UnmarshalBinary

func (cmd *Report) UnmarshalBinary(data []byte) error

type Set

type Set struct {
	UserIdentifier byte

	UserIdStatus byte

	UserCode []byte
}

<no value>

func (Set) CommandClassID

func (cmd Set) CommandClassID() cc.CommandClassID

func (Set) CommandID

func (cmd Set) CommandID() cc.CommandID

func (Set) CommandIDString

func (cmd Set) CommandIDString() string

func (*Set) MarshalBinary

func (cmd *Set) MarshalBinary() (payload []byte, err error)

func (*Set) UnmarshalBinary

func (cmd *Set) UnmarshalBinary(data []byte) error

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

	ExtendedSupportedUsers uint16
}

<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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL