Re: Serial communication, detecting parity bits
- From: "David Schwartz" <davids@xxxxxxxxxxxxx>
- Date: Wed, 25 Jan 2006 13:29:12 -0800
"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
.
- Follow-Ups:
- Re: Serial communication, detecting parity bits
- From: Mattias Brändström
- Re: Serial communication, detecting parity bits
- References:
- Serial communication, detecting parity bits
- From: Mattias Brändström
- Re: Serial communication, detecting parity bits
- From: kobus
- Re: Serial communication, detecting parity bits
- From: Tauno Voipio
- Re: Serial communication, detecting parity bits
- From: Mattias Brändström
- Serial communication, detecting parity bits
- Prev by Date: Re: how to subscribe for linux kernel mailing list
- Next by Date: best way to determine disk connection type
- Previous by thread: Re: Serial communication, detecting parity bits
- Next by thread: Re: Serial communication, detecting parity bits
- Index(es):
Relevant Pages
|