26 void send(
const QByteArray &data)
override;
27 int read(
const QByteArray &data)
override;
Communicates with MSP processor over USB bus.
Definition: mspUsbInterface.h:22
void disconnect() override
Disconnect from MSP.
Definition: stubMspUsb.cpp:38
void send(const QByteArray &data) override
Send data to MSP.
Definition: stubMspUsb.cpp:21
bool connect() override
Establish connection with MSP over USB bus.
Definition: stubMspUsb.cpp:32
Empty implementation of MSP USB bus communicator. Only logs operations, returns 0 on all "read" calls...
Definition: stubMspUsb.h:23
Definition: brickFactory.h:21
int read(const QByteArray &data) override
Reads data by given MSP command number and returns the result.
Definition: stubMspUsb.cpp:26