rf24networknodebackend

package
v0.0.0-...-a1a5cdc Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const Master_Node_Address = 0x00

Variables

This section is empty.

Functions

This section is empty.

Types

type RF24NetworkHook

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

func NewRF24NetworkHook

func NewRF24NetworkHook(n RF24Network.RF24Network, killChan chan struct{}) *RF24NetworkHook

func (*RF24NetworkHook) Receive

func (r *RF24NetworkHook) Receive() error

type RF24NetworkNodeBackend

type RF24NetworkNodeBackend interface {
	Run() error
	Stop() error
}

type RF24NetworkNodeChild

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

Implements RF24NetworkNodeBackend interface

func NewRF24NetworkNodeChild

func NewRF24NetworkNodeChild(id string, address uint16, subs []int32, n RF24Network.RF24Network, pollInterval, hbinterval int, sndQ, rcvQ *message.Queue) *RF24NetworkNodeChild

func (*RF24NetworkNodeChild) Run

func (r *RF24NetworkNodeChild) Run() error

func (*RF24NetworkNodeChild) Stop

func (r *RF24NetworkNodeChild) Stop() error

type RF24NetworkNodeMaster

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

Implements RF24NetworkNodeBackend interface

func NewRF24NetworkNodeMaster

func NewRF24NetworkNodeMaster(id string, address uint16, subs []int32, n RF24Network.RF24Network, pollInterval int, sndQ, rcvQ *message.Queue, routerWorkers int) *RF24NetworkNodeMaster

func (*RF24NetworkNodeMaster) Run

func (r *RF24NetworkNodeMaster) Run() error

func (*RF24NetworkNodeMaster) Stop

func (r *RF24NetworkNodeMaster) Stop() error

Jump to

Keyboard shortcuts

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