Versions in this module Expand all Collapse all v0 v0.0.2 Dec 25, 2023 Changes in this version + const EV_RXCHAR — windows/amd64 + const MAX_TIME — linux/amd64, windows/amd64 + const MIN_TIME — linux/amd64, windows/amd64 + const PARITY_EVEN + const PARITY_MARK + const PARITY_NONE + const PARITY_ODD + const PARITY_SPACE + const PARITY_ZERO + const PURGE_RXABORT — windows/amd64 + const PURGE_RXCLEAR — windows/amd64 + const PURGE_TXABORT — windows/amd64 + const PURGE_TXCLEAR — windows/amd64 + const SIZE0 + const SIZE5 + const SIZE6 + const SIZE7 + const SIZE8 + const STOP0 + const STOP1 + const STOP2 + const STOPHALF + const TCFLSH — linux/amd64 + type Config struct + Baud uint32 + MinByte uint8 + Parity byte + ReadTime time.Duration + Size byte + StopBits byte + type Serial interface + Close func() error + InFlush func() error + OutFlush func() error + Read func([]byte) (int, error) + RestStart func() error + SetConfig func(Config) error + Write func([]byte) (int, error) + func New(name string, c Config) (Serial, error) v0.0.1 Feb 22, 2023