<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Longitudinal_redundancy_check</id>
	<title>Longitudinal redundancy check - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Longitudinal_redundancy_check"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Longitudinal_redundancy_check&amp;action=history"/>
	<updated>2026-05-15T09:31:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Longitudinal_redundancy_check&amp;diff=5785&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;In telecommunication, a '''longitudinal redundancy check''' (LRC), or '''horizontal redundancy check''', is a form of redundancy check that is applied independently to eac...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Longitudinal_redundancy_check&amp;diff=5785&amp;oldid=prev"/>
		<updated>2019-06-11T04:55:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In telecommunication, a &amp;#039;&amp;#039;&amp;#039;longitudinal redundancy check&amp;#039;&amp;#039;&amp;#039; (LRC), or &amp;#039;&amp;#039;&amp;#039;horizontal redundancy check&amp;#039;&amp;#039;&amp;#039;, is a form of &lt;a href=&quot;/index.php?title=Redundancy_check&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Redundancy check (page does not exist)&quot;&gt;redundancy check&lt;/a&gt; that is applied independently to eac...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In telecommunication, a '''longitudinal redundancy check''' (LRC), or '''horizontal redundancy check''', is a form of [[redundancy check]] that is applied independently to each of a parallel group of bit streams. The data must be divided into [[transmission block]]s, to which the additional check data is added.&lt;br /&gt;
&lt;br /&gt;
The term usually applies to a single [[parity bit]] per bit stream, calculated independently of all the other bit streams ([[BIP-8]]), although it could also be used to refer to a larger [[Hamming code]].&lt;br /&gt;
&lt;br /&gt;
This &amp;quot;extra&amp;quot; LRC word at the end of a block of data is very similar to [[checksum]] and [[Cyclic redundancy check|CRC]].&lt;br /&gt;
&lt;br /&gt;
== Optimal rectangular code ==&lt;br /&gt;
While simple longitudinal [[parity bit|parity]] can only [[error detection|detect]] errors, it can be combined with additional error-control coding, such as a [[transverse redundancy check]], to [[error correction|correct]] errors.&lt;br /&gt;
The [[transverse redundancy check]] is stored on a dedicated &amp;quot;parity track&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Whenever any single-bit error occurs in a transmission block of data, such two-dimensional parity checking, or &amp;quot;two-coordinate parity checking&amp;quot;,&lt;br /&gt;
enables the receiver to use the TRC to detect which byte the error occurred in, and the LRC to detect exactly which track the error occurred in, to discover exactly which bit is in error, and then correct that bit by flipping it.&lt;br /&gt;
&lt;br /&gt;
== Pseudocode ==&lt;br /&gt;
&lt;br /&gt;
International standard '''ISO 1155''' states that a longitudinal redundancy check for a sequence of bytes may be computed in [[software]] by the following algorithm:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
Set LRC = 0&lt;br /&gt;
For each byte b in the buffer&lt;br /&gt;
do&lt;br /&gt;
 Set LRC = (LRC + b) AND 0xFF&lt;br /&gt;
end do&lt;br /&gt;
Set LRC = (((LRC XOR 0xFF) + 1) AND 0xFF)&lt;br /&gt;
&amp;gt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which can be expressed as &amp;quot;the 8-bit two's-complement value of the sum of all bytes modulo 2&amp;gt;sup&amp;gt;8&amp;gt;/sup&amp;gt;&amp;quot; (&amp;gt;code&amp;gt;x AND 0xFF&amp;gt;/code&amp;gt; is equivalent to &amp;gt;code&amp;gt;x MOD 2&amp;gt;sup&amp;gt;8&amp;gt;/sup&amp;gt;&amp;gt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Many protocols use an XOR-based longitudinal redundancy check byte (often called [[block check character]] or BCC), including the [[serial line internet protocol]] (SLIP),&lt;br /&gt;
the [[IEC 62056]]-21 standard for electrical-meter reading, smart cards as defined in [[ISO/IEC 7816]], and the [[ACCESS.bus]] protocol.&lt;br /&gt;
&lt;br /&gt;
An 8-bit LRC such as this is equivalent to a [[cyclic redundancy check]] using the polynomial ''x''&amp;gt;sup&amp;gt;8&amp;gt;/sup&amp;gt; + 1, but the independence of the bit streams is less clear when looked at in that way.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://wikipedia.org/ http://wikipedia.org/]&lt;br /&gt;
&lt;br /&gt;
[[Category:Error-correcting codes]]&lt;br /&gt;
[[Category:Error-detecting codes]]&lt;br /&gt;
==See Also on BitcoinWiki==&lt;br /&gt;
* [[Carmel]]&lt;br /&gt;
* [[CheckitsReal]]&lt;br /&gt;
* [[Safe Haven]]&lt;br /&gt;
* [[FLOGmall]]&lt;br /&gt;
* [[Xmoneta]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>