21 #ifndef INCLUDED_TPMS_FIXED_LENGTH_FRAME_SINK_IMPL_H 22 #define INCLUDED_TPMS_FIXED_LENGTH_FRAME_SINK_IMPL_H 32 enum state_t { STATE_SYNC_SEARCH, STATE_HAVE_SYNC };
34 static const int MAX_PKT_LEN = 4096;
37 pmt::pmt_t d_message_port;
38 pmt::pmt_t d_attributes;
47 typedef std::vector<uint8_t> bits_t;
48 typedef std::list<bits_t> packets_t;
64 int work(
int noutput_items,
65 gr_vector_const_void_star &input_items,
66 gr_vector_void_star &output_items);
<+description of block+>
Definition: fixed_length_frame_sink.h:36
Definition: fixed_length_frame_sink_impl.h:29
~fixed_length_frame_sink_impl()
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
fixed_length_frame_sink_impl(int frame_length, pmt::pmt_t attributes)