Categorygithub.com/basilfx/go-serial-link
modulepackage
0.0.0-20200920113942-28220642f8a5
Repository: https://github.com/basilfx/go-serial-link.git
Documentation: pkg.go.dev

# README

go-serial-link

Request-response and notifications over a serial link.

Introduction

While this library was written to work with serial devices, this works with any byte stream. It was written to interact with an Arduino, and have a more robust link between hardware and software.

Under development.

License

See the LICENSE.md file (MIT license).

# Functions

New returns a new instance initilized instance of Link.

# Constants

ListenerChannelSize is the size of the channel that is created for each listener.
The different message types.
The different message types.
The different message types.
RequestTimeout is the time the Request method waits for a response.
WriterChannelSize is the size of the writer channel.

# Structs

Link represents a link.
Message contains a parsed representation of a serial message.

# Type aliases

Listener represets the identifier of a listener.
MessageType indicates the type of the message.