StreamDevice 2 for the EPICS Asyn driver
EPICS (Experimental Physics and Industrial Control System) is a toolchain allowing the user to create a professional control system infrastructure. EPICS is developed by the Argonne National Laboratory located in Lemont, Illinois, USA, the Berliner Elektronenspeicherring-Gesellschaft für Synchrotonstrahlung mbH (BESSY) from Germany and others.
It is licensed as open source software under the EPICS Open License (http://aps.anl.gov/epics/license/open.php) which is very similar to the BSD license but contains some additional privileges for the US government funding the work on the project.
StreamDevice is a generic EPICS device support for devices with a "byte stream" based communication interface. That means devices that can be controlled by sending and receiving strings (in the broadest sense, including non-printable characters and even null-bytes). Examples for this type of communication interface are serial line (RS-232, RS-485, ...), IEEE-488 (also known as GPIB or HP-IB), and TCP/IP. StreamDevice comes with an interface to asynDriver, which implements the low-level support for those communication interfaces.