<block>
  <name>Packet Header Generator</name>
  <key>digital_packet_headergenerator_bb</key>
  <import>from gnuradio import digital</import>
  <make>digital.packet_headergenerator_bb($header_formatter, $len_tag_key)</make>
  <callback>set_header_formatter($header_formatter)</callback>
  <param>
    <name>Formatter Object</name>
    <key>header_formatter</key>
    <type>raw</type>
  </param>
  <param>
    <name>Length Tag Name</name>
    <key>len_tag_key</key>
    <value>"packet_len"</value>
    <type>string</type>
  </param>
  <sink>
    <name>in</name>
    <type>byte</type>
  </sink>
  <source>
    <name>out</name>
    <type>byte</type>
  </source>
</block>
