HDLC Deframer: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(add Example Flowgraph)
(Add links to source code and clarify that the deframer performs the bit destuffing)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
HDLC deframer which takes in unpacked bits, and outputs PDU binary blobs. Frames which do not pass CRC are rejected.
HDLC deframer which takes in unpacked bits, and outputs PDU binary blobs. Frames which do not pass CRC are rejected. This block also unstuffs the bits in the HDLC frame.
 
This block goes with [[HDLC Framer]]
This block goes with [[HDLC Framer]]


Line 19: Line 18:


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/hdlc_deframer_bp_impl.cc hdlc_deframer_bp_impl.cc]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/hdlc_deframer_bp_impl.h hdlc_deframer_bp_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/include/gnuradio/digital/hdlc_deframer_bp.h hdlc_deframer_bp.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/grc/digital_hdlc_deframer_bp.block.yml digital_hdlc_deframer_bp.block.yml]

Revision as of 14:50, 5 October 2023

HDLC deframer which takes in unpacked bits, and outputs PDU binary blobs. Frames which do not pass CRC are rejected. This block also unstuffs the bits in the HDLC frame. This block goes with HDLC Framer

Parameters

Min length
Minimum frame size (bytes)
Max length
Maximum frame size (bytes)

Example Flowgraph

Hdlc demo fg.png

Source Files

C++ files
hdlc_deframer_bp_impl.cc
Header files
hdlc_deframer_bp_impl.h
Public header files
hdlc_deframer_bp.h
Block definition
digital_hdlc_deframer_bp.block.yml