BlinkenArea - GitList
Repositories
Blog
Wiki
Blinker
Code
Commits
Branches
Tags
Search
Tree:
2587f12
Branches
Tags
master
Blinker
doc
output.html
implemented output module to output stream to character device
Stefan Schuermans
commited
2587f12
at 2011-12-11 21:52:28
output.html
Blame
History
Raw
<html> <head> <title>Blinker - Output</title> </head> <body> <h1>Blinker - Output</h1> <p> The output module receives a stream and outputs it to a character device, e.g. a serial port. </p> <h2>Configuration</h2> <p> The configuration of the output module with name <code>NAME</code> is located in the <code>outputs/NAME</code> subdirectory. </p> <h3>Input Stream</h3> <p> The file <code>instream</code> contains the name of the stream to read. The frames received from this stream are written to the character device. </p> <h3>Protocol</h3> <p> The protocol to use is configured in the file <code>protocol</code>. It can contain the string <code>blp</code>, <code>eblp</code> or <code>mcuf</code> to select the BLP, EBLP or MCUF protocol respectively. </p> <h3>Device</h3> <p> The name of the character device to output the stream to is configured in the file <code>device</code>. </p> <h3>Serial Port Configuration</h3> <p> If the device is a serial port, it can be configured by writing a configuration string to the file <code>ser_cfg</code>. The configuration string has to be in the format <code><baudrate>,<data bits>,<parity>,<stop bits></code> or <code><baudrate>,<parity>,<data bits>,<stop bits></code>. The parity setting uses <code>N</code> for no parity, <code>E</code> for even parity and <code>O</code> for odd parity. The other settings are positive integer numbers. <br> If the device is not a serial port, the file <code>ser_cfg</code> should not exist. In this case, no serial port configuration of the device is done. </p> </body> </html>