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 / 99
98  |  100
Subject: 
Re: Listening to IR via NQC
Newsgroups: 
lugnet.robotics.rcx, lugnet.robotics.rcx.nqc
Date: 
Thu, 23 Sep 1999 23:57:33 GMT
Viewed: 
2784 times
  
Matthew Miller <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)?

If I understand you correctly, then this is more difficult than it sounds,
because the IR tower shuts down after a few seconds after the PC stops
transmitting.  Things work fine if the PC initiates a conversation (e.g. by
asking the RCX to send it something), but if the RCX is the first one to
pipe up, then tower has to be awake at that time for the PC to hear
anything.

What you are asking for is otherwise possible.

I don't know of anybody that has attempted to write a program that keeps
the tower alive in anticipation of the RCX sending a message, although such
a program wouldn't be too hard write.  If this is the kind of program you
are looking for, then maybe (but doubtfully?) it has already been written
and whoever wrote it has kept quiet so far.

If this is not the kind of program you are looking for - i.e. you know that
the PC will send messages often enough to keep the tower alive - then I
believe most any of the programs for talking to the RCX will do.  But it
sounds like they are not good enough for you.

A common workaround is to have the PC occasionally poll the RCX to see if
it has anything new to send.  This way the PC starts all conversations, and
the RCX still gets to send messages (close to) when it needs them sent.

-Kekoa



Message has 1 Reply:
  Re: Listening to IR via NQC
 
(...) Yes, that is what I'm looking for. Unless anyone else knows of anything, I guess it's time to dive into the coding. :) (...) Yeah, that would work great. Does anyone have code that does this? (Don't want to reinvent the wheel...) I know of (...) (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