17 #include <QtCore/QByteArray> 29 virtual void send(
const QByteArray &data) = 0;
32 virtual int read(
const QByteArray &data) = 0;
MspUsbInterface()=default
virtual int read(const QByteArray &data)=0
Reads data by given MSP command number and returns the result.
Communicates with MSP processor over USB bus.
Definition: mspUsbInterface.h:22
virtual ~MspUsbInterface()=default
virtual void send(const QByteArray &data)=0
Send data to MSP.
virtual bool connect()=0
Establish connection with MSP over USB bus.
Definition: brickFactory.h:21
virtual void disconnect()=0
Disconnect from MSP.