Documentation ¶
Index ¶
- Variables
- type Coordinator
- func (c *Coordinator) ActiveEndpoints(nwkAddress string) (*znp.ZdoActiveEpRsp, error)
- func (c *Coordinator) Bind(dstAddr string, srcAddress string, srcEndpoint uint8, clusterId uint16, ...) (*znp.ZdoBindRsp, error)
- func (c *Coordinator) DataRequest(dstAddr string, dstEndpoint uint8, srcEndpoint uint8, clusterId uint16, ...) (*znp.AfIncomingMessage, error)
- func (c *Coordinator) Network() *Network
- func (c *Coordinator) NodeDescription(nwkAddress string) (*znp.ZdoNodeDescRsp, error)
- func (c *Coordinator) OnDeviceAnnounce() chan *znp.ZdoEndDeviceAnnceInd
- func (c *Coordinator) OnDeviceLeave() chan *znp.ZdoLeaveInd
- func (c *Coordinator) OnDeviceTc() chan *znp.ZdoTcDevInd
- func (c *Coordinator) OnError() chan error
- func (c *Coordinator) OnIncomingMessage() chan *znp.AfIncomingMessage
- func (c *Coordinator) Reset()
- func (c *Coordinator) SimpleDescription(nwkAddress string, endpoint uint8) (*znp.ZdoSimpleDescRsp, error)
- func (c *Coordinator) Start() error
- func (c *Coordinator) Unbind(dstAddr string, srcAddress string, srcEndpoint uint8, clusterId uint16, ...) (*znp.ZdoUnbindRsp, error)
- type MessageChannels
- type Network
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 New(config *configuration.Configuration) *Coordinator
func (*Coordinator) ActiveEndpoints ¶
func (c *Coordinator) ActiveEndpoints(nwkAddress string) (*znp.ZdoActiveEpRsp, error)
func (*Coordinator) DataRequest ¶
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
type MessageChannels ¶
type MessageChannels struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.