Discover Packages
github.com/warthog618/modem
serial
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Jul 31, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 15
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package serial provides a serial port, which provides the io.ReadWriter interface,
that provides the connection between the at or gsm packages and the physical modem.
New creates a serial port.
This is currently a simple wrapper around tarm serial.
Baud is the bit rate for the serial line.
WithBaud sets the baud rate for the serial port.
Config contains the configuration parameters of the serial port.
type Option interface {
}
Option is a construction option that modifies the behaviour of the serial port.
Port identifies the serial port on the plaform.
WithPort specifies the port for the serial port.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.