bridge

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: MIT Imports: 8 Imported by: 0

README

espnow-bridge

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	Inbox  <-chan Message
	Outbox chan<- Message
	// contains filtered or unexported fields
}

func (*Bridge) AddPeer

func (b *Bridge) AddPeer(mac [6]byte, wifiChannel uint8) error

func (*Bridge) Close

func (b *Bridge) Close() error

func (*Bridge) Connect

func (b *Bridge) Connect(portName string) error

func (*Bridge) RemovePeer

func (b *Bridge) RemovePeer(mac [6]byte)

func (Bridge) WaitForConnected added in v0.3.0

func (b Bridge) WaitForConnected(maxWait time.Duration)

type Message

type Message struct {
	Mac  [6]byte
	Data []byte
}

Directories

Path Synopsis
go-bridge module

Jump to

Keyboard shortcuts

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