GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
hdlc_deframer_bp.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2014 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef INCLUDED_DIGITAL_HDLC_DEFRAMER_BP_H
12 #define INCLUDED_DIGITAL_HDLC_DEFRAMER_BP_H
13 
14 #include <gnuradio/digital/api.h>
15 #include <gnuradio/sync_block.h>
16 
17 namespace gr {
18 namespace digital {
19 
20 /*!
21  * \brief HDLC deframer which takes in unpacked bits, and outputs PDU
22  * binary blobs. Frames which do not pass CRC are rejected.
23  *
24  * \ingroup pkt_operators_blk
25  *
26  */
28 {
29 public:
30  typedef std::shared_ptr<hdlc_deframer_bp> sptr;
31 
32  /*!
33  * \brief Return a shared_ptr to a new instance of digital::hdlc_deframer.
34  *
35  * \param length_min: Minimum frame size (default: 32)
36  * \param length_max: Maximum frame size (default: 500)
37  */
38  static sptr make(int length_min, int length_max);
39 };
40 
41 } // namespace digital
42 } // namespace gr
43 
44 #endif /* INCLUDED_DIGITAL_HDLC_DEFRAMER_BP_H */
HDLC deframer which takes in unpacked bits, and outputs PDU binary blobs. Frames which do not pass CR...
Definition: hdlc_deframer_bp.h:28
std::shared_ptr< hdlc_deframer_bp > sptr
Definition: hdlc_deframer_bp.h:30
static sptr make(int length_min, int length_max)
Return a shared_ptr to a new instance of digital::hdlc_deframer.
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29