GNU Radio Manual and C++ API Reference
3.9.1.0
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
*/
27
class
DIGITAL_API
hdlc_deframer_bp
:
virtual
public
gr::sync_block
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 */
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
DIGITAL_API
#define DIGITAL_API
Definition:
gr-digital/include/gnuradio/digital/api.h:18
sync_block.h
api.h
gr::digital::hdlc_deframer_bp
HDLC deframer which takes in unpacked bits, and outputs PDU binary blobs. Frames which do not pass CR...
Definition:
hdlc_deframer_bp.h:27
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr::digital::hdlc_deframer_bp::sptr
std::shared_ptr< hdlc_deframer_bp > sptr
Definition:
hdlc_deframer_bp.h:30
gr-digital
include
gnuradio
digital
hdlc_deframer_bp.h
Generated by
1.8.17