gr::digital::crc_check
gr::block
gnuradio/digital/crc_check.h
std::shared_ptr< crc_check > typedef std::shared_ptr<crc_check> gr::digital::crc_check::sptr sptr gr::digital::crc_check::sptr
sptr static sptr gr::digital::crc_check::make (unsigned num_bits, uint64_t poly, uint64_t initial_value, uint64_t final_xor, bool input_reflected, bool result_reflected, bool swap_endianness, bool discard_crc=false, unsigned skip_header_bytes=0) make gr::digital::crc_check::make unsigned num_bits uint64_t poly uint64_t initial_value uint64_t final_xor bool input_reflected bool result_reflected bool swap_endianness bool discard_crc false unsigned skip_header_bytes 0

Build the CRC check block.

num_bits

CRC size in bits (must be a multiple of 8)

poly

CRC polynomial, in MSB-first notation

initial_value

Initial register value

final_xor

Final XOR value

input_reflected

true if the input is LSB-first, false if not

result_reflected

true if the output is LSB-first, false if not

swap_endianness

true if the CRC is stored as little-endian in the PDU, false if not

discard_crc

If true, the CRC is removed from the PDU before sending it to the output port. If false, the CRC is preserved in the output PDU.

skip_header_bytes

gives the number of header byte to skip in the CRC calculation

Check the CRC at the end of a PDU.

The CRC check block receives a PDU containing a CRC at its end, and checks whether the CRC is correct. The PDU is sent over the ok or fail output ports according to the result of this check. It can support any CRC whose size is a multiple of 8 bits between 8 and 64 bits.

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