Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
lnpdump(1)		 Lego Infrared Packet Monitor		    lnpdump(1)

       lnpdump - Packet	monitor	for Lego infrared communication

       lnpdump [ options ]

       lnpdump is a packet monitor that	decodes	transmissions from Lego	bricks
       that are	equipped with an infrared transceiver. A lego  tower  must  be
       connected to the	PC for this program to work.

       Below is	a summary of the lnpdump options:

       -a, --all
	      Dump data	of packets even	if they	are broken or cannot be	inter-

       -d DEVICE, --device=DEVICE
	      Set the device the Lego tower is connected to. If	this option is
	      not  present,  the device	name is	taken from the RCXTTY environ-
	      ment variable or the built-in default value in the given order.

       -f, --fast
	      Set the transmission speed to 4800 baud instead of 2400 baud.

       -h, --help
	      Show this	summary.

       -m N, --mask N
	      Set the host:port	bit mask value used to decode  LNP  addressing
	      layer  messages.	The default value is 0xf0 so that address 0x85
	      is decoded as 0x08:0x05 (host 8, port 5).

       -p, --noparity
	      Turn on legOS compatibility mode.	BrickOS/legOS Versions	before used a slightly different	serial protocol	(no parity bit
	      instead of odd parity).

       -r, --raw (implies --all)
	      Dump all received	data, including	 keepalive  bytes  and	broken
	      packets. However,	bytes that form	a valid	package	are still dis-
	      playd as a block.

       This program is based on	the lnphost library and	 should	 work  on  any
       posix  compilant	operating system. USB support is currently only	avail-
       able under Linux.

       Stephan Hohrmann	<>

       Copyright (C) 2004 Stephan Hohrmann.

       lnpdump is free software; you can redistribute it and/or	modify it  un-
       der  the	 terms	of  the	GNU General Public License as published	by the
       Free Software Foundation; either	version	2 of the License, or (at  your
       option) any later version.

       lnpdump	is distributed in the hope that	it will	be useful, but WITHOUT
       ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY  or
       FITNESS	FOR  A	PARTICULAR PURPOSE. See	the GNU	General	Public License
       for more	details.

       You should have received	a copy of the GNU General Public License along
       with  lnpdump;  if not, write to	the Free Software Foundation, Inc., 59
       Temple Place, Suite 330,	Boston,	MA 02111-1307 USA

       This is free software, released under the terms of the GNU General Pub-
       lic License.

Stephan	Hohrmann		 November 2004			    lnpdump(1)


Want to link to this manual page? Use this URL:

home | help