doorlocklogging

package
Version: 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 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 NewRecordGet() cc.Command

func NewRecordReport

func NewRecordReport() cc.Command

func NewRecordsSupportedGet

func NewRecordsSupportedGet() cc.Command

func NewRecordsSupportedReport

func NewRecordsSupportedReport() cc.Command

func Noop

func Noop()

Types

type RecordGet

type RecordGet struct {
	RecordNumber byte
}

<no value>

func (RecordGet) CommandClassID

func (cmd RecordGet) CommandClassID() cc.CommandClassID

func (RecordGet) CommandID

func (cmd RecordGet) CommandID() cc.CommandID

func (RecordGet) CommandIDString

func (cmd RecordGet) CommandIDString() string

func (*RecordGet) MarshalBinary

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

func (*RecordGet) UnmarshalBinary

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL