expliot.core.protocols.hardware.serial

Package Contents

class expliot.core.protocols.hardware.serial.Serial

Bases: serial.Serial

Serial - A wrapper around pyserial’s Serial class

readfull(self, bsize=1)

Read from the serial device, bsize at a time and return the complete response. Please note if timeout is not set for the Serial object, then this method will block (on read) :param bsize: Size of buffer to pass to read() method :return: bytes containing the complete response from the serial device