doorlockv3

package
v0.0.0-...-c4a4cf6 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const CommandConfigurationGet cc.CommandID = 0x05
View Source
const CommandConfigurationReport cc.CommandID = 0x06
View Source
const CommandConfigurationSet cc.CommandID = 0x04
View Source
const CommandOperationGet cc.CommandID = 0x02
View Source
const CommandOperationReport cc.CommandID = 0x03
View Source
const CommandOperationSet cc.CommandID = 0x01

Variables

This section is empty.

Functions

func NewConfigurationGet

func NewConfigurationGet() cc.Command

func NewConfigurationReport

func NewConfigurationReport() cc.Command

func NewConfigurationSet

func NewConfigurationSet() cc.Command

func NewOperationGet

func NewOperationGet() cc.Command

func NewOperationReport

func NewOperationReport() cc.Command

func NewOperationSet

func NewOperationSet() cc.Command

Types

type ConfigurationGet

type ConfigurationGet struct {
}

<no value>

func (ConfigurationGet) CommandClassID

func (cmd ConfigurationGet) CommandClassID() cc.CommandClassID

func (ConfigurationGet) CommandID

func (cmd ConfigurationGet) CommandID() cc.CommandID

func (ConfigurationGet) CommandIDString

func (cmd ConfigurationGet) CommandIDString() string

func (*ConfigurationGet) MarshalBinary

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

func (*ConfigurationGet) UnmarshalBinary

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

type ConfigurationReport

type ConfigurationReport struct {
	OperationType byte

	Properties1 struct {
		InsideDoorHandlesState byte

		OutsideDoorHandlesState byte
	}

	LockTimeoutMinutes byte

	LockTimeoutSeconds byte
}

<no value>

func (ConfigurationReport) CommandClassID

func (cmd ConfigurationReport) CommandClassID() cc.CommandClassID

func (ConfigurationReport) CommandID

func (cmd ConfigurationReport) CommandID() cc.CommandID

func (ConfigurationReport) CommandIDString

func (cmd ConfigurationReport) CommandIDString() string

func (*ConfigurationReport) MarshalBinary

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

func (*ConfigurationReport) UnmarshalBinary

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

type ConfigurationSet

type ConfigurationSet struct {
	OperationType byte

	Properties1 struct {
		InsideDoorHandlesState byte

		OutsideDoorHandlesState byte
	}

	LockTimeoutMinutes byte

	LockTimeoutSeconds byte
}

<no value>

func (ConfigurationSet) CommandClassID

func (cmd ConfigurationSet) CommandClassID() cc.CommandClassID

func (ConfigurationSet) CommandID

func (cmd ConfigurationSet) CommandID() cc.CommandID

func (ConfigurationSet) CommandIDString

func (cmd ConfigurationSet) CommandIDString() string

func (*ConfigurationSet) MarshalBinary

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

func (*ConfigurationSet) UnmarshalBinary

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

type OperationGet

type OperationGet struct {
}

<no value>

func (OperationGet) CommandClassID

func (cmd OperationGet) CommandClassID() cc.CommandClassID

func (OperationGet) CommandID

func (cmd OperationGet) CommandID() cc.CommandID

func (OperationGet) CommandIDString

func (cmd OperationGet) CommandIDString() string

func (*OperationGet) MarshalBinary

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

func (*OperationGet) UnmarshalBinary

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

type OperationReport

type OperationReport struct {
	CurrentDoorLockMode byte

	Properties1 struct {
		InsideDoorHandlesMode byte

		OutsideDoorHandlesMode byte
	}

	DoorCondition byte

	LockTimeoutMinutes byte

	LockTimeoutSeconds byte

	TargetDoorLockMode byte

	Duration byte
}

<no value>

func (OperationReport) CommandClassID

func (cmd OperationReport) CommandClassID() cc.CommandClassID

func (OperationReport) CommandID

func (cmd OperationReport) CommandID() cc.CommandID

func (OperationReport) CommandIDString

func (cmd OperationReport) CommandIDString() string

func (*OperationReport) MarshalBinary

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

func (*OperationReport) UnmarshalBinary

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

type OperationSet

type OperationSet struct {
	DoorLockMode byte
}

<no value>

func (OperationSet) CommandClassID

func (cmd OperationSet) CommandClassID() cc.CommandClassID

func (OperationSet) CommandID

func (cmd OperationSet) CommandID() cc.CommandID

func (OperationSet) CommandIDString

func (cmd OperationSet) CommandIDString() string

func (*OperationSet) MarshalBinary

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

func (*OperationSet) UnmarshalBinary

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

Jump to

Keyboard shortcuts

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