alarmv2

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 CommandGet cc.CommandID = 0x04
View Source
const CommandReport cc.CommandID = 0x05
View Source
const CommandSet cc.CommandID = 0x06
View Source
const CommandTypeSupportedGet cc.CommandID = 0x07
View Source
const CommandTypeSupportedReport cc.CommandID = 0x08

Variables

This section is empty.

Functions

func NewGet

func NewGet() cc.Command

func NewReport

func NewReport() cc.Command

func NewSet

func NewSet() cc.Command

func NewTypeSupportedGet

func NewTypeSupportedGet() cc.Command

func NewTypeSupportedReport

func NewTypeSupportedReport() cc.Command

Types

type Get

type Get struct {
	AlarmType byte

	ZwaveAlarmType 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 Report

type Report struct {
	AlarmType byte

	AlarmLevel byte

	ZensorNetSourceNodeId byte

	ZwaveAlarmStatus byte

	ZwaveAlarmType byte

	ZwaveAlarmEvent byte

	NumberOfEventParameters byte

	EventParameter []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 {
	ZwaveAlarmType byte

	ZwaveAlarmStatus 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 TypeSupportedGet

type TypeSupportedGet struct {
}

<no value>

func (TypeSupportedGet) CommandClassID

func (cmd TypeSupportedGet) CommandClassID() cc.CommandClassID

func (TypeSupportedGet) CommandID

func (cmd TypeSupportedGet) CommandID() cc.CommandID

func (TypeSupportedGet) CommandIDString

func (cmd TypeSupportedGet) CommandIDString() string

func (*TypeSupportedGet) MarshalBinary

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

func (*TypeSupportedGet) UnmarshalBinary

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

type TypeSupportedReport

type TypeSupportedReport struct {
	Properties1 struct {
		NumberOfBitMasks byte

		V1Alarm bool
	}

	BitMask []byte
}

<no value>

func (TypeSupportedReport) CommandClassID

func (cmd TypeSupportedReport) CommandClassID() cc.CommandClassID

func (TypeSupportedReport) CommandID

func (cmd TypeSupportedReport) CommandID() cc.CommandID

func (TypeSupportedReport) CommandIDString

func (cmd TypeSupportedReport) CommandIDString() string

func (*TypeSupportedReport) MarshalBinary

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

func (*TypeSupportedReport) UnmarshalBinary

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

Jump to

Keyboard shortcuts

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