gr::satellites::varlen_packet_framer
gr::block
gr::satellites::varlen_packet_framer_impl
varlen_packet_framer.h
boost::shared_ptr< varlen_packet_framer > typedef boost::shared_ptr<varlen_packet_framer> gr::satellites::varlen_packet_framer::sptr sptr gr::satellites::varlen_packet_framer::sptr
sptr static sptr gr::satellites::varlen_packet_framer::make (const std::string &packet_key, int length_field_size, endianness_t endianness, bool use_golay, const std::vector< uint8_t > sync_word) make gr::satellites::varlen_packet_framer::make const std::string & packet_key int length_field_size endianness_t endianness bool use_golay const std::vector< uint8_t > sync_word

packet_key

tag key used to mark packets

length_field_size

size of the packet length header

endianness

header inserted msb or lsb

use_golay

compute 24-bit golay header from 12-bit length

sync_word

optional pre-header sync pattern

insert a packet length field into a tagged stream

input: stream of bits (unpacked bytes) with packet_len tags output: a tagged stream of bits containing field length + packet bits

This block prepends a packet length field into a tagged stream.

gr::block
gr::satellites::varlen_packet_framer
gr::satellites::varlen_packet_framer_impl
gr::block
gr::satellites::varlen_packet_framer
- gr::satellites::varlen_packet_framer
  make
- gr::satellites::varlen_packet_framer
  sptr