Re: Serial communication, detecting parity bits




"Mattias Brändström" <"thebrasse at brasse dot org"> wrote in message
news:43d7ac54$0$487$cc7c7865@xxxxxxxxxxxxxxx

> The only thing I worried about now is what will happen if my the data
> stream contains the combination 0xff 0x00. How do I know that that
> combination is legitimate data and not a parity error?
>
> Maybe someone has a nice solution to this?

If your data stream contains the combination 0xff 0x00, it will be
encoded as 0xff 0xff 0x00. In fact, every 0xff in the data will be replaced
by two 0xff's.

DS


.



Relevant Pages

  • Re: Serial communication, detecting parity bits
    ... David Schwartz wrote: ... How do I know that that combination is legitimate data and not a parity error? ... If your data stream contains the combination 0xff 0x00, ...
    (comp.os.linux.development.system)
  • Re: check this one
    ... you can troll your boat down another stream.. ... Prev by Date: ...
    (rec.motorcycles.harley)
  • Re: check this one / attn: "Becky"
    ... > you can troll your boat down another stream.. ... I owe ya a few, ... Prev by Date: ...
    (rec.motorcycles.harley)
  • Re: do I use fopen or fsockopen to get an image as a stream of bytes?
    ... Andy Hassall wrote: ... >>How do I get an image like that, as a stream of bytes? ... I notice that IE renders the image as an image, when I echo just the ... Prev by Date: ...
    (comp.lang.php)
  • Testing Webcam/mic
    ... WMP URL http://172.200.33.70:1219/ ... How does it stream (sound) at your end? ... Prev by Date: ...
    (microsoft.public.windowsmedia.encoder)