Open
Conversation
Signed-off-by: Nick Vissers <[email protected]>
Signed-off-by: Nick Vissers <[email protected]>
Signed-off-by: Nick Vissers <[email protected]>
Signed-off-by: Nick Vissers <[email protected]>
bravl
approved these changes
Apr 1, 2025
|
|
||
| High-Level Data Link Control (HDLC) is a communication protocol used for transmitting data between devices in telecommunication and networking. Developed by the International Organization for Standardization (ISO), it is defined in the standard ISO/IEC 13239:2002. See[Wikipedia](https://en.wikipedia.org/wiki/High-Level_Data_Link_Control) for more information. | ||
|
|
||
| `libhdlc` is a small code-size C implementation of the HDLC communication protocol. The implementation has a low memory footprint, which makes it especially suitable for memory restricted microcontrollers (e.g., Cortex-M0+). |
Member
There was a problem hiding this comment.
If possible it would be nice to have a flash and memory footprint (average here). Same for libcobs actually but I forgot to comment that 😄
| HDLC_CONTROL_S_FRAME_CODE_RNR = 0x02, // Receive not ready | ||
| HDLC_CONTROL_S_FRAME_CODE_SREJ = 0x03 // Selective reject on frame N(R) | ||
| HDLC_CONTROL_S_FRAME_CODE_RR = 0x00, // Receiver ready to accept more I-frames | ||
| HDLC_CONTROL_S_FRAME_CODE_REJ = 0x01, // Go back N retransmission request for an I-frame |
Member
There was a problem hiding this comment.
Maybe "Reject, go back N ..."? The abbreviation is for Reject according to the spec.
| HDLC_CONTROL_S_FRAME_CODE_RR = 0x00, // Receiver ready to accept more I-frames | ||
| HDLC_CONTROL_S_FRAME_CODE_REJ = 0x01, // Go back N retransmission request for an I-frame | ||
| HDLC_CONTROL_S_FRAME_CODE_RNR = 0x02, // Receive not ready to accept more I-frames | ||
| HDLC_CONTROL_S_FRAME_CODE_SREJ = 0x03 // Selective retransmission request for an I-frame |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.