Packet Encoder
blks2_packet_encoder
from grc_gnuradio import blks2 as grc_blks2
grc_blks2.packet_mod_$(type.fcn)(grc_blks2.packet_encoder(
samples_per_symbol=$samples_per_symbol,
bits_per_symbol=$bits_per_symbol,
access_code=$access_code,
pad_for_usrp=$pad_for_usrp,
),
payload_length=$payload_length,
)
Input Type
type
float
enum
Samples/Symbol
samples_per_symbol
int
Bits/Symbol
bits_per_symbol
int
Access Code
access_code
string
Pad for USRP
pad_for_usrp
enum
Payload Length
payload_length
0
int
in
$type
Packet encoder block, for use with the gnuradio modulator blocks: gmsk, dpsk, qam.
Access Code: string of 1's and 0's, leave blank for automatic.
Payload Length: 0 for automatic.
Bits/Symbol should be set accordingly:
gmsk -> 1
dbpsk -> 1
dqpsk -> 2
d8psk -> 3
qam8 -> 3
qam16 -> 4
qam64 -> 6
qam256 -> 8