Subject:
|
Building and decoding messages
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 21 Feb 2000 23:14:43 GMT
|
Viewed:
|
753 times
|
| |
| |
Hiya,
Well, I'm back to my RCX message decoder project. But, I have a question.
I know of the serial protocol for the individual data bytes, but I'm curious
about the packet level checksum. A packet (for a message) looks like this:
55 FF 00 F7 08 <data> <~data> CS ~CS
Using the message $12...
If I add the bytes (mod FF) I get FF + F7 + 12, I get 08, but 09 is the
correct checksum. Does this mean that the CS is Sum(bytes)+1?
I was unable to find the answer to this on the "LEGO Internals" page, but I
may be looking in the wrong place for this bit of obscure data.
thanks,
DLC
|
|
Message has 1 Reply:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|