serial gr_serial serial from gnuradio.serial import gr_serial as gr_serial gr_serial.HierBlock($port, $baud, $bytesize, $parity, $stopbits) IO Type type enum Num Inputs num_inputs 1 int Vec Length vlen 1 int Port port /dev/ttyUSB0 string Baud baud 9600 int Byte Size bytesize 8 int parity parity N string Stop Bits stopbits 1 int $num_inputs > 0 $vlen > 0 out $(str($type).split('_')[1]) $vlen Generic Serial Block implemented using pyserial > Port > Baud > Byte Size > Parity > Stop Bits