To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 101
100  |  102
Subject: 
Re: Listening to IR via NQC
Newsgroups: 
lugnet.robotics.rcx, lugnet.robotics.rcx.nqc
Date: 
Fri, 24 Sep 1999 04:10:48 GMT
Viewed: 
2711 times
  
In article <slrn7ukr68.icq.mattdm@jadzia.bu.edu>, mattdm@mattdm.org wrote:

I know that NQC can send IR messages; can it -- or any other command-line
program -- listen to the IR port and dump any incoming messages to a file
(or stdout)?

You can sometimes fake it by sending "bad" codes in -raw mode with verbose
mode turned on (-v) and a long timeout (-t).

For example, to examine the Lego remote codes I kept typing this:

nqc -v -t 2000 -raw 10

Since I didn't have an RCX around it would keep trying (2 seconds between
tries) to send a "ping".  After each send it would dump out everything it
heard.  Not perfect, but enough for some hacking.

I'll try to add something more suitable for the next NQC release.

Dave Baum

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: Listening to IR via NQC
 
(...) Cool, that'd be great. What I'm looking for is: nqc -listen and then all IR messages sent by the RCX via SendMessage would get dumped, one per line, in decimal, to stdout. Additional parameters could make the format be comma-delimited, (...) (25 years ago, 24-Sep-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Listening to IR via NQC
 
I know that NQC can send IR messages; can it -- or any other command-line program -- listen to the IR port and dump any incoming messages to a file (or stdout)? (25 years ago, 23-Sep-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)

6 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR