gnuradio::blks2impl::pkt::mod_pkts Class Reference

Wrap an arbitrary digital modulator in our packet handling framework. More...

List of all members.

Public Member Functions

def __init__
 Hierarchical block for sending packets.
def send_pkt
 Send the payload.


Detailed Description

Wrap an arbitrary digital modulator in our packet handling framework.

Send packets by calling send_pkt


Member Function Documentation

def gnuradio::blks2impl::pkt::mod_pkts::__init__ (   self,
  modulator,
  access_code = None,
  msgq_limit = 2,
  pad_for_usrp = True,
  use_whitener_offset = False 
)

Hierarchical block for sending packets.

Packets to be sent are enqueued by calling send_pkt. The output is the complex modulated signal at baseband.

Parameters:
modulator,: instance of modulator class (gr_block or hier_block2) modulator: complex baseband out
access_code,: AKA sync vector access_code: string of 1's and 0's between 1 and 64 long
msgq_limit,: maximum number of messages in message queue msgq_limit: int
pad_for_usrp,: If true, packets are padded such that they end up a multiple of 128 samples
use_whitener_offset,: If true, start of whitener XOR string is incremented each packet
See gmsk_mod for remaining parameters

def gnuradio::blks2impl::pkt::mod_pkts::send_pkt (   self,
  payload = '',
  eof = False 
)

Send the payload.

Parameters:
payload,: data to send payload: string


The documentation for this class was generated from the following file:

Generated on Thu Mar 5 09:03:56 2009 for GNU Radio 3.1.3 by  doxygen 1.5.8