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!
===S-frames (control)=== Supervisory Frames, or 'S-frames', are used for flow and error control whenever piggybacking is impossible or inappropriate, such as when a station does not have data to send. S-frames in HDLC '''do not''' have information fields, although some HDLC-derived protocols use information fields for "multi-selective reject". The S-frame control field includes a leading "10" indicating that it is an S-frame. This is followed by a 2-bit type, a poll/final bit, and a 3-bit sequence number. (Or a 4-bit padding field followed by a 7-bit sequence number.) The first (least significant) 2 bits mean it is an S-frame. All S frames include a P/F bit and a receive sequence number as described above. Except for the interpretation of the P/F field, there is no difference between a command S frame and a response S frame; when P/F is 0, the two forms are exactly equivalent. ====Receive Ready (RR)==== * Bit value = 00 (0x00 to match above table type field bit order<ref>{{Cite web|url=http://www.euclideanspace.com/coms/protocol/x25/link/f_types/index.htm#rr|title = X.25 frame types - Martin Baker}}</ref>) * Indicate that the sender is ready to receive more data (cancels the effect of a previous RNR). * Send this packet if you need to send a packet but have no I frame to send. * A primary station can send this with the P-bit set to solicit data from a secondary station. * A secondary terminal can use this with the F-bit set to respond to a poll if it has no data to send. ====Reject (REJ)==== * Bit value = 01 (0x08 to match above table type field bit order<ref>{{Cite web|url=http://www.euclideanspace.com/coms/protocol/x25/link/f_types/index.htm#rej|title = X.25 frame types - Martin Baker}}</ref>) * Requests immediate retransmission starting with N(R). * Sent in response to an observed sequence number gap; e.g. after seeing I1/I2/I3/I5, send REJ4. * Optional to generate; a working implementation may use only RR. ====Receive Not Ready (RNR)==== * Bit value = 10 (0x04 to match above table type field bit order<ref>{{Cite web|url=http://www.euclideanspace.com/coms/protocol/x25/link/f_types/index.htm#rnr|title = X.25 frame types - Martin Baker}}</ref>) * Acknowledge some packets but request no more be sent until further notice. * Can be used like RR with P bit set to solicit the status of a secondary station * Can be used like RR with F bit set to respond to a poll if the station is busy. ====Selective Reject (SREJ)==== * Bit value = 11 (0x0c to match above table type field bit order) * Requests retransmission of only the frame N(R). * Not supported by all HDLC variants. * Optional to generate; a working implementation may use only RR, or only RR and REJ.
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