gr::digital::packet_headerparser_b
gr::sync_block
gnuradio/digital/packet_headerparser_b.h
std::shared_ptr< packet_headerparser_b > std::shared_ptr<packet_headerparser_b> gr::digital::packet_headerparser_b::sptr sptr gr::digital::packet_headerparser_b::sptr
sptr static sptr gr::digital::packet_headerparser_b::make (const gr::digital::packet_header_default::sptr &header_formatter) make gr::digital::packet_headerparser_b::make const gr::digital::packet_header_default::sptr & header_formatter

header_formatter

Header object. This should be the same as used for packet_headergenerator_bb.

sptr static sptr gr::digital::packet_headerparser_b::make (long header_len, const std::string &len_tag_key) make gr::digital::packet_headerparser_b::make long header_len const std::string & len_tag_key

header_len

Number of bytes per header

len_tag_key

Length Tag Key

Post header metadata as a PMT.

In a sense, this is the inverse block to packet_headergenerator_bb. The difference is, the parsed header is not output as a stream, but as a PMT dictionary, which is published to message port with the id "header_data".

The dictionary consists of the tags created by the header formatter object. You should be able to use the exact same formatter object as used on the Tx side in the packet_headergenerator_bb.

If only a header length is given, this block uses the default header format.

gr::basic_block
gr::block
gr::digital::packet_headerparser_b
gr::messages::msg_accepter
gr::msg_accepter
gr::sync_block
std::enable_shared_from_this< basic_block >
T
gr::basic_block
d_name
d_symbol_alias
d_symbol_name
d_input_signature
d_output_signature
d_debug_logger
d_logger
msg_queue
d_rpc_vars
d_message_subscribers
gr::block
d_max_output_buffer
d_min_output_buffer
d_pmt_done
d_system_port
gr::digital::packet_headerparser_b
gr::io_signature
gr::messages::msg_accepter
gr::msg_accepter
gr::sync_block
std::basic_string< Char >
std::deque< T >
elements
std::enable_shared_from_this< basic_block >
std::map< pmt::pmt_t, msg_queue_t, msg_queue_comparator >
keys
elements
std::shared_ptr< T >
ptr
std::shared_ptr< io_signature >
ptr
std::shared_ptr< logger >
std::shared_ptr< pmt_base >
std::string
std::vector< long >
std::vector< rpcbasic_sptr >
elements
p
- gr::digital::packet_headerparser_b
  _post
- gr::digital::packet_headerparser_b
  active_thread_priority
- gr::digital::packet_headerparser_b
  add_item_tag
- gr::digital::packet_headerparser_b
  add_item_tag
- gr::digital::packet_headerparser_b
  alias
- gr::digital::packet_headerparser_b
  alias_pmt
- gr::digital::packet_headerparser_b
  alias_set
- gr::digital::packet_headerparser_b
  alignment
- gr::digital::packet_headerparser_b
  allocate_buffer
- gr::digital::packet_headerparser_b
  allocate_detail
- gr::digital::packet_headerparser_b
  basic_block
- gr::digital::packet_headerparser_b
  basic_block
- gr::digital::packet_headerparser_b
  BLACK
- gr::digital::packet_headerparser_b
  blkd_input_timer_value
- gr::digital::packet_headerparser_b
  block
- gr::digital::packet_headerparser_b
  block
- gr::digital::packet_headerparser_b
  check_topology
- gr::digital::packet_headerparser_b
  clear_finished
- gr::digital::packet_headerparser_b
  color
- gr::digital::packet_headerparser_b
  consume
- gr::digital::packet_headerparser_b
  consume_each
- gr::digital::packet_headerparser_b
  d_blkd_input_timer_value
- gr::digital::packet_headerparser_b
  d_color
- gr::digital::packet_headerparser_b
  d_debug_logger
- gr::digital::packet_headerparser_b
  d_input_signature
- gr::digital::packet_headerparser_b
  d_logger
- gr::digital::packet_headerparser_b
  d_max_output_buffer
- gr::digital::packet_headerparser_b
  d_message_subscribers
- gr::digital::packet_headerparser_b
  d_min_output_buffer
- gr::digital::packet_headerparser_b
  d_name
- gr::digital::packet_headerparser_b
  d_output_signature
- gr::digital::packet_headerparser_b
  d_pmt_done
- gr::digital::packet_headerparser_b
  d_rpc_set
- gr::digital::packet_headerparser_b
  d_rpc_vars
- gr::digital::packet_headerparser_b
  d_setlock
- gr::digital::packet_headerparser_b
  d_symbol_alias
- gr::digital::packet_headerparser_b
  d_symbol_name
- gr::digital::packet_headerparser_b
  d_symbolic_id
- gr::digital::packet_headerparser_b
  d_system_port
- gr::digital::packet_headerparser_b
  d_unique_id
- gr::digital::packet_headerparser_b
  declare_sample_delay
- gr::digital::packet_headerparser_b
  declare_sample_delay
- gr::digital::packet_headerparser_b
  delete_head_nowait
- gr::digital::packet_headerparser_b
  detail
- gr::digital::packet_headerparser_b
  dispatch_msg
- gr::digital::packet_headerparser_b
  empty_handled_p
- gr::digital::packet_headerparser_b
  empty_handled_p
- gr::digital::packet_headerparser_b
  empty_p
- gr::digital::packet_headerparser_b
  empty_p
- gr::digital::packet_headerparser_b
  enable_update_rate
- gr::digital::packet_headerparser_b
  erase_msg
- gr::digital::packet_headerparser_b
  expand_minmax_buffer
- gr::digital::packet_headerparser_b
  finished
- gr::digital::packet_headerparser_b
  fixed_rate
- gr::digital::packet_headerparser_b
  fixed_rate_ninput_to_noutput
- gr::digital::packet_headerparser_b
  fixed_rate_noutput_to_ninput
- gr::digital::packet_headerparser_b
  forecast
- gr::digital::packet_headerparser_b
  general_work
- gr::digital::packet_headerparser_b
  get_iterator
- gr::digital::packet_headerparser_b
  get_msg_map
- gr::digital::packet_headerparser_b
  get_tags_in_range
- gr::digital::packet_headerparser_b
  get_tags_in_range
- gr::digital::packet_headerparser_b
  get_tags_in_window
- gr::digital::packet_headerparser_b
  get_tags_in_window
- gr::digital::packet_headerparser_b
  GREY
- gr::digital::packet_headerparser_b
  has_msg_handler
- gr::digital::packet_headerparser_b
  has_msg_port
- gr::digital::packet_headerparser_b
  history
- gr::digital::packet_headerparser_b
  identifier
- gr::digital::packet_headerparser_b
  input_signature
- gr::digital::packet_headerparser_b
  insert_tail
- gr::digital::packet_headerparser_b
  is_pc_rpc_set
- gr::digital::packet_headerparser_b
  is_rpc_set
- gr::digital::packet_headerparser_b
  is_set_max_noutput_items
- gr::digital::packet_headerparser_b
  is_unaligned
- gr::digital::packet_headerparser_b
  log_level
- gr::digital::packet_headerparser_b
  make
- gr::digital::packet_headerparser_b
  make
- gr::digital::packet_headerparser_b
  max_noutput_items
- gr::digital::packet_headerparser_b
  max_output_buffer
- gr::digital::packet_headerparser_b
  message_port_is_hier
- gr::digital::packet_headerparser_b
  message_port_is_hier_in
- gr::digital::packet_headerparser_b
  message_port_is_hier_out
- gr::digital::packet_headerparser_b
  message_port_pub
- gr::digital::packet_headerparser_b
  message_port_register_in
- gr::digital::packet_headerparser_b
  message_port_register_out
- gr::digital::packet_headerparser_b
  message_port_sub
- gr::digital::packet_headerparser_b
  message_port_unsub
- gr::digital::packet_headerparser_b
  message_ports_in
- gr::digital::packet_headerparser_b
  message_ports_out
- gr::digital::packet_headerparser_b
  message_subscribers
- gr::digital::packet_headerparser_b
  min_noutput_items
- gr::digital::packet_headerparser_b
  min_output_buffer
- gr::digital::packet_headerparser_b
  mp_relative_rate
- gr::digital::packet_headerparser_b
  msg_accepter
- gr::digital::packet_headerparser_b
  msg_queue
- gr::digital::packet_headerparser_b
  name
- gr::digital::packet_headerparser_b
  nitems_read
- gr::digital::packet_headerparser_b
  nitems_written
- gr::digital::packet_headerparser_b
  nmsgs
- gr::digital::packet_headerparser_b
  no_pc_rpc
- gr::digital::packet_headerparser_b
  notify_msg_neighbors
- gr::digital::packet_headerparser_b
  output_multiple
- gr::digital::packet_headerparser_b
  output_multiple_set
- gr::digital::packet_headerparser_b
  output_signature
- gr::digital::packet_headerparser_b
  pc_input_buffers_full
- gr::digital::packet_headerparser_b
  pc_input_buffers_full
- gr::digital::packet_headerparser_b
  pc_input_buffers_full_avg
- gr::digital::packet_headerparser_b
  pc_input_buffers_full_avg
- gr::digital::packet_headerparser_b
  pc_input_buffers_full_var
- gr::digital::packet_headerparser_b
  pc_input_buffers_full_var
- gr::digital::packet_headerparser_b
  pc_noutput_items
- gr::digital::packet_headerparser_b
  pc_noutput_items_avg
- gr::digital::packet_headerparser_b
  pc_noutput_items_var
- gr::digital::packet_headerparser_b
  pc_nproduced
- gr::digital::packet_headerparser_b
  pc_nproduced_avg
- gr::digital::packet_headerparser_b
  pc_nproduced_var
- gr::digital::packet_headerparser_b
  pc_output_buffers_full
- gr::digital::packet_headerparser_b
  pc_output_buffers_full
- gr::digital::packet_headerparser_b
  pc_output_buffers_full_avg
- gr::digital::packet_headerparser_b
  pc_output_buffers_full_avg
- gr::digital::packet_headerparser_b
  pc_output_buffers_full_var
- gr::digital::packet_headerparser_b
  pc_output_buffers_full_var
- gr::digital::packet_headerparser_b
  pc_throughput_avg
- gr::digital::packet_headerparser_b
  pc_work_time
- gr::digital::packet_headerparser_b
  pc_work_time_avg
- gr::digital::packet_headerparser_b
  pc_work_time_total
- gr::digital::packet_headerparser_b
  pc_work_time_var
- gr::digital::packet_headerparser_b
  post
- gr::digital::packet_headerparser_b
  processor_affinity
- gr::digital::packet_headerparser_b
  produce
- gr::digital::packet_headerparser_b
  relative_rate
- gr::digital::packet_headerparser_b
  relative_rate_d
- gr::digital::packet_headerparser_b
  relative_rate_i
- gr::digital::packet_headerparser_b
  remove_item_tag
- gr::digital::packet_headerparser_b
  remove_item_tag
- gr::digital::packet_headerparser_b
  replace_buffer
- gr::digital::packet_headerparser_b
  reset_perf_counters
- gr::digital::packet_headerparser_b
  rpc_set
- gr::digital::packet_headerparser_b
  sample_delay
- gr::digital::packet_headerparser_b
  set_alignment
- gr::digital::packet_headerparser_b
  set_blkd_input_timer_value
- gr::digital::packet_headerparser_b
  set_block_alias
- gr::digital::packet_headerparser_b
  set_color
- gr::digital::packet_headerparser_b
  set_detail
- gr::digital::packet_headerparser_b
  set_fixed_rate
- gr::digital::packet_headerparser_b
  set_history
- gr::digital::packet_headerparser_b
  set_input_signature
- gr::digital::packet_headerparser_b
  set_inverse_relative_rate
- gr::digital::packet_headerparser_b
  set_is_unaligned
- gr::digital::packet_headerparser_b
  set_log_level
- gr::digital::packet_headerparser_b
  set_max_noutput_items
- gr::digital::packet_headerparser_b
  set_max_output_buffer
- gr::digital::packet_headerparser_b
  set_max_output_buffer
- gr::digital::packet_headerparser_b
  set_min_noutput_items
- gr::digital::packet_headerparser_b
  set_min_output_buffer
- gr::digital::packet_headerparser_b
  set_min_output_buffer
- gr::digital::packet_headerparser_b
  set_msg_handler
- gr::digital::packet_headerparser_b
  set_output_multiple
- gr::digital::packet_headerparser_b
  set_output_signature
- gr::digital::packet_headerparser_b
  set_processor_affinity
- gr::digital::packet_headerparser_b
  set_relative_rate
- gr::digital::packet_headerparser_b
  set_relative_rate
- gr::digital::packet_headerparser_b
  set_tag_propagation_policy
- gr::digital::packet_headerparser_b
  set_thread_priority
- gr::digital::packet_headerparser_b
  set_unaligned
- gr::digital::packet_headerparser_b
  setup_pc_rpc
- gr::digital::packet_headerparser_b
  setup_rpc
- gr::digital::packet_headerparser_b
  shared_from_base
- gr::digital::packet_headerparser_b
  sptr
- gr::digital::packet_headerparser_b
  start
- gr::digital::packet_headerparser_b
  stop
- gr::digital::packet_headerparser_b
  symbol_name
- gr::digital::packet_headerparser_b
  symbolic_id
- gr::digital::packet_headerparser_b
  sync_block
- gr::digital::packet_headerparser_b
  sync_block
- gr::digital::packet_headerparser_b
  system_handler
- gr::digital::packet_headerparser_b
  tag_propagation_policy
- gr::digital::packet_headerparser_b
  tag_propagation_policy_t
- gr::digital::packet_headerparser_b
  thread_priority
- gr::digital::packet_headerparser_b
  to_basic_block
- gr::digital::packet_headerparser_b
  TPP_ALL_TO_ALL
- gr::digital::packet_headerparser_b
  TPP_CUSTOM
- gr::digital::packet_headerparser_b
  TPP_DONT
- gr::digital::packet_headerparser_b
  TPP_ONE_TO_ONE
- gr::digital::packet_headerparser_b
  unaligned
- gr::digital::packet_headerparser_b
  unique_id
- gr::digital::packet_headerparser_b
  unset_max_noutput_items
- gr::digital::packet_headerparser_b
  unset_processor_affinity
- gr::digital::packet_headerparser_b
  update_rate
- gr::digital::packet_headerparser_b
  vcolor
- gr::digital::packet_headerparser_b
  WHITE
- gr::digital::packet_headerparser_b
  work
- gr::digital::packet_headerparser_b
  WORK_CALLED_PRODUCE
- gr::digital::packet_headerparser_b
  WORK_DONE
- gr::digital::packet_headerparser_b
  work_return_t
- gr::digital::packet_headerparser_b
  ~basic_block
- gr::digital::packet_headerparser_b
  ~block
- gr::digital::packet_headerparser_b
  ~msg_accepter