Anonymous
Not logged in
Talk
Contributions
Create account
Log in
RS-485
Search
Editing
High-Level Data Link Control
(section)
From RS-485
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
Edit source
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Structure== The contents of an HDLC frame are shown in the following table: {| class="wikitable" |- !Flag !Address !Control !Information !FCS !Flag |- |8 bits |8 or more bits |8 or 16 bits |Variable length, 8Γ''n'' bits |16 or 32 bits |8 bits |} Note that the end flag of one frame may be (but does not have to be) the beginning (start) flag of the next frame. Data is usually sent in multiples of 8 bits, but only some variants require this; others theoretically permit [[Data structure alignment|data alignments]] on other than 8-bit boundaries. The [[frame check sequence]] (FCS) is a 16-bit [[CRC-CCITT]] or a 32-bit [[CRC-32]] computed over the Address, Control, and Information fields. It provides a means by which the receiver can detect errors that may have been induced during the transmission of the frame, such as lost bits, flipped bits, and extraneous bits. However, given that the algorithms used to calculate the FCS are such that the probability of certain types of transmission errors going undetected increases with the length of the data being checked for errors, the FCS can implicitly limit the practical size of the frame. If the receiver's calculation of the FCS does not match that of the sender's, indicating that the frame contains errors, the receiver can either send a negative [[Acknowledge character|acknowledge]] packet to the sender, or send nothing. After either receiving a negative acknowledge packet or timing out waiting for a positive acknowledge packet, the sender can retransmit the failed frame. The FCS was implemented because many early communication links had a relatively high [[Bit error ratio|bit error rate]], and the FCS could readily be computed by simple, fast circuitry or software. More effective [[forward error correction]] schemes are now widely used by other protocols.
Summary:
Please note that all contributions to RS-485 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RS-485:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs