Subject:
|
Re: frame RCX reply how
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Fri, 31 Jan 2003 23:11:28 GMT
|
Viewed:
|
4232 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
> > Anybody know how to divide the bytes incoming
> > from the RCX IR replies into correct frames,
> > preferably using javax.comm on a Linux/Windows PC?
>
> From: "Brian B. Alano" <throwaway@insightbb.com>
> You might take apart javastorms:
> http:/www.javastorms.org
> They've implemented LNP using javax.comm.
Thanks for the link, but I meant only to be asking:
How do I make sense of RCX replies ...
... when the RCX is first powered and after I download Lego firmware.
Help? Curiously, cluelessly, thankfully yours, Pat LaVarre
P.S.
Do we have no natural language description of how to frame standard replies?
Maybe we could rephrase my question as how do I write a substitute for the
firmware download part of nqc, except that's not my intent. Rather than
downloading alternative firmware, I just want to speak the Lego IR protocol.
I suppose that includes downloading firmware, but I first want to just
duplicate the "download [byte code] program" function of the Lego RIS software.
So far all I can do is duplicate the write-only protocol of a Lego IR
remote. Now I want to tackle the reading of replies.
I found the immortal Kekoa's clear "RCX Internals" discussion of what the
payloads mean, but I haven't yet found talk of how to divide the input into
frames, despite all the noise in the channel. All I want is frames: from
there I can extract payloads.
P.P.S.
To decide the link to JavaStorms was fun but not conclusive, in my vast
newbie ignorance I had to work thru Six educational steps:
1) I added a '/' slash to form: http://www.javastorms.org
2) I say "fun" thanks because I see no mention of JavaStorms at:
http://www.google.com/search?q=java+lego+rcx
3) Google "rcx lnp" suggests LNP means "LegOS Network Protocol":
http://www.docs.uu.se/docs/undergrad/instances/spring2002/RTSystemDvpMnp/assignments/notes_on_lnp.html
4) Google "rcx legos" suggests:
http://legos.sourceforge.net/
which redirects since "18 July 2002" to:
http://brickos.sourceforge.net/
5) Wandering around the JavaStorms.org web site led to:
http://www.javastorms.org/download.htm
http://www.javastorms.org/data/javastorms-2.0.3.zip
(613,194 bytes)
6) I say "not conclusive" because I think that .zip says JavaStorms use
"util/nqc" to download the alternative firmware "LegOS" and only then talks
javax.comm. No?
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: frame RCX reply how
|
| I wish I could give you a direct answer, but I don't know. However, I suspect (as I'm sure you do) that what you are looking for has already been done. Below are three possible sources which you can adopt, co-opt, or reverse-engineer to get where (...) (21 years ago, 1-Feb-03, to lugnet.robotics.rcx)
|
Message is in Reply To:
16 Messages in This Thread: ![frame RCX reply how -Pat LaVarre (31-Jan-03 to lugnet.robotics.rcx)](/news/x.gif) ![](/news/246.gif) ![Re: frame RCX reply how -Brian B. Alano (31-Jan-03 to lugnet.robotics.rcx)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: frame RCX reply how -Brian B. Alano (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif) ![](/news/246.gif) ![framing RCX LNP replies in Java -Pat LaVarre (1-Feb-03 to lugnet.robotics.rcx.java)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: frame RCX reply how -Pat LaVarre (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: frame RCX reply how -Juergen Stuber (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif) ![](/news/246.gif) ![Re: frame RCX reply how -Pat LaVarre (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif) ![](/news/46.gif) ![Re: frame RCX reply how -Pat LaVarre (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: frame RCX reply how -Pat LaVarre (1-Feb-03 to lugnet.robotics.rcx.java)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: frame RCX reply how -Pat LaVarre (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif) ![](/news/46.gif) ![Re: frame RCX reply how -Mark Riley (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif) ![](/news/246.gif) ![Re: frame RCX reply how -Pat LaVarre (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif) ![](/news/46.gif) ![Re: frame RCX reply how -Mark Riley (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: frame RCX reply how -Mark Riley (1-Feb-03 to lugnet.robotics.rcx)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: frame RCX reply how -Pat LaVarre (2-Feb-03 to lugnet.robotics.rcx)](/news/x.gif)
- 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
|
|
|
|