grc_gnuradio.blks2.packet.packet_decoder Class Reference

List of all members.

Public Member Functions

def __init__

Private Member Functions

def _recv_packet

Private Attributes

 _item_size_out
 _access_code
 _threshold
 _msgq_in
 _msgq_out


Detailed Description

Hierarchical block for wrapping packet-based demodulators.

Definition at line 143 of file packet.py.


Member Function Documentation

def grc_gnuradio.blks2.packet.packet_decoder.__init__ (   self,
  item_size_out,
  access_code = '',
  threshold = -1 
)

packet_demod constructor.

Parameters:
item_size_out the size of the output data stream in bytes
access_code AKA sync vector
threshold detect access_code with up to threshold bits wrong (-1 -> use default)

Definition at line 148 of file packet.py.

def grc_gnuradio.blks2.packet.packet_decoder._recv_packet (   self,
  ok,
  payload 
) [private]

Extract the payload from the packet and push onto message queue.

Parameters:
ok boolean ok
payload data received

Definition at line 185 of file packet.py.


Member Data Documentation

grc_gnuradio.blks2.packet.packet_decoder._item_size_out [private]

Definition at line 156 of file packet.py.

grc_gnuradio.blks2.packet.packet_decoder._access_code [private]

Definition at line 162 of file packet.py.

grc_gnuradio.blks2.packet.packet_decoder._threshold [private]

Definition at line 165 of file packet.py.

grc_gnuradio.blks2.packet.packet_decoder._msgq_in [private]

Definition at line 167 of file packet.py.

grc_gnuradio.blks2.packet.packet_decoder._msgq_out [private]

Definition at line 171 of file packet.py.


The documentation for this class was generated from the following file:
Generated on Sat Aug 23 02:00:12 2008 for GNU Radio Companion by  doxygen 1.5.4