coordinator

package
v0.0.0-...-f3e7868 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SysResetIndType = reflect.TypeOf(&znp.SysResetInd{})
View Source
var ZdoActiveEpRspType = reflect.TypeOf(&znp.ZdoActiveEpRsp{})
View Source
var ZdoBindRspType = reflect.TypeOf(&znp.ZdoBindRsp{})
View Source
var ZdoNodeDescRspType = reflect.TypeOf(&znp.ZdoNodeDescRsp{})
View Source
var ZdoSimpleDescRspType = reflect.TypeOf(&znp.ZdoSimpleDescRsp{})
View Source
var ZdoUnbindRspType = reflect.TypeOf(&znp.ZdoUnbindRsp{})

Functions

This section is empty.

Types

type Coordinator

type Coordinator struct {
	// contains filtered or unexported fields
}

func New

func (*Coordinator) ActiveEndpoints

func (c *Coordinator) ActiveEndpoints(nwkAddress string) (*znp.ZdoActiveEpRsp, error)

func (*Coordinator) Bind

func (c *Coordinator) Bind(dstAddr string, srcAddress string, srcEndpoint uint8, clusterId uint16,
	dstAddrMode znp.AddrMode, dstAddress string, dstEndpoint uint8) (*znp.ZdoBindRsp, error)

func (*Coordinator) DataRequest

func (c *Coordinator) DataRequest(dstAddr string, dstEndpoint uint8, srcEndpoint uint8, clusterId uint16, options *znp.AfDataRequestOptions, radius uint8, data []uint8) (*znp.AfIncomingMessage, error)

func (*Coordinator) Network

func (c *Coordinator) Network() *Network

func (*Coordinator) NodeDescription

func (c *Coordinator) NodeDescription(nwkAddress string) (*znp.ZdoNodeDescRsp, error)

func (*Coordinator) OnDeviceAnnounce

func (c *Coordinator) OnDeviceAnnounce() chan *znp.ZdoEndDeviceAnnceInd

func (*Coordinator) OnDeviceLeave

func (c *Coordinator) OnDeviceLeave() chan *znp.ZdoLeaveInd

func (*Coordinator) OnDeviceTc

func (c *Coordinator) OnDeviceTc() chan *znp.ZdoTcDevInd

func (*Coordinator) OnError

func (c *Coordinator) OnError() chan error

func (*Coordinator) OnIncomingMessage

func (c *Coordinator) OnIncomingMessage() chan *znp.AfIncomingMessage

func (*Coordinator) Reset

func (c *Coordinator) Reset()

func (*Coordinator) SimpleDescription

func (c *Coordinator) SimpleDescription(nwkAddress string, endpoint uint8) (*znp.ZdoSimpleDescRsp, error)

func (*Coordinator) Start

func (c *Coordinator) Start() error

func (*Coordinator) Unbind

func (c *Coordinator) Unbind(dstAddr string, srcAddress string, srcEndpoint uint8, clusterId uint16,
	dstAddrMode znp.AddrMode, dstAddress string, dstEndpoint uint8) (*znp.ZdoUnbindRsp, error)

type MessageChannels

type MessageChannels struct {
	// contains filtered or unexported fields
}

type Network

type Network struct {
	Address string
}

Jump to

Keyboard shortcuts

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