10#ifndef INCLUDED_DIGITAL_PACKET_HEADER_DEFAULT_H
11#define INCLUDED_DIGITAL_PACKET_HEADER_DEFAULT_H
37 :
public std::enable_shared_from_this<gr::digital::packet_header_default>
40 typedef std::shared_ptr<packet_header_default>
sptr;
43 const std::string& len_tag_key =
"packet_len",
44 const std::string& num_tag_key =
"packet_num",
45 int bits_per_byte = 1);
73 const std::vector<tag_t>& tags = std::vector<tag_t>());
80 virtual bool header_parser(
const unsigned char* header, std::vector<tag_t>& tags);
83 const std::string& len_tag_key =
"packet_len",
84 const std::string& num_tag_key =
"packet_num",
85 int bits_per_byte = 1);
Calculates a CRC.
Definition: crc.h:33
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:83