Public Member Functions | |
def | __init__ |
Hierarchical block for sending packets. | |
def | send_pkt |
Send the payload. |
Send packets by calling send_pkt
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.
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 |
def gnuradio::blks2impl::pkt::mod_pkts::send_pkt | ( | self, | ||
payload = '' , |
||||
eof = False | ||||
) |
Send the payload.
payload,: | data to send payload: string |