To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 355
354  |  356
Subject: 
RE: LNP Repost
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 30 Jul 1999 13:02:05 GMT
Viewed: 
1154 times
  
Kekoa Proudfoot wrote:
Regarding the CRC, I would use a CRC8 unless practice shows that a CRC16 is
required.  I would look ahead to the day when a CRC16 is used and choose
the more important byte of the CRC16 to be the CRC8.  Tagging an extra byte
onto the end of a message can then be completely backwards compatible
assuming you write the software correctly.

I'm not sure you can construct a sensible CRC16 that has a CRC8 as one
byte.

I think Kekoa means that we should calculate the CRC16 and use only the
high byte in the message, to save space. If we then tag the low byte on
later, the old code expecting only the high byte won't break....

Cheers,

Ralph Hempel - P.Eng

------------------------------------------------------
The train stops at the train station,
The bus stops at the bus station,
So why am I sitting at a work station?
------------------------------------------------------
Reply to:      rhempel at bmts dot com
------------------------------------------------------



Message is in Reply To:
  Re: LNP Repost
 
(...) I'm not sure you can construct a sensible CRC16 that has a CRC8 as one byte. Cheers, Ben. -- (URL) grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first (...) (25 years ago, 30-Jul-99, to lugnet.robotics.rcx.legos)

21 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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