Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultSerialPort = ""
Variables ¶
View Source
var (
ErrorCommandNotFound = errors.New("Command not found on device")
)
Functions ¶
This section is empty.
Types ¶
type SerialTransport ¶
type SerialTransport struct {
// contains filtered or unexported fields
}
func Open ¶
func Open(portname string) (*SerialTransport, error)
func (*SerialTransport) Close ¶
func (s *SerialTransport) Close() error
func (*SerialTransport) Debug ¶
func (s *SerialTransport) Debug(debug bool)
Click to show internal directories.
Click to hide internal directories.