github.com/knieriem/serport (go): Package serport provides access to local serial ports on Linux and Windows.  Besides a number of SetXY() methods that allow modification of single parameters, a method named Ctl() is available that processes a string containing one or more commands as described in https://plan9.io/magic/man2html/3/uart.  The following subset is supported:  Additional commands, that haven't been present in Plan 9:  When using RS-485 transceivers, additional commands can be used to configure Linux' serial_rs485 struct. The commands have been assigned to a separate namespace; an extended command syntax exists to call commands of a specific namespace:  The namespace_id is "rs485", and it may be ommitted if specified previously. Example:  RS-485 specific commands:  See https://www.kernel.org/doc/Documentation/serial/serial-rs485.txt for details on the corresponding flags and fields of struct serial_rs485.  For remote access to serial ports, see sub-package serial9p.
Keywords: go|golang|golang-package|serial-communication|serial-ports