|
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:
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
|
|
|
|