serialproxy

package
v0.0.0-...-8969683 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2014 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Interface to serial port devices (Linux Mac OSX and Windows). SerialPortEx is an extended SerialPort with access to port params It is NOT auto instantiated to the flow Registry from this package, use serialproxy/serialex to autoadd to Registry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SerialPort

type SerialPort struct {
	flow.Gadget
	Param flow.Input
	Port  flow.Input
	To    flow.Input
	From  flow.Output
}

Line-oriented serial port, opened once the Port input is set.

func (*SerialPort) Run

func (w *SerialPort) Run()

Start processing text lines to and from the serial interface. Send a bool to adjust RTS or an int to pulse DTR for that many milliseconds. Registers as "SerialPort".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL