/dev/ttyS0
The default device for lnpd. (Also See -t: in OPTIONS, above).
A linux interface to the brickos networking protocol
lnpd [-emseconds]
[-f]
[-l]
[-mnumber]
[-n]
[-pport]
[-r]
[-ttty_device]
[-vlevel]
lnpd is a LinuX daemon that allows multiple clients to connect to a LEGO RCX running Markus L. Noga's famous BrickOS (formerly legOS) operating system and exchange messages using the LNP protocol.
A summary of options understood by lnpd
-d
Don't go into background
|
Extra wait time for lnp |
|---|---|
|
Run LNP at 4800 baud |
|
Enable logging to syslog or file |
|
Set max number of lnpd clients (default 16). |
|
Do not manage tty lockfiles. |
|
Daemon should listen on port {TCP_Port}. Default is port 7776. |
|
Run daemon in realtime mode. |
|
Use {tty_device}. Defaults to /dev/ttyS0. |
|
Enable enhanced logging. Valid levels are: d, l, i, a, and c. |
-h
Show similar help text at command-line.
-u
Show short usage message.
-V|--versionDisplay lnpd version
Mandatory or option arguments to long options are also mandatory or optional for any corresponding short options.
/dev/ttyS0
The default device for lnpd. (Also See -t: in OPTIONS, above).
/usr/share/doc/lnpd/examples/lnptest.c
sample BrickOS code to be built and downloaded to your RCX. This code allows you to quickly ascertain that the lnpd daemon is working with your RCX and lnpd installation.
/bin/lnptest
a simple test program which uses lnpd to communicate with the lnptest program downloaded into your RCX for testing with this program.
10 releases since Debian 3.1 (Sarge); the text changed 1 time.