Versions in this module Expand all Collapse all v0 v0.0.1 Jan 8, 2024 Changes in this version + var IconData []byte = []byte + var NOSESSIONCMD = []string + func Main() + func Send(cmd string) error + func Start(sc *SerialConfig, o chan string) error + func Status() bool + func Stop() + type ISerial interface + Close func() error + Init func(c *SerialConfig) error + Read func() ([]byte, error) + Write func(data []byte) error + type SerialConfig struct + Baud int + Bits int + Name string + Pary int + Stop int + type SerialImpl struct + func (s *SerialImpl) Close() error + func (s *SerialImpl) Init(c *SerialConfig) error + func (s *SerialImpl) Read() ([]byte, error) + func (s *SerialImpl) Write(data []byte) error