bridge

package module
v0.0.0-...-4b68545 Latest Latest
Warning

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

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

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)

type Message

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

Jump to

Keyboard shortcuts

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