Versions in this module Expand all Collapse all v1 v1.1.0 Nov 18, 2019 Changes in this version + func SetModeStruct(sp SerialPort, mode Mode) error + type Mode struct + Baudrate int + DataBits int + Handshake int + Parity int + Stopbits int + func ParseModestring(s string) (Mode, error) + func (m Mode) String() string + func (m Mode) Valid() bool type SerialPort + GetMode func() (Mode, error) v1.1.0-rc1 Sep 25, 2019 v1.0.2 Aug 30, 2018 v1.0.1 Aug 30, 2018 v1.0.0 Aug 13, 2018 Changes in this version + const E + const IOSSIOSPEED — darwin/amd64, linux/amd64 + const N + const NO_HANDSHAKE + const O + const RTSCTS_HANDSHAKE + type Error struct + Operation string + UnderlyingError error + func (e *Error) Error() string + type ParameterError struct + Parameter string + Reason string + func (pe *ParameterError) Error() string + type SerialPort interface + SetBreak func(on bool) error + SetMode func(baudrate, databits, parity, stopbits, handshake int) error + SetReadParams func(minread int, timeout float64) error + func Open(fn string) (SerialPort, error) + func Open(name string) (rwc SerialPort, err error) + func TakeOver(f *os.File) (SerialPort, error) + type StringError string + func (se StringError) Error() string v1.0.0-rc1 Aug 13, 2018 Other modules containing this package github.com/distributed/sers/v2