To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 844
843  |  845
Subject: 
Re: NRLink reading RCX response w/ RobotC
Newsgroups: 
lugnet.robotics.nxt
Date: 
Fri, 3 Aug 2007 01:02:09 GMT
Viewed: 
27360 times
  
> The best way to understand the format of RCX IR messages is to
> download the RCX SDK from the LEGO web site and read the documentation
> in it. Here's a few pointers on the basics.
> 
> Every message is prefixed by optional header bytes which begin with
> 00, FF, or 55. There can be an unlimited number of header bytes.
> Normally there are 3 and they are 55, FF, 00 but if a byte is dropped,
> etc you can get a different quantity. Or you can customize the RCX
> firmware -- it's a simple byte-value parameter -- to set the number of
> prefix bytes.

I downloaded the SDK from http://mindstorms.lego.com/sdk2point5/ but can't find
any reference to the message format.  Perhaps this is the wrong SDK?  I've
looked in all the doc .pdf files and skimmed everything else.  I sure am having
a hard time locating things.

> Every message is prefixed by optional header bytes which begin with
> 00, FF, or 55. There can be an unlimited number of header bytes.
> Normally there are 3 and they are 55, FF, 00 but if a byte is dropped,
> etc you can get a different quantity. Or you can customize the RCX
> firmware -- it's a simple byte-value parameter -- to set the number of
> prefix bytes.
> 
> So message should begin with the first non-zero prefix byte.

So what happens if the message actually begins with a header byte or a zero, say
FF or 00?  It seems to be very difficult to determine exactly where the prefix
header ends.



Message has 1 Reply:
  RE: NRLink reading RCX response w/ RobotC
 
(...) Look at the file "RCX2 LASM Byte Codes" for a description of each of the available opcodes. Read (URL) coupled with the contents of my previous email. (...) No valid message starts with with 'opcode' byte of '00' or 'FF'. [Check out the above (...) (19 years ago, 3-Aug-07, to lugnet.robotics.nxt)

Message is in Reply To:
  RE: NRLink reading RCX response w/ RobotC
 
(...) I couldn't find it either, but its out there somewhere. (...) Agreed. It started as a internal debugging tool and was left visible for the small handful of power users who write their own I2C device drivers. (...) Agreed. I went back and (...) (19 years ago, 2-Aug-07, to lugnet.robotics.nxt)

8 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
    

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